# Pre-Populating Search Fields

### Self Service Portal Knowledge Search <a href="#top" id="top"></a>

The Knowledge Search page in the Self Service Portal can be pre-populated by appending parameters to the basic Knowledge Search URL:

URL: http\://\<server\_name>/\<virtual\_directory>/portal.aspx\&Form=KnowledgeSearchCriteri&#x61;**\<additional parameters here>**

| Parameter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>BTN\_SEARCH</strong></p><p>\&BTN\_SEARCH=Search</p><p></p><p><strong>Example 1</strong><br>\&BTN\_SEARCH=Search</p><p></p><p><strong>Example 2</strong><br>\&Type\_List=501,503\&BTN\_SEARCH=Search</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | <p>Add BTN\_SEARCH=Search to the URL to automatically run the search. Users will be taken directly to the results page.</p><p>If the URL does not contain this parameter, users are taken to the search criteria page where they will need to manually select the Search button.</p><p><strong>Example 1</strong> opens the Knowledge Search Results page with a list of all knowledge articles published to the Portal. This is equivalent to clicking Search without having specified any search options.</p><p><strong>Example 2</strong> opens the Knowledge Search Results page with a list of all FAQ and Known Issue knowledge entries published to the Portal.</p>                                          |
| <p><strong>Type\_List</strong></p><p>\&Type\_List=\<type\_ref>,\<type\_ref></p><ul><li>where \<type\_ref> is the unique reference of the knowledge type</li></ul><p><strong>Example:</strong> \&Type\_List=501,503</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | <p>Use this parameter to specify the knowledge type in the URL, such as FAQ or Call. The TYPE\_LIST parameter can have multiple comma separated values.</p><p>The example URL opens the Knowledge Search criteria page with the Known Issues and FAQ checkboxes already selected.</p><p>The unique reference is found in ENTITY\_TYPE.KB\_BASE\_TYPE in the database.</p><p>The following values are the default values for each knowledge type, these values may differ in non-standard databases:</p><ul><li>500 = Abstract</li><li>502 = Call</li><li>501 = FAQ</li><li>503 = Known issue</li><li>505 = Physical directory</li><li><strong>504</strong> = URL / Website</li></ul>                                |
| <p><strong>KnowledgeTemplate</strong></p><p>\&KnowledgeTemplate=\<kbtemplate></p><ul><li>where \<kbtemplate> is the page template</li></ul><p><em>\&KnowledgeTemplate=FAQ</em></p><p></p><p><mark style="color:red;background-color:blue;">If appending BTN\_Search=Search to the example URL, the search results display automatically and include </mark><em><mark style="color:red;background-color:blue;">all</mark></em><mark style="color:red;background-color:blue;"> knowledge articles, not just FAQ.</mark> </p><p></p><p><mark style="color:red;background-color:blue;">To ensure articles of the correct type are returned when automating the search, include the <strong>Type\_List</strong> parameter.</mark></p>                                                                                                                                                                                                                                                                                               | <p>Use this parameter to specify a non-default template for the knowledge search criteria page. The FAQ and KnownIssues templates display the heading as FAQ or Known Issues respectively, and offer different search options.</p><p>The default knowledge search criteria template is LiteKnowledgeSearchResults.htm</p><p>The example URL opens the FAQ Knowledge Search criteria page. selecting Search on that window returns FAQ knowledge articles only.</p><p>Search criteria templates exist in the system folder on the server.</p><p>The following values can be passed to this parameter:</p><ul><li>FAQ = FAQ search criteria window</li><li>KnownIssues = Known Issue search criteria window</li></ul> |
| <p><strong>Format\_Template</strong></p><p>&<strong>Format\_Template=\<format\_file></strong></p><ul><li>where \<format\_file> is the file name of the format template</li></ul><p>&<strong>Format\_Template=FormatLiteFAQ</strong>&<strong>KnowledgeTemplate=FAQ</strong></p><p></p><p>As shown in the example, when using <strong>Format\_Template</strong>, you must append a compatible <strong>KnowledgeTemplate</strong> parameter otherwise formatting issues may occur.<br></p><p>The default KnowledgeTemplate is not compatible with all format templates.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                       | <p>Use this parameter to specify a non-default template for the search results page. These templates control the format of the rows in the results.</p><p>The default knowledge results format template is FormatKnowledgeSearchLite.ifmt</p><p>The example URL displays results using the format defined for FAQs.</p><p>The templates are found in the Format folder under the system folder on the server.</p><p>Templates that ship with the application:</p><ul><li>FormatLiteFAQ.ifmt</li><li>FormatLiteKnownIssues.ifmt</li><li>FormatKnowledgeSearchLiteSimple.ifmt</li></ul>                                                                                                                               |
| <p><strong>Search\_Query</strong></p><p>&<strong>Search\_Query=\<text></strong></p><ul><li>where \<text> is the text to search on</li></ul><p>&<strong>Search\_Query=broken laptop screen</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | <p>Use this parameter to populate the Search Text field on the search window.</p><p>The example URL opens the knowledge search criteria window with the words “broken laptop screen” in the Search Text field.</p><p>This parameter can be blank.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <p><strong>All\_Words</strong></p><p>&<strong>All\_Words=\<Y/N></strong></p><ul><li>where \<Y/N> is the flag indicating whether to include all words or any words</li></ul><p>&<strong>All\_Words=N</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | <p>Use this parameter to enable one of the Search Text options on the search window.</p><p>The default selection is All Words.</p><p>The example URL opens the knowledge search criteria window with the Any Words option selected.</p><p>Options available:</p><ul><li>Y = All Words is selected</li><li>N = Any Words is selected</li></ul>                                                                                                                                                                                                                                                                                                                                                                       |
| <p><strong>Text\_Search\_Type</strong></p><p>&<strong>Text\_Search\_Type=\<type></strong></p><ul><li>where \<type> is the type of text search to run</li></ul><p>&<strong>Text\_Search\_Type=R</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | <p>Use this parameter to enable one of the Search Type options on the search window.</p><p>The default selection is Exact.</p><p>The example URL opens the knowledge search criteria window with the Regular Expression option selected.</p><p>Options available:</p><ul><li>X = Exact</li><li>S = Related</li><li>R = Regular Expression</li></ul>                                                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>Article\_Ref</strong></p><p>&<strong>Article\_Ref=\<number>,\<number></strong></p><ul><li>where \<number> is the knowledge article number</li></ul><p>&<strong>Article\_Ref=32,17</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | <p>Use this parameter to populate the Article Numbers field on the search window. This parameter can have multiple comma separated values.</p><p>Article numbers are visible on the Knowledge Details in ASM Core.</p><p>The example URL opens the knowledge search criteria window with 32,17 already entered.</p>                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>Profile\_Ref</strong></p><p>&<strong>Profile\_Ref=\<prof\_ref></strong></p><ul><li>where \<prof\_ref> is the unique reference of the knowledge profile</li></ul><p>&<strong>Profile\_Ref=32</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | <p>Use this parameter to populate the Profile field on the search window, which is a tiered list.</p><p>The example URL opens the Knowledge Search criteria page with the profile value Process/HR already selected, which is the NAME value for REF 32 in the database.</p><p>Knowledge Profiles are created in System Admin.</p><p>The unique reference is found in REF.KB\_PROFILE in the database.</p>                                                                                                                                                                                                                                                                                                          |
| <p><strong>CMDB\_Item\_Ref</strong></p><p>&<strong>CMDB\_Item\_Ref=\<item\_ref></strong></p><ul><li>where \<item\_ref> is the unique reference of the CMDB item</li></ul><p>&<strong>CMDB\_Item\_Ref=32</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | <p>Use this parameter to populate the CMDB Item field on the search window.</p><p>The example URL opens the Knowledge Search criteria page with the CMDB Item Email Server already selected, which is the name value for REF 32 in the database.</p><p>CMDB Items are created in ASM Core.</p><p>The unique reference is found in ITEM\_REF.AR\_PRIMARY\_ASSET in the database.</p>                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>Ref\_Composite</strong></p><p>&<strong>Ref\_Composite=\<problem\_type></strong></p><ul><li>where <strong>\<problem\_type></strong> is the unique reference of the Type tiered list value</li></ul><p>&<strong>Ref\_Composite=32</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | <p>Use this parameter to populate the Type field on the search window, which is a tiered list.</p><p>The example URL opens the Knowledge Search criteria page with the Type value Payroll/Expenses already selected, which is the NAME value for REF 32 in the database.</p><p>Types are created in System Admin.</p><p>The unique reference is found in REF.CL\_PROBLEM\_TYPE in the database.</p>                                                                                                                                                                                                                                                                                                                 |
| <p><strong>Update\_Date\_Day</strong></p><p>&<strong>Update\_Date\_Day=\<day></strong></p><ul><li>where \<day> is numerical day of the month</li></ul><p>&<strong>Update\_Date\_Day=12</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | <p>Use this parameter to populate the day (dd) value in the Updated Since date picker field on the search window.</p><p>The example URL opens the Knowledge Search criteria page with 12 already selected in the day (dd) portion of the Updated Since field.</p><p>Up to 2 digits are accepted.</p>                                                                                                                                                                                                                                                                                                                                                                                                                |
| <p><strong>Update\_Date\_Month</strong></p><p>&<strong>Update\_Date\_Month=\<month></strong></p><ul><li>where \<month> is numerical month</li></ul><p>&<strong>Update\_Date\_Month=10</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | <p>Use this parameter to populate the month (MM) value in the Updated Since date picker field on the search window.</p><p>The example URL opens the Knowledge Search criteria page with 10 already selected in the month (MM) portion of the Updated Since field.</p><p>Up to 2 digits are accepted, between 1 and 12.</p>                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><strong>Update\_Date\_Year</strong></p><p>&<strong>Update\_Date\_Month=\<year></strong></p><ul><li>where \<year> is the year</li></ul><p>&<strong>Update\_Date\_Year=2016</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | <p>Use this parameter to populate the year (yyyy) value in the Updated Since date picker field on the search window.</p><p>The example URL opens the Knowledge Search criteria page with 2016 already selected in the year (yyyy) portion of the Updated Since field.</p><p>Up to 4 digits are accepted, between 1900 and 3000.</p>                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>Update\_Date\_Day,  Update\_Date\_Year, Update\_Date\_Month</strong></p><p></p><p>\&Update\_Date\_Day=12\&Update\_Date\_Year=2016\&Update\_Date\_Month=10</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | <p>Use these parameters in combination to populate the <strong>Updated Since</strong> field on the search window.</p><p>The example URL opens the Knowledge Search criteria page with 12/10/2016 already selected.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <p><strong>Knowledge\_Order\_By</strong></p><p>&<strong>Knowledge\_Order\_By=\<order></strong></p><ul><li>where \<order> is the type of sorting to apply to the search results</li></ul><p><strong>Example 1:</strong><br>&<strong>Knowledge\_Order\_By=\_rating</strong></p><p></p><p><mark style="color:red;background-color:blue;">When appending <strong>BTN\_SEARCH=Search</strong> to the URL, some of the Sort By options will not sort the results unless additional criteria is added to the URL.</mark> </p><p></p><p><mark style="background-color:blue;">This reflects Portal Knowledge Search behavior. Refer to the examples below.</mark></p><p></p><p><strong>Example 2</strong> – returns an unsorted list of all knowledge articles:</p><p><br>\&Knowledge\_Order\_By=\_rating\&BTN\_SEARCH=Search</p><p></p><p><strong>Example 3</strong> – returns a sorted list of knowledge articles containing the text “email”:</p><p><br>\&Search\_Query=email\&Knowledge\_Order\_By=\_rating\&BTN\_SEARCH=Search</p> | <p>Use this parameter to populate the Sort By parameter on the search window.</p><p>The default selection is Search Score (\_rank).</p><p>The URL in example 1 opens the knowledge search criteria window with Rating already selected.</p><p>Options available:</p><ul><li>\_rank = Search Score</li><li>\_rating = Rating</li><li><strong>last\_updated desc</strong> = Most Recent</li><li><strong>profile\_name</strong> = Profile</li><li><strong>document\_title asc</strong> = Title</li></ul><p>The space in the last two options is intentional and represents descending vs ascending.</p>                                                                                                                |

