You can create multiple data source definitions under the Data Sources tab.
1- Before starting the Data Source configuration, please add our application to the Object Schema role called “Object schema users“ as shown in the screenshot below for each Object Schema you want to use. You will find the Roles tab under the Schema Configuration.
2- Click the Add Data Source button to add a new one.
23- Your data source definition should be given a unique name.
34- Write your AQL query to filter the objects from your JSM Assets.
...
AQL | Description |
---|---|
| This AQL filters all the objects across all schemas which have an attribute called “Jira User” with a “User” type. In case the attribute value is set as the Jira User of the person who is viewing the Portal Profile page, the objects will be displayed. |
45- Click the Save and check AQL button. You will get the statistics about the AQL result for number of objects and object types.
...
Info |
---|
In case there are no objects found the there are 2 possibilities:
|
...
|
6- There can be multiple object types in the query result. Commonly, every object type may have different attribute names. In that case, you can configure the list of attributes to be displayed for each object type. The screenshot below is an example where the results of the AQL are from 3 object types.
...
You can select 4 attributes that will be displayed in the summary view. And more attributes to be displayed in the detailed view.
6—After 7- After selecting the attributes, you can decide whether to display the object's avatar. Enable/disable the “Show Avatars?” option as you like.
78- As the last item on this configuration page, you can select the JSM Servicedesks which this configuration will be available. This way, you can decide which AQLs are valid for which Servicedesk customers and organizations.
89- Click the Save button to save your configuration.
910- The Data Source record will be added to the table. By default, it will be in a disabled state. Click the toggle to enable it.
1011- Add more data sources with different AQL queries.
1112- Now, you can add the Header and Footer via the Admin tab.
1213- Test your results by viewing your Portal Profile page on the service desk portal.
...