Customize 'Add' button behavior on MRVS

AMan1997
Tera Guru

Hey everyone,

 

I have 2 multi row variable sets on a catalog item. And I want to configure the message which appears when I hover over the "Add" button on MRVS.

AMan27_0-1693569360506.png

Please see the text in yellow in above image ^ which I need to modify as below:

 

1. When user hover the cursor over Add button under Instance File system - Standard Layout "You can add only 64 rows" help text should appear.
2. When user hover the cursor over Add button under Log File system - Standard Layout "You can add only 1 row" help text should appear.

 

Thanks in advance,

2 ACCEPTED SOLUTIONS

Hemanth M1
Giga Sage
Giga Sage

Hi @AMan1997 

 

It displays what being set on this attribute , if its empty default its 50

HemanthM1_0-1693581851668.png

 

1)Create or Set the propety "glide.sc.multirow_set.rows.size" to 64 (integer type) and set the attribute as max_rows=64 on the MRVS.

 

Keep in mind this would degrade your system/form performance (since your overriding deafult value)

 

Result:

HemanthM1_1-1693582015944.png

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

View solution in original post

Ok, so the above worked. Thanks a lot!!!

Just one observation:
When I created the property - glide.sc.multirow_set.rows.size and gave a value 'x' .

Then the "Variable Set attributes" accepted a value less than 'x' . Even we try to set a value 'x' or greater the below error shows::

AMan27_0-1693669466815.png


So in my case, I had to give value 65 in property. For attribute to accept value 64 and display the same.

View solution in original post

3 REPLIES 3

Hemanth M1
Giga Sage
Giga Sage

Hi @AMan1997 

 

It displays what being set on this attribute , if its empty default its 50

HemanthM1_0-1693581851668.png

 

1)Create or Set the propety "glide.sc.multirow_set.rows.size" to 64 (integer type) and set the attribute as max_rows=64 on the MRVS.

 

Keep in mind this would degrade your system/form performance (since your overriding deafult value)

 

Result:

HemanthM1_1-1693582015944.png

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Hi @AMan1997 ,

 

If my response answered your question,Close this thread by accepting the solution so that it helps someone hunts similar answer.

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Ok, so the above worked. Thanks a lot!!!

Just one observation:
When I created the property - glide.sc.multirow_set.rows.size and gave a value 'x' .

Then the "Variable Set attributes" accepted a value less than 'x' . Even we try to set a value 'x' or greater the below error shows::

AMan27_0-1693669466815.png


So in my case, I had to give value 65 in property. For attribute to accept value 64 and display the same.