Can we customize Multirow variable ADD button

Community Alums
Not applicable

Can we customize Multirow variable ADD button so that we can trigger action on click of that button after customizing.? and can we show previous stored multirow variable data into a form? 

4 REPLIES 4

asifnoor
Kilo Patron

Hi,

You need to write onload catalog client script on the MRVS and call a SI, fetch the data and can show it filled in the form.

Mark the comment as a correct answer and also helpful if this helps.

Community Alums
Not applicable

how can we fetch the data of previous record from the multi row variable set?

Hi,

Could you tell me your actual requirement. Generally the use case will be to fill in the multirow variable data for that record (if exists) so that the user can edit. Not sure why you want to show the previous record MRVS data in the new record.

If you want to auto populate the MVRS with the record data, you can do like this. Refer to this where i have shared the code snippet.

https://community.servicenow.com/community?id=community_article&sys_id=86971c8bdb4108106064eeb5ca961...

Mark the comment as  a correct answer and helpful if this helps.

Hi Asifnoor,

I also got the similar requirement but i have on doubt about the multirow variable set. The thing is with onload-client script, the MRVS will fetch the data from the custom table, it is working fine but when we edit the rows in the MRVS in the catalog item and save back, they should update the table records when we submit the catalog item.

Is there any way to achieve the requirement. If yes, kindly reply back with solution.

Thanks in advance..!

Best regards.

Nagaraju