UI action to load datasource

ram11vrnr
Tera Contributor

Hi All,

I have created an UI action named "upload" , through which user will attach an excel. Using that excel data will processed and update table. Excel will be attached in sys_data_source record and through schedule import , data will processed.

 

Now issue is when user attach the file for the first time it processed successfully. But when second file added, still the first file only getting processed.

 

I need help to process the second file so that user data will be updated.

 

UI action script: 

 

function uploadDocuments(){

saveAttachment("sys_data_source","c12345671b45ad10a169dd72b24bcb1b");

5 REPLIES 5

Try impersonating admin user and remove the file and add new file

If impersonation does not work then ask admins to remove the file and add a new file.

 

Thanks,

Manjusha Bangale