Attach excel/csv file to catalog item to populate and validate the data in MRVs

Saurabh_dhiman
Tera Contributor

Hi All,

 

I have a requirement where I need to populate the MRVs using an excel/csv file. right now we can populate only up to 5 entries manually. Although I can change it using system property but that will be impact globally. So I need to populate the multi-row variables for a particular catalog using attachment in which there can be thousands of entries. At the time of populating the data into MRVs I need to validate the data as well whether it is in correct format or not. also I need this process to be running asynchronously.

1 REPLY 1

Amitoj Wadhera
Kilo Sage

Hi @Saurabh_dhiman ,

 

You can leverage GlideExcelParser API to achieve the requirement.

https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/server/sn_impex/GlideExcelParse...

 

If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.

 

Regards,

Amitoj