Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Nav hierarchy "Mass update of selected lines..." disable/restrict

Avatar

Avatar
Coach
MVP
david_garcia1
MVP

Likes

106 likes

Total Posts

184 posts

Correct Reply

41 solutions
Top badges earned
Coach
Contributor
Shape 1
Give Back 25
Give Back 10
View profile

Avatar
Coach
MVP
david_garcia1
MVP

Likes

106 likes

Total Posts

184 posts

Correct Reply

41 solutions
Top badges earned
Coach
Contributor
Shape 1
Give Back 25
Give Back 10
View profile
david_garcia1
MVP

10-05-2021

Hi Team,

I have a new request to restrict/limit/dissable (Mass update of selected lines...) option which is available upon right clicking on a particular list of records, however, I need to disable it for a particular group and only on the recipient form(s)

 

david_garcia1_0-1620653252344.png

 

Going through the nav hierarchy, I pulled out the following code and added it to my custom nav tree, however, it completely disabled mass of updated lines through the whole client, not just recipient, anyone has any idea on how to achieve this correctly?

 

 

<commands>
<command contextual="true" enabledIf="HasNamedRight('admin')" form="xtk:massUpdate"
formKeyPath="job/userArgs/recipients" formSchemaPath="job/userArgs/@nmsrecipient"
label="Mass update of selected lines..." name="update" notVisibleInForm="true"
rights="write"/>
</commands>

 

form hierarchy nav
View Entire Topic

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

958 likes

Total Posts

1,079 posts

Correct Reply

506 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

958 likes

Total Posts

1,079 posts

Correct Reply

506 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

10-05-2021

Hi,

 

AFAICT it's not possible to check schema in nav hierarchy for global mass update command as it's dynamically selected and enabledif can't read its path.

Would have to put the schema check on form xtk:massUpdate and error back to the user that they aren't where they're supposed to be.

FWIW changing the UI like this isn't adding much security as users will still be able to mass update via other less convenient means.

 

Thanks,

-Jon