Pedro Lopez
Kilo Guru

Hi Community,

I want to talk about which is a better option when we need to create a table with multi-row entries inside of a catalog item or record producer.

Multi-rows variable set is OOB, included in London Version. OOB functionalities are going to be always the best option comparing it with something customized. However, for this specific topic, Macros are the best option.

Macros are typically controls that provide inputs or information not provided by existing field types. The main language is jelly but for the creation of tables, HTML code and Scripts are more than enough.

Why Macros are better than Multi-Rows Variable sets? Macros are something customized and Multi-Rows Variable sets are OOB. Then why Macros would be better than Multi-Rows Variable Sets. The answer is maintenance.

For development perspective,  We can run scripts in both options. However, to create scripts for Multi-Row Variable Sets the challenge is bigger due the code that is not supported yet in London. By using Macros, the script is more easy. As mentioned, HTML Code and normal client side scripts and BINGO!

I am going to leave some reference links to both options where you can find more details of how to configure each one of them:

UI Macros: https://docs.servicenow.com/bundle/london-application-development/page/script/server-scripting/conce...

Multi-Rows Variable Sets: https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-managem...

 

Regards,

Pedro Lopez

Version history
Last update:
‎05-06-2019 03:30 PM
Updated by: