Phased rollout

 

This documentation supports the 21.05 version of BMC Service Request Management. To view an earlier version, select the version from the Product version menu.

Generating URLs that open the Request Entry console in context

Use the BMC Service Request Management Context URL Builder utility to generate URLs to open the Request Entry console in context. You can use these URLs to enable users to access a specific view in the console without logging on to the Request Entry console. For example, you can provide direct access to a request or to request categories.

You can also open the Request Entry console in context by using a Action Request System Open Window action, which specifies the context in On Dialog Open Action.

Context fields

When creating launch-in-context URLs, context fields are added to the Request Entry console to specify which view to launch, the context to display, and the behavior of the console after it is launched. The following table lists the context fields, and provides a description of the values used to set the context.

To see Service Review on the Request Entry console, hover the mouse pointer over the service title.

Field name

Database ID

Values

Description

Context_View

303900000

1 - Browse Categories view

2 - Browse Subcategories view
This value requires that the Context_Category1_Base_InstanceId field be set.

3 - Services view
This value requires that the Context_Category1_Base_InstanceId and Context_Search_String fields be set.

4- Provide Information view
This value requires that the Context_SRD_InstanceId field be set. It also optionally uses the Context_SRD_Number field in place of the Context_SRD_InstanceId field.

5 - Cart view

6 - Submitted Requests view
This value requires that the Context_Request_Show field be set.

This field value is required for all views. The Context_View field is used to designate which view to launch.

Context_Category1_
Base_InstanceId

303906900

Category 1 (Navigational Category) instanceId. This value might need to be URL encoded.

All – Search within all services.

Quick Picks – Search within services that are designated as Quick Picks. These include user favorites, system requests, and services most requested.

categoryName – Search within services that are configured with the designated category 1 navigational category. This value might need to be URL encoded.

This field value is required when the value of Context_View is 2 or 3. It is used to specify the category to display subcategories, and to specify the category under which a search for services is constrained.

Context_Search
_String

303901700

A URL encoded string used to limit the search for services.

(Optional) This field value is used when the value of Context_View is 3. This string is used to check the Service Request Definition search cache field. The search cache field contains a string representation of a combination of an SRD's title, navigational categories, and keywords.

Context_SRD
_InstanceId

303900900

The Service Request Definition instance ID. This value might need to be URL encoded.

This field value is required when the value of Context_View is 4 or 5. It is used to specify the SRD to be used in the context of the view. If the Context_SRD_Number field value is set instead, the Context_SRD_InstanceId value is set by the workflow that looks up the value based on the Context_SRD_Number value.

Context_SRD
_Number

301628200

Service Request Definition ID

(Optional) This field value is used when the value of Context_View is 4 or 5. It is used to specify the SRD to be used in the context of the view. It can be used in place of the Context_SRD_InstanceId field value. It is used by the workflow to look up the Context_SRD_InstanceId field value.

Context_Request
_Show

303901600

10 – All open requests (default)
This value in SRS:SRCLaunchURLBuilder corresponds to the All option in the Show field on the My Requests pod in the Request Entry console.

20 – Draft requests
This value in SRS:SRCLaunchURLBuilder corresponds to the Open and Draft Requests option in the Show field on the My Requests pod in the Request Entry console.

30 – Requests needing attention

40 – Recently closed requests

50 – Requests closed since last login

60 – Closed requests

This field value is required when the value of Context_View is set to 7. It is used to specify the filter value for the Submitted Requests.

Context_Restrict_
Navigation

303902000

0 – No (default)
1 – Yes

This field is required, but is set to 0 by default. Its value determines whether the navigation links outside the work area (Popular Services, Submitted Requests, Broadcasts, and so on) are disabled when the console is launched. If the value is set to 1, the links are disabled and the users must drill down the through the work area to submit a request.

Context_Restrict
_OBO

303906700

0 – No (default)
1 – Yes

This field is required, but is set to 0 by default. Its value determines whether the On Behalf Of link is disabled when the console is launched. If the value is set to 1, the link is disabled, and users cannot act on behalf of another user.

Context_PI_
CloseAfterSubmit

303902100

0 – No (default)
1 – Yes

This field is required when the value of Context_View field is set to 4 or 5. It is set to 0 by default. Its value determines whether the console closes immediately after the user submits a request.

Context_
EntitlementVerified

303931400

This field is used when Entitlement Management is set to On, to verify whether the user is entitled to request the SRD specified in the context. The value is set by the workflow on the Service Request console.

Context_
TakeSRDOfflineFlag

302792000

1000 – Online
2000 – Offline

This field is used when the value of Context_View is set to 4 or 5. It verifies that the SRD specified in the context is online for users to request. The value is set by workflow on the Service Request console.

Context_VerifyFailed

303932500

0 – No (default)
1 – Yes