### Incident Search <a href="#incident" id="incident"></a>

The Review Past/Current Incidents window can be pre-populated by appending parameters to the basic Incident search URL.

URL: http\://\<server\_name>/\<virtual\_directory>/portal.aspx&**Form=CallSearchCriteria\<additional parameters here>**

<table data-header-hidden><thead><tr><th width="369"></th><th></th></tr></thead><tbody><tr><td>Parameter</td><td>Description</td></tr><tr><td><p><strong>Incident_Owner</strong></p><p>&#x26;<strong>Incident_Owner=&#x3C;owner_flag></strong></p><ul><li>where <strong>&#x3C;owner_flag></strong> represents whether to search all incidents, org incidents, or the user’s incidents only</li></ul><p>&#x26;<strong>Incident_Owner=O</strong></p></td><td><p>Use this parameter to pre-select one of the options of the Search within field on the search window, which is a set of radio options.</p><p>The default selection is Your Incidents.</p><p>The example URL opens the Review Past/Current Incidents criteria page with the Search Within option Your  Organization’s Incidents already selected.</p><p>Options available:</p><ul><li>Y = Your Incidents</li><li>O = Your Organization’s Incidents</li><li>A = All Incidents</li></ul></td></tr><tr><td><p><strong>Call_Numbers</strong></p><p>&#x26;<strong>Call_Numbers=&#x3C;number>,&#x3C;number></strong></p><ul><li>where &#x3C;number> is the Incident number</li></ul><p>&#x26;<strong>Call_Numbers=10,15</strong></p></td><td><p>Use this parameter to populate the Incident No field on the search window. This parameter can have multiple comma separated values.</p><p>The example URL opens the Review Past/Current Incidents criteria page with values <strong>10,15</strong> already entered.</p><p>Incident numbers are visible on the Incident Details window in ASM Core.</p></td></tr><tr><td><p><strong>Status</strong></p><p>a&#x26;<strong>Status=&#x3C;status></strong></p><ul><li>where &#x3C;status> represents whether to search all incidents, org incidents, or the user’s incidents only</li></ul><p>&#x26;<strong>Status=1</strong></p></td><td><p>Use this parameter to pre-select one of the options of the Incident State field on the search window, which is a set of radio options.</p><p>The default selection is Open Incidents.</p><p>The example URL opens the Review Past/Current Incidents criteria page with the Incident State value Resolved &#x3C; 1 Week already selected.</p><p>Options available:</p><ul><li>0 = Open Incidents</li><li>1 = Resolved &#x3C; 1 Week</li><li>4 = Resolved &#x3C; 4 Weeks</li></ul></td></tr><tr><td><p><strong>Text_Search</strong></p><p>&#x26;<strong>Text_Search=&#x3C;text></strong></p><ul><li>where &#x3C;text> is the text to search on</li></ul><p>&#x26;<strong>Text_Search=broken laptop screen</strong></p></td><td><p>Use this parameter to populate the Text Search field on the search window.</p><p>The example URL opens the Review Past/Current Incidents criteria page with the words “broken laptop screen” in the Text Search field.</p><p>This parameter can be blank.</p></td></tr><tr><td><p><strong>Service_Ref</strong></p><p>&#x26;<strong>Service_Ref=&#x3C;service_ref></strong></p><ul><li>where &#x3C;service_ref> is the unique reference of the Service item</li></ul><p>&#x26;<strong>Service_Ref=22</strong></p></td><td><p>Use this parameter to populate the Service field on the search window.</p><p>The example URL opens the Review Past/Current Incidents criteria page with the Service Consulting already selected, which is the name value for REF <strong>22</strong> in the database.</p><p>Services are created in ASM Core.</p><p>The unique reference is found in ITEM_REF.AR_PRIMARY_ASSET in the database.</p></td></tr><tr><td><p><strong>Ref_Composite</strong></p><p>&#x26;<strong>Ref_Composite=&#x3C;ref_comp></strong></p><ul><li>where &#x3C;ref_comp> is the unique reference of the Type tiered list value</li></ul><p>&#x26;<strong>Ref_Composite=22</strong></p></td><td><p>Use this parameter to populate the Type field on the search window, which is a tiered list.</p><p>The example URL opens the Review Past/Current Incidents criteria page with the Type value Payroll/Expenses already selected, which is the name value for REF <strong>22</strong> in the database.</p><p>Types are created in System Admin.</p><p>The unique reference is found in REF.CL_PROBLEM_TYPE in the database.</p></td></tr><tr><td><p><strong>Call_Priority</strong></p><p>&#x26;<strong>Call_Priority=&#x3C;priority_ref></strong></p><ul><li>where &#x3C;priority_ref> is the unique reference of the Priority value you want to select</li></ul><p>&#x26;<strong>Call_Priority=3</strong></p></td><td><p>Use this parameter to populate the Priority field on the search window, which is a dropdown list.</p><p>The example URL opens the Review Past/Current Incidents criteria page with the Priority High already selected, which is the name value for REF 3 in the database.</p><p>Priorities are created in System Admin.</p><p>The unique reference is found in REF.SU_CALL_PRIORITY in the database.</p></td></tr><tr><td><p><strong>Date_From</strong></p><p>&#x26;<strong>Date_From=&#x3C;date></strong></p><ul><li>where &#x3C;date> is a numerical date format</li></ul><p>&#x26;<strong>Date_From=2015-12-09</strong></p></td><td><p>Use this parameter to populate the Logged Date From field on the search window.</p><p>The example URL opens the Review Past/Current Incidents criteria page with <strong>2015-12-09</strong> already entered in the Logged Date From field.</p><p>The format is YYYY-MM-DD</p></td></tr><tr><td><p><strong>Date_To</strong></p><p>&#x26;<strong>Date_To=&#x3C;date></strong></p><ul><li>where &#x3C;date> is a numerical date format</li></ul><p>&#x26;<strong>Date_To=2015-12-09</strong></p></td><td><p>Use this parameter to populate the Logged Date To field on the search window.</p><p>The example URL opens the Review Past/Current Incidents criteria page with <strong>2015-12-09</strong> already entered in the Logged Date To field.</p><p>The format is YYYY-MM-DD</p></td></tr></tbody></table>

