Hi
We need to ensure that files uploaded through the "New File" button (accessed via Communication > Files > New File on transactions) are saved in the correct folder based on the subsidiary of the employee/user uploading the file.
Navigation:
The "New File" screen is accessed from a transaction (e.g., Vendor Bill, Purchase Order) by clicking the Communication tab, then selecting Files > New File. This opens the standard file upload form (mediaitem.nl).
Current folder Setup:
Separate folders are created in the File Cabinet for each subsidiary.
The "Restrict by Subsidiary" field is set on each folder to ensure users only see folders related to their subsidiary.
What we need to do:
We need the following behavior in the file upload form:
The Folder field should automatically default to the correct folder based on the user's subsidiary.
The Folder field should be disabled or locked so users cannot change the folder selection.
Request:
Is there a way to:
Automatically default the Folder field in the file upload screen based on the logged-in user's subsidiary?
Prevent users from changing the folder value once it's defaulted?
This is needed to ensure that uploaded files are stored in the correct respective subsidiary folder.
Technical Context:
The "File" screen opens after clicking “New File” button, the following URL when accessed from a transaction:
/app/common/media/mediaitem.nl?uploadrectype=vendorbill&attach=T...
This form is used across different transactions and appears to be a shared system page.
The Folder field on this screen displays all folders irrespective of user’s subsidiary. However, it does not currently default to a specific folder based on any record or user-level context such as subsidiary.
Thanks and regards
Ahmed