Swathi12
Tera Expert

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

Comments
Ayush Sharma
Kilo Contributor

Hi Swathi,

 

Thanks for this I found this very helpful. you are really a life saver 🙂

 

Aishwarya Shukl
Kilo Contributor

Thanks for sharing. I was looking for something like this.

Monika13
Giga Expert

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

mahfooz1
Tera Contributor

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

Charls Brown
Tera Expert

it says Record not found. any ideas on why this is happening?

Tim Hannah
Tera Contributor

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. 

Version history
Last update:
‎05-23-2019 03:24 AM
Updated by: