Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to read data from an attached Excel sheet and populate certain data from a sheet of that Excel to the catalog item fields on click of a custom button?

Subhashree3
Giga Contributor

Hi All,

We have one requirement where the user will attach an Excel sheet(having 2 sheets in one excel) attachment. We need to read the content of Sheet1 of the excel sheet and populate that on Catalog on clicking of a custom button. If anybody has come across such scenario please suggest how to achieve this in Servicenow.

Thank You.

3 REPLIES 3

Deepak Ingale1
Mega Sage

Hi,

You can use GlideExcelParse API to read the content of the attachment

 

https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=GEPS-GlideExcelParser

 

Note: Please mark reply as correct if it has answered your question

Thanks, Deepak.

It helps me a lot.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Can you help me with how we can read .CSV file as well?

 

Regards,

Gunjan


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy