11-24-2022 12:32 PM
Hello,
I need to create an automation that uploads flat files with data, that are on a sharefolder, to OneStream.
When uploaded into OneStream, those files should be removed from that sharefolder.
Does anyone have any suggestion?
Thank you!
Ricardo
Solved! Go to Solution.
11-25-2022 04:20 AM
I think a good starting point is looking at one of the market place solutions, most of which have buttons to upload files. You can copy the code from there. For example in People Planning there is a dashboard extender rule called PLP_SolutionHelper with a function called "ImportXLSXFile". This function is for files that are in Xlsx format. You would need to make sure you pass the Sharefolder address as a parameter.
11-25-2022 04:20 AM
I think a good starting point is looking at one of the market place solutions, most of which have buttons to upload files. You can copy the code from there. For example in People Planning there is a dashboard extender rule called PLP_SolutionHelper with a function called "ImportXLSXFile". This function is for files that are in Xlsx format. You would need to make sure you pass the Sharefolder address as a parameter.
11-25-2022 05:06 AM
Hi Afone,
Thank you for your suggestion.
I will definitely take a look to mktplace solutions that have the import data option.
Ricardo