- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 09:28 AM
Hi All,
we are facing issue with import xml.
we have a role called data admin and has a context menu created called Import XML(data admin).. the user with data admin role can do import xml by this context menu only. But when getting the below error while doing.
the script in the context menu is as below:
unable to find out what is the issue is.
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 09:50 AM
The solution is to add a property (sys_properties) called glide.ui.security.upload.roles. In the value field, include the roles you would like to be allowed to upload XMLs. You don't need to add 'admin', just the other roles that you want to grant this permission to.
This will not show the import XML option on context menus for the roles you entered. This just simply allows those roles to import XML to tables that they have access to do so.
For our case, we updated contenxt menus to show the import XML option where need be for the new role. Added that role to the property. The users with that role were able to upload to tables that they can create/write to, but not to tables where they don't have access to.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hey Sachin,
I tried the solution given by you, but still, I am not able to see the option of 'Import XML' on the context menu. I even added the role which is present in the read/write ACL of that table as well, along with my custom role which I actually wanted, still I am not able to see the import xml option.
