Forum Discussion

Ricardo_Mil's avatar
Ricardo_Mil
New Contributor II
3 years ago

Automation to upload files from Sharefolder to OS

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. ...
  • AndreaF's avatar
    3 years ago

    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.