This field is used when the value of Context_View is set to 4 or 5. It verifies that the SRD specified in the context is online and the user is entitled to request it when Entitlement Management is set to On. The value is set by workflow on the Service Request console.

To generate URLs by using the Context URL Builder utility

  1. Log on toService Request Management as the SRM Administrator and navigate to Custom Configuration > Service Request Management > Request Entry Management > Launch-In-Context URL Generator.
    Alternatively, in a browser, open the SRS:SRCLaunchURLBuilder form using SRM Administrator permission. Use the following URL example to open the SRS:SRCLaunchURLBuilder form:

    http://<webServer>:<portNumber>/arsys/forms/<serverName>/SRS%3ASRCLaunchURLBuilder

    Based on the server you logged in to, the values in the Mid Tier Path and Server fields are automatically filled in. You can modify these fields as needed (for example, with a different mid tier or server).

  2. Enter the following information to define the launch URL:

    Field name

    Description

    Restrict Acting On Behalf Of

    Determines if the On Behalf Of link is disabled when the console is launched. The default value is No — the link is not disabled, and the user can act on behalf of another user.

    Restrict Navigation

    Determines if the navigation links (Preferences, Approval Central, Give Feedback, Complete Survey, Home) and Favorite, Popular, Browse, and Search buttons are disabled when the console is launched. The default value is No — the link is not disabled, allowing users to navigate away from the specified context.

    Close Console After Request Is Submitted

    Determines if the console closes immediately, and the user is logged out after submitting a request. The default value is No.

  3. From the View list, select a Request Entry console view, and then perform the following steps, depending on the view that you selected:

    View

    Perform these steps to generate a URL

    Service Categories

    Click Generate URL.

    Service Subcategories

    1. Select a subcategory.
    2. Click Generate URL.

    Services

    1. Enter a search string.
    2. Click Launch URL Encoder.
      Not all characters are valid in URLs (for example, the # character or certain GUIDs). This utility helps you create valid URLs.
    3. In the ARURLEncoder form, enter the original string.
    4. Click Convert.
    5. Copy the encoded string and paste it into the URL Encoded String field in the Context URL Builder utility.
    6. Click Generate URL.

    Provide Information

    1. Search for an SRD to use in context (for example, by company or title).
    2. Select an SRD from the table list of search results.
    3. Click Generate URL.

    Service Review

    1. Search for an SRD to use in context (for example, by company or title).
    2. Select an SRD from the table list of search results.
    3. Click Generate URL.

    Cart

    Click Generate URL.

    Submitted Requests

    1. From the Show field, select the status to display (for example, All Open Requests or Draft Requests).
    2. Click Generate URL.

    A URL appears in the URL field.

  4. (Optional) To ensure that your URLs are properly encoded, perform the following steps:
    1. Open the URL Encoder form.

      http://<webServer>:<port>/arsys/shared/ar_url_encoder.jsp
    2. Enter the original string to encode.
    3. Click Convert.
    4. Copy the encoded string.

Creating the URLs manually

If you do not use the Context URL Builder to generate the URLs, you can manually create URLs for opening the Request Entry console in context.

The URLs must be formatted as follows:

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/?mode=submit&F<fieldID=paramValue>&F<fieldID2=paramValue2>&F<fieldID3=paramValue3>

The variables in the URL are defined as follows:

  • <webServer> — Fully qualified name of the Mid Tier system, specified in the format serverName.company.com
  • <port> — Optional port number, which is needed if the web server is not on the default port (port 80)
  • <ARServer> — Name of the Action Request System server that contains the application
  • <fieldID> — Database ID of the field for which you must supply a value when the Request Entry console opens
  • <paramValue> — Value to be populated in the field when the Request Entry console opens

Examples of launch-in-context URLs

The following table lists examples of launch-in-context URLs:

Context

Sample URL

Service categories

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=1&F303906700=0&F303902000=0&F303902100=0

Service subcategories

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=2&F303906900=ID00137260F2FChCXySQ_AVfAAWUwA
&F303906700=0&F303902000=0&F303902100=0

Services

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=3&F303906900=ID00137260F2FChCXySQ_AVfAAWUwA
&F303901700=report%20a%20problem&F303906700=0&F303902000=
0&F303902100=0

Provide information

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=4&F303900900=SR000F1F6C79D85P3MRQE
2hwBAvPQA&F303906700=0&F303902000=0&F303902100=0

Service review

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=5&F303900900=SR000F1F6C79D85P3MRQE
2hwBAvPQA&F303906700=0&F303902000=0&F303902100=0

Cart

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=6&F303906700=0&F303902000=0
&F303902100=0

Submitted requests

http://<webServer>:<port>/arsys/forms/<ARServer>/SRS:ServiceRequestConsole/
?mode=submit&F303900000=7&F303901600=30&F303906700=0&F303902000=
0&F303902100=0


Was this page helpful? Yes No Submitting... Thank you

Comments