- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 05-23-2019 03:24 AM
Hi All,
I thought of writing the common issues we faced while using MRVS (Multi Row variable set) and way we solved them.
Issue
It has been observed that MRVS is not displayed in any of the OOB widgets where variables are displayed be it ticket view/ approval widgets in London release
In this article, I will be covering how to add the MRVS data in tabular format in approval widget.
Attached is the cloned widget and screenshot of how it will look in the approval page for your reference , import the xml to use it in your instance.
Technical details
The variable set details are not fetched by $sp.getRecordVariablesArray, but all the RITM details will be fetched if we use $sp.getCatalogItem(filter) with the filter consisting of RITM details.
There was some tweaking done in server script , so that only MRVS data should be displayed in HTML via code " <sp-model form-model="data.sc_cat_item" mandatory="[]"></sp-model>"
Hope this will help you and please let me know if you have any questions on the implementation.
Regards,
Swathi
- 5,634 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Swathi,
Thanks for this I found this very helpful. you are really a life saver 🙂
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thanks for sharing. I was looking for something like this.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Swathi,
Thank you for sharing this.
In addition to this, I want to update MRVS and store updated results back to RITM from portal.
How can I achieve this?
Regards
Monika
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Although the article is very helpful we have very small bug in it.
The name of the variable set which is not multi row is displayed and I tried a lot but it is not removing
Any help would be appreciated
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
it says Record not found. any ideas on why this is happening?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
This works wonders, however I wonder if you could help, how would you go about making the 'Add' ' Remove All' buttons as well as the edit buttons disappear. I want to show the data but not enable them to update it.
