Service Apps - 2021 - Build 2021.1.113.0 - Procedure to Adapt Apps With News Articles
Adaptation in Service Manager
Note: Your user profile must be authorized to edit display presentations.
Step 1: Add a field dedicated to displaying images in News Article forms
1. Open the form editor for news articles.
- Log in to Service Manager.
- Select Service Operation > News Articles > News Articles in the menu.
- Open a news article.
- Click
in the top banner and select Edit Form.
The form editor will appear.
2. Add the field dedicated to displaying images.
- Click Add Field.
- Select the PICTURE field from the AM_DOCUMENT table.
The field will appear in the list of objects available.
- Click and drag the PICTURE field to the form presentation.
- Click Save and Close.
The field will be displayed in the News Article form.
Step 2: Display images in reports containing news articles
1. Add a field dedicated to displaying images in the parent query for reports.
- Select Service Operation > Reports in the menu.
- Click
to open a report related to news articles in edit mode.
- Click
to edit the parent query of the report.
- Click Add Field.
- Select the PICTURE_PATH field from the AM_DOCUMENT table.
- Click Save.
The field will be available for all reports using this parent query.
2. Display images in views used in reports.
- Click
to edit the view associated with the report.
The view editor will appear.
- Select the Display box for the PICTURE_PATH field.
- Click OK.
The image will appear in the view of the report.
Step 3: Update other reports related to news articles
1. Repeat the procedure in step 2 for all news article reports used in your apps.
Adaptation in Service Apps
Step 1: Display the data source columns to which the news widget points
1. Open the widget pointing to the data source.
- Log in to Service Apps.
- Go to an app that displays news articles.
- Click
to edit the widget.
The text editor will appear.
2. Use the Data Picker to display the data source columns.
- Click
.
- Select the Data Picker category.
The list of data source columns will appear.
Step 2: Configure the field dedicated to displaying images in news articles
1. Click the PICTURE_PATH field you added to News Article forms in Service Manager.
2. Specify that the field stores an image.
- Select the Special link tags > Image option.
- Click
.
The instructions corresponding to the selected value will be inserted in the text editor.
Step 3: Save the changes
1. Click to close the advanced tag editor.
2. Click OK to close the text editor.
3. Click to save the changes made.
The images of news articles will appear in your app.