### Request Search <a href="#request" id="request"></a>

The Review Past/Current Requests window can be pre-populated by appending parameters to the basic Request search URL.

URL: http\://\<server\_name>/\<virtual\_directory>/Core.aspx?Lite&**Form=RequestSearchCriteria \<additional parameters here>**

| Parameter                                                                                                                                                                                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Request\_Owner</strong></p><p>&<strong>Request\_Owner=\<owner\_flag></strong></p><ul><li>where \<owner\_flag> represents whether to search all incidents, org incidents, or the user’s incidents only</li></ul><p>&<strong>Request\_Owner=O</strong></p> | <p>Use this parameter to pre-select one of the options of the Search within field on the search window, which is a set of radio options.</p><p>The default selection is Your Requests.</p><p>The example URL opens the Review Past/Current Requests criteria page with the Search Within option <strong>Your  Organization’s Requests</strong> already selected.</p><p>Options available:</p><ul><li>Y = Your Requests</li><li>O = Your Organization’s Requests</li><li>A = All Requests</li></ul>   |
| <p><strong>Request\_Nos</strong></p><p>&<strong>Request\_Nos=\<number>,\<number></strong></p><ul><li>where \<number> is the Request number</li></ul><p>&<strong>Request\_Nos=10,15</strong></p>                                                                     | <p>Use this parameter to populate the Request No field on the search window. This parameter can have multiple comma separated values.</p><p>The example URL opens the Review Past/Current Requests criteria page with values <strong>10,15</strong> already entered. Running the search returns Requests 10 and 15, if they exist.</p><p>Request numbers are visible on the Request Details window in ASM Core.</p>                                                                                  |
| <p><strong>Status</strong></p><p>&<strong>Status=\<status></strong></p><ul><li>where \<status> represents whether to search all requests, org requests, or the user’s requests only</li></ul><p>&<strong>Status=1</strong></p>                                      | <p>Use this parameter to pre-select one of the options of the Request State field on the search window, which is a set of radio options.</p><p>The default selection is Open Requests.</p><p>The example URL opens the Review Past/Current Requests criteria page with the Request State value <strong>Closed < 1 Week</strong> already selected.</p><p>Options available:</p><ul><li>O = Open Requests</li><li>1 = Closed < 1 Week</li><li>4 = Closed < 4 Weeks</li><li>U = Not Submitted</li></ul> |

