Redirect from plugin page to a custom URL filter - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com2013-05-20T12:00:07Zhttp://fogbugz.stackexchange.com/feeds/question/10846http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://fogbugz.stackexchange.com/questions/10846/redirect-from-plugin-page-to-a-custom-url-filterRedirect from plugin page to a custom URL filterIan2012-10-05T20:26:49Z2012-10-29T08:39:48Z
<p>Hi,</p>
<p>I am building a calendar plugin for FogBugz. One of the items displayed on the calendar is uncompleted milestones. When the user clicks on a milestone, I want to show all of the associated cases in the List Cases page. I would like to do this all from the URL (so I can throw it in an href) rather than saving a custom filter because then I have to hard-code the filter index. Something like the following would be great:</p>
<p>http://[your_fogbugz]/default.asp?pgx=[something]&ixFixFor=[ixFixFor]</p>
<p>Is this possible?
Thanks,
Ian</p>
http://fogbugz.stackexchange.com/questions/10846/redirect-from-plugin-page-to-a-custom-url-filter/10849#10849Answer by Michel de Ruiter for Redirect from plugin page to a custom URL filterMichel de Ruiter2012-10-08T07:17:07Z2012-10-29T08:39:48Z<p>Above the cases list, click <strong>More</strong> then <strong>Permanent Link</strong>. It produces a filter URL like this:</p>
<pre><code><yourserverurl>/default.asp?pre=preSaveFilter&fOpenBugs=ON&ixProject=4&ixFixFor=10&sort1=-1&sort2=-1&sort3=-1&fGridView=1&sView=grid-outline&iTypeOrder=1,29,2,23,4,22,6,7,16
</code></pre>
<p>Just try it out!</p>
<p>When you use 'search' instead of filtering, it looks like this:</p>
<pre><code><yourserver>/default.asp?pg=pgList&searchFor=project%3a%22yourproject%22%20milestone%3a%22yourmilestone%22&search=1
</code></pre>
<p>Searching will not change your user filter.</p>
<p>Use the <a href="http://fogbugz.stackexchange.com/fogbugz-xml-api" rel="nofollow">XML API</a> (with the <strong>cols</strong> <a href="http://blog.fogcreek.com/an-api-tutorial-plus-excel-2007-export-plus-zombies/" rel="nofollow">parameter</a>) to specify columns returned by a search.</p>