Issue with import XML

Mr_Avinash
Kilo Expert

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.

find_real_file.png

find_real_file.png

 

the script in the context menu is as below:

find_real_file.png

unable to find out what is the issue is.

 

Thanks in Advance

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron

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

View solution in original post

5 REPLIES 5

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.