Can we do load data/import data on data source using script or APIs in scoped app?

kiran kumar m1
Tera Contributor

Can we do load data/import data on data source using script or APIs in scoped app?

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@kiran kumar m1 

what's the use-case?

you can trigger data source via script, check below links on how it can be done via server side script

Convert .csv file to .xlsx file and auto import to target table received attachment via email 

Load Data. Script. 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@kiran kumar m1 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar I want to attach a file to a datasource the datasource should load the data to a staging table but it should not transform the data , because before transforming I want to perform few operations

@kiran kumar m1 

I don't think it's possible directly.

You can use onStart transform script to handle operations before transforming.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader