- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019 12:56 PM
There is a requirement to show attachment icon on every row in the multi row set table. If we use attachment macro or attachment UI page script that we use in catalog item variables it is throwing an error saying "Invalid insert in multi row variable set".
Below is the script used in UI page:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<button type="button" onclick="saveCatAttachment(gel('sysparm_item_guid').value, 'sc_cart_item')">Add Attachment</button>
</j:jelly>
The above script is working fine in catalog item variables but not working in multi row variable set.
Solved! Go to Solution.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019 10:13 PM
Hi,
The macros are not supported in multi row variable sets. Hence it is not working for you.
Kindly refer to this link for the variables that are not supported in multi row variable set.
Kindly mark the comment as a correct answer and also helpful if this answers your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019 10:13 PM
Hi,
The macros are not supported in multi row variable sets. Hence it is not working for you.
Kindly refer to this link for the variables that are not supported in multi row variable set.
Kindly mark the comment as a correct answer and also helpful if this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 09:58 AM
Please find the below Link to add the attachment type of variable in the mrvs
https://community.servicenow.com/community?id=community_article&sys_id=ff89e9f51b789110c16b43f6fe4bcb02