Example Code
<form action="http://www.metroeguide.net/meg_search/Search" method="get" target="_blank">
<p align="center">
<input type="text" name="q" />
<input type="hidden" name="clientId" value="459" />
<input type="hidden" name="f" value="51,414,500"/>
<input type="submit" value="Search" />
</p>
</form>
- Client Id
Example: <input type="hidden" name="clientId" value="459" />
This line controls what client id to use for the search (this only effects how the link pages are displayed)
-
Folder Id
Example:
<input type="hidden" name="f" value="51,414,500"/>
This line is contains the comma seperated list of folder ids that should be searched, in this case folders 51, 414 and 500
-
Page Format
Example:
<input type="hidden" name="pageFmt" value="http://pageFormatUrl/{pageid}/{clientid}" />
This is an optional line that can be used to override the default page that is shown when click on page links.
The default page link is
http://metroeguide.net/iLinks/LinkPage.aspx#!/{clientid}/{pageid}
. The{clientid}
in the url will be replaced with the real client id and the{pageid}
will be replaced with the page id being clicked.The use case for this would be if you wanted to use the search with the iLinks format, or the metroeguide format, or schools eguide.