I have several file upload widgets in one of my processes whose contents I need to be accessible by others both within the process and out of it (i.e. I'm creating URL's and using the file ID's of the uploaded files).
I'm aware I can use FreeMarker from (https://docs.runmyprocess.com/Developer_Guide/Process/Freemarker_Examples/File_Visibility) and set these files to be 'PUBLIC' so anyone with the URL can access them, but I would prefer that only those with a registered RMP account be able to view these files.
Can someone please advise the specific code to change this setting? Based on the fact that I can create files within the process (HTML doc's) and have these visible to anyone in the process I suspect that there is a setting somewhere I can toggle to enable the feature I need.
Any help would be appreciated.
Regards,
Ben Jones
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/0ee5606e-5631-4a6d-9615-b7747d61cd4d%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
Thanks for the assistance but unfortunately it hasn't solved my problem. Apologies, I forgot to mention that file uploaded using the widget needs to be accessed from a dashboard (or similiar) using the URL of the file by any registered RMP user, regardless if the process is ongoing or complete.
Unfortunately adding more users to the lane is not possible as it will add tasks to other baskets who should not have them.
A possible solution is to read the content of the file then create a new file with its content, however my experiments with this cause the process to throw errors. Any chance you have something similiar or an example I can work with?
My priority is PDF's as I need our users to upload confidential documents to be shared with anyone with access to the dashboard.
For clarity: I want a user to upload a file and have that file accessible to anyone with the URL and a registered RMP account (i.e. not accessible by URL only) both during process execution and when the process is complete. Similiar to the access rights a file created from a markdown template has.
If this cannot be done then I'm open to alternatives. Is it possible to store on a Google drive and restrict access that way?
Any assistance would be appreciated.
INSIDE A PROJECT OUTSIDE PROCESS/ PRIVATE | Read/Write/Delete | Read/Write/Delete | Read/Write/Delete | Read | None | Read | None |
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/dc20a0ce-ea84-42e3-8097-6d3cecf2bac0%40runmyprocess.com.
Also, how can I get the file ID back to the original interface / process so I can add the IDs to a measure for use in a report?
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/9c92823f-131d-4d34-8e06-90df1860cdb0%40runmyprocess.com.
How can I get the id of the uploaded file in the new interface and pass it to another process / interface so it can be used in a report?
Would using a sub process solve this issue?
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/1d6af2de-e4a4-4224-852e-c0ed37dbae61%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
Whilst this didn't answer my question, I've managed to find another solution to it.
Thank you and Pankaj for your assistance.
Regards,
Ben Jones
After some usage this has created a very annoying problem. I now have several hundred tasks showing up in the basket 'My Requests > Opened' for each time the user opens the interface in the new window.
Can you please advise how I can prevent this from occurring?
Regards,
Ben Jones
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/6a8f6320-32ed-4534-9a35-6d4268e580f0%40runmyprocess.com.
I've resolved the issue by changing to launchable interface and utilising an Abort with pre-launch script.
Thanks for your assistance.
Regards,
Ben Jones