### Browse the Service Request Catalog <a href="#browse" id="browse"></a>

The Browse the Service Request Catalog window can be pre-populated by appending parameters to the basic Service Request Catalog search URL. It is also possible to select individual Service Actions and Service Bundles, opening their submission forms.

URL: http\://\<server\_name>/\<virtual\_directory>/Core.aspx?Lite\&Form=ServiceCatalogSearch **\<additional parameters here>**

| Parameter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>&<strong>Portal\_Category=\<cat\_t3></strong>&<strong>Portal\_Category\_1=\<cat\_t1></strong>&<strong>Portal\_Category\_2=\<cat\_t2></strong>&<strong>Portal\_Category\_3=\<cat\_t3></strong></p><ul><li>where <strong>\<cat\_t1></strong> is the REF of the 1st  tier category</li><li>where <strong>\<cat\_t2></strong> is the REF of the 2nd tier category</li><li>where <strong>\<cat\_t3></strong> is the REF of the 3rd tier category</li></ul><p><strong>Example:</strong> </p><p>&<strong>Portal\_Category=11</strong>&<strong>Portal\_Category\_1=7</strong>&<strong>Portal\_Category\_2=11</strong>\&BTN\_Show\_Items=Show Catalog Items</p><p></p><p><strong>Example:</strong> </p><p>&<strong>Portal\_Category=11</strong>&<strong>Portal\_Category\_1=11</strong>\&BTN\_Show\_Items=Show Catalog Items</p><p></p><p><mark style="color:red;background-color:blue;">The parameter <strong>BTN\_Show\_Items=Show Catalog Items</strong> must be appended, otherwise the Category values are selected and visible, but no services are displayed on the screen.</mark></p> | <p>Use this parameter to populate the Category field on the search window, which is a tiered drop down list.</p><p>The example URL opens the Service Request Catalog page with the Category Software/ASM already selected, and the matching results displayed. Software is REF 7, ASM is REF 11 in the database.</p><p>The Portal\_Category (first one) parameter's value must match the lowest tier value included in the URL, regardless of the number of tiers included.</p><p>Categories are created in System Admin.</p><p>The unique reference is found in REF.AR\_PORTAL\_CATEGORY in the database.</p>                               |
| <p><strong>Title</strong></p><p>&<strong>Title=\<text></strong></p><ul><li>where \<text> is the title of the Service(s) to search for</li></ul><p>&<strong>Title=ASM app</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | <p>Use this parameter to populate the untitled text box on the search window.</p><p>The example URL opens the Service Request Catalog page with the words “ASM app” in the text box, and all Services listed beneath and ready for the Search button to be manually pressed. Once the Search button is pressed the list of services will be filtered to those matching the entered text.</p><p>This parameter can be blank.</p>                                                                                                                                                                                                              |
| &**BTN\_MINI\_SEARCH=Search**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | <p>Add BTN\_MINI\_SEARCH=Search to the URL to automatically run the search and filter the Service Request Catalog by the criteria in the URL, as would selecting the Search button.</p><p>The example URL opens the Service Request Catalog page with the words “ASM app” in the text box and the Service <strong>ASM app</strong> the only one showing beneath.</p>                                                                                                                                                                                                                                                                         |
| <p>&<strong>BTN\_ADDTOCART\<ref>=Order</strong></p><ul><li>where \<ref> is the unique ref of the Service Action/Bundle to order</li><li>where <strong>\<qty></strong> is the quantity of this item to order</li><li>where \<max> is the maximum number of items allowed in this order</li></ul><p></p><p></p><p><mark style="color:red;background-color:blue;">The BTN\_ADDTOCART parameter will not work for Service Actions that are configured to download objects or launch URLs.</mark></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | <p>Use this parameter to order a service, as though selecting the Order button on a Service Action/Bundle. This takes the user to the Order submission form to complete the details and submit the order.</p><p>The example URL opens the submission form for the <strong>ASM app</strong> service action, which is the service action with a REF of 7 in the database.</p><p>These parameters must be included, even if the value is set to 1:</p><ul><li>Quantity#</li><li>MaxItems#</li></ul><p>Service Actions/Bundles are created in ASM Core.</p><p>The unique reference is found in ITEM\_REF.AR\_PRIMARY\_ASSET in the database.</p> |

