Customizing the search results
Before you begin
When you register AR System forms as searchable articles, you can customize the way that these articles are opened from search results. You can provide a Knowledge Management workflow with customized form view or opening mode by setting the following parameters:
- Set the form view in the z1D_viewToOpen (id = 302258834) field of the RKM:SearchDialog form.
- Set the open mode in the z1D_openMode (id = 302258831) field of the RKM:SearchDialog form.
Select either of the following modes to open the window in Modify Directly mode.- Display — Opens the window in Modify Directly mode.
- Modify — Opens the window in Modify Directly mode.
Currently, both modes open the same window type.
To customize the open mode and view of the knowledge articles
To customize the open mode and view of the knowledge articles:
- Create a new active link for the RKM:SearchDialog form.
In Run If Qualification, enter the string:
('z1D_viewArticleForm' = "FormName")Where "FormName" is the name of the form that you want to customize.
Example('z1D_viewArticleForm' = "ABC:My form"- Under If Actions, set values to the fields:
z1D_openMode — Select the mode that the form will open with (Display or Modify).
To add other modes, open the form in Development Studio, select the WorkingAreaView, select the z2PF_RKM_SearchResults tab, and add other modes as you want.- z1D_viewToOpen — Select the form's view.
- Add a goto guide label action to guide label OpenForm.
Add a reference to your active link(s) in the active link guide.
RKM:KBI:ViewOpenSearchResult_ALGbefore the OpenForm label.
To open a different form than the returned form
To open a different form than the returned form:
- Create an active link for RKM:SearchDialog.
Set the Run if qualification to:
('z1D_viewArticleForm' = "FormName")where "FormName" is the name of the form where the search hit was found.
- Write your own workflow to determine the form, view and display type, and set these values in the variables z1D_viewToOpen, z1D_openMode, and z1D_viewArticleForm respectively.
- Add a goto guide label action to guide label OpenForm.
Add a reference to your active link(s) in the active link guide.
RKM:KBI:ViewOpenSearchResult_ALGbefore the OpenForm label.