
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on ‎12-04-2018 02:41 PM
This week I encountered a problem on how to display the update set picker for Scoped Applications, specifically HR in Istanbul. After much investigation, I was able to make it visible. Note that the example application I have used is HR but this applies to any scoped app and the developer/scoped app admin does not have the admin role.
Below are the steps I did to make it feasible, again using the HR as an example:
A couple of things to do first…
- Your HR admins must have the following roles. Hopefully, you are putting them in a group and the group has the roles:
- sn_hr_core.admin
- sn_hr_sp.admin
- Ensure that you give them delegated developer access for HR and HR Portal. Doing so will allow them to see the applications for HR Core and HR Portal in the application picker (see screenshot below). Below are the steps if you don't know how to do this:
- Go to System Applications > Applications
- Depending on the application, you may have to go to Downloads tab or Develop tab. For HR, go to Downloads.
- Look for Human Resources: Core
- Open the application
- Under Related Links, click Manage Developer
- In the modal window, click Groups (I hope you manage this by groups and not users)
- Find the HR Admin group and click the group name
- Pick the permissions you want to grant them. I picked all as they need to manage the entire app anyway.
- Click Save
- Follow the steps 1 — 5 but look for Human Resources: Service Portal
Now the fun stuff. To give them access to the access picker you will need to grant them permissions to the table first then give them ability to view it in the left navigator and then grant them ability to use the Update Set Picker.
- Create a new role: update_set_picker
- Add this new role to:
- Admin
- sn_hr_core.admin
- sn_hr_sp.admin
- Create ACLs
Table Name |
Operation |
Description |
Requires role |
sys_remote_update_set |
create |
update_set_picker role required to create Remote Update Set records |
update_set_picker |
sys_remote_update_set |
read |
update_set_picker role required to read Remote Update Set records |
update_set_picker |
sys_update_set |
create |
update_set_picker role required to create Update Set records |
update_set_picker |
sys_update_set |
read |
update_set_picker role required to read Update Set records |
update_set_picker |
sys_update_set |
write |
update_set_picker role required to write Update Set records |
update_set_picker |
sys_update_set_log |
create |
update_set_picker role required to create Update Set Log records |
update_set_picker |
sys_update_set_log |
read |
update_set_picker role required to read Update Set Log records |
update_set_picker |
sys_update_set_log |
write |
update_set_picker role required to write Update Set Log records |
update_set_picker |
- Edit the Update Set Application. In Istanbul, you can edit an application and module directly by clicking the pencil icon.
- Look for System Update Sets
- Click the pencil icon
- In the Roles, add update_set_picker
- Click Update
- Look for System Update Sets > Update Sources
- Click the pencil icon
- In the Visibility tab, click the pencil icon for Roles, add update_set_picker
- Click Update
- Edit the Retrieved Update Set list to allow update_set_picker roled users to Import Updates Sets via XML
- Go to System Update Sets > Retrieved Update Sets
- Scroll down to Related Links.
- Right click on Import Update Set from XML and click Edit UI Action
- Inactivate the Out of the Box UI Action. Right click on the header and Save
- Click Active, to activate it again.
- In the condition field add the following: (gs.hasRole('admin') || gs.hasRole('update_set_picker'))
- Right click on the header and click Insert.
- Set-up to allow the update_set_picker roled users to see the Update Set Picker
- Go to sys_properties.list
- Create New
- Name: glide.ui.update_set_picker.role
- Type: string
- Value: update_set_picker
- Click Save
Steps to Test:
- Login as a user with the sn_hr_core.admin role only
- Click the Settings icon
- Click Developer.
Expected Results:
· The Update Set field should be visible and Show Update set picker in header switch
· When Show Update set picker in header switch is on, the Update Set field should be visible in the header of the platform.
- 2,499 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I have done all this in London and it is not working. I get undefined in the update set picker and can't select them. If I remove the delegated developer role it works. But my HR admin needs that also. Does anyone know how to get it to work in London?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Every find out the cause? I have a similar issue
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
HI has workaround fix. It will be fixed in New York
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Just curious why cant we do this way
- Grant sn_hr_core.admin role read access to the Update Set table & application table
- Enable users to see the update set picker on the Settings panel.
- Add the system property glide.ui.update_set_picker.role & glide.ui.application_picker.role to the System Properties table.
- Set the value of glide.ui.update_set_picker.role & glide.ui.application_picker.role to the hr core admin role.
Regards