### Service Order Search <a href="#service" id="service"></a>

The Review Past/Current Service Orders window can be pre-populated by appending parameters to the basic Service Order search URL.

URL: http\://\<server\_name>/\<virtual\_directory>/Core.aspx?Lite\&Form=ServiceOrderSearchCriteria **\<additional parameters here>**

| Parameter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Order\_No</strong></p><p>&<strong>Order\_No=\<number>,\<number></strong></p><ul><li>where \<number> is the Service Order number(s) to search for</li></ul><p><strong>Example 1:</strong><br>&<strong>Order\_No=10,15</strong></p><p></p><p><strong>Example 2:</strong><br>&<strong>BTN\_SEARCH=Search</strong></p>                                                                                                                                                                                                                                                                        | <p>Use this parameter to populate the Order No field on the search window. This parameter can have multiple comma separated values.</p><p><strong>Example 1</strong> opens the Review Past/Current Orders page with values <strong>10,15</strong> already entered.</p><p><strong>Example 2</strong> automatically runs the search and opens the Service Order Summary window with Orders <strong>10</strong> and <strong>15</strong> listed, if they exist.</p><p>Service Order numbers are visible on the Service Order Details window in ASM Core.</p>                              |
| <p><strong>Order\_Status</strong></p><p>&<strong>Order\_Status=\<status\_ref></strong></p><ul><li>where <strong>\<status\_ref></strong> is the unique reference of the Order Status to search for</li></ul><p></p>                                                                                                                                                                                                                                                                                                                                                                                   | <p>Use this parameter to populate the Order Status field on the search window.</p><p>The example URL opens the Review Past/Current Requests criteria page with values In Progress already selected, which is the name value for REF <strong>22</strong> in the database.</p><p>Order Statuses are created in System Admin.</p><p>The unique reference is found in REF.SU\_SERVICE\_TITLES in the database.</p>                                                                                                                                                                        |
| <p><strong>Order\_State</strong></p><p>&<strong>Order\_State=\<state></strong></p><ul><li>where <strong>\<state></strong> represents whether to search Service Orders that are open, completed, or not submitted</li></ul><p></p>                                                                                                                                                                                                                                                                                                                                                                    | <p>Use this parameter to pre-select one of the options of the Request State field on the search window, which is a set of radio options.</p><p>The default selection is Open Orders.</p><p>The example URL opens the Review Past/Current Orders page with the Order State <strong>Completed < 1 Week</strong> already selected.</p><p>Options available:</p><ul><li>O = Open Orders</li><li>1 = Completed < 1 Week</li><li>4 = Completed < 4 Weeks</li><li>N = Not Submitted</li></ul>                                                                                                |
| <p><strong>Service\_Action\_Ref</strong></p><p></p><p>&<strong>Service\_Action\_Ref=\<sa\_ref></strong></p><ul><li>where <strong>\<sa\_ref></strong> is the unique reference of the Service Action to search on</li></ul><p>&<strong>Service\_Action\_Ref=22</strong></p>                                                                                                                                                                                                                                                                                                                            | <p>Use this parameter to populate the <strong>Service Action</strong> field on the search window.</p><p>The example URL opens the Review Past/Current Orders page with the Service Action Consulting already selected, which is the NAME value for REF <strong>22</strong> in the database.</p><p>Services Actions are created in ASM Core.</p><p>The unique reference is found in ITEM\_REF.AR\_PRIMARY\_ASSET in the database where ENTITY\_TYPE=2</p>                                                                                                                              |
| <p><strong>Service\_Bundle\_Ref</strong></p><p></p><p>&<strong>Service\_Bundle\_Ref=\<sb\_ref></strong></p><ul><li>where \<sb\_ref> is the unique reference of the Service Bundle to search on</li></ul><p><strong>Example 1:</strong><br>&<strong>Service\_Bundle\_Ref=22</strong></p><p></p><p><strong>Example 2:</strong><br>\&Service\_Bundle\_Ref=31&<strong>Order\_State=O</strong>&<strong>BTN\_SEARCH=Search</strong></p><p></p><p><mark style="color:red;background-color:blue;">The Order\_State parameter is required if automating the search for service bundles through URL</mark></p> | <p>Use this parameter to populate the Service Bundle field on the search window.</p><p><strong>Example 1</strong> opens the Review Past/Current Orders page with the Service Bundle New Starter already selected, which is the name value for REF <strong>22</strong> in the database.</p><p><strong>Example 2</strong> opens the Service Order Summary page, listing all open service orders for New Starter bundles.</p><p>Services Bundles are created in ASM Core.</p><p>The unique reference is found in ITEM\_REF.AR\_PRIMARY\_ASSET in the database where ENTITY\_TYPE=33.</p> |
