November 14, 201015 yr I have a list view page of records that I want to sort with a script. For some user privilege sets the user is prohibited from changing records. I have allowed access to the fields the are required for the sorting, along with permission to execute scripts. I have even tried allowing modification of layouts. But I always get the error that "The current access privileges do not enable me to use the current sort order". Can anyone tell me what could be blocking me from sorting? Thanks in advance, RDW
November 14, 201015 yr Why do you write to records when you sort? Is this scripted? Can you post the script?
November 17, 201015 yr Author Hi BCooney, Sorry for the delay in responding. Busy week. I have posted the scripts here. There is a write to the field 'HiliteSortedBy' which is used as a toggle for ascending or descending sorts off the same button. I have that field set to modifiable in the record access privileges...and also for the purpose of testing I have set the layout privileges to modifiable but still the same error. Thx, RDW
November 18, 201015 yr Author Yes, HiliteSortedBy is a global text field. Edited November 18, 201015 yr by Guest
November 18, 201015 yr Well, I've never seen this message, "The current access privileges do not enable me to use the current sort order". I think you'll need to post the file. If this script runs fine with full privs, then apparently, it is a priv set issue.
November 18, 201015 yr I believe the global field is a red herring, and that the message comes on because users have no access to the Department field - or some other field in the sort order. You cannot sort by a field that you are not allowed to view; this makes perfect sense because, for example, sorting employees by Age would reveal quite a lot about the field's hidden contents. Edited November 18, 201015 yr by Guest
November 20, 201015 yr Author Hi Comment and BCooney, Thanks for your help. That was indeed the problem. Once I allowed the "hiliteSortedBy" field to be modifiable, it worked. I wonder if I could ask another question while we are on the subject of security. What is it in the privilege setup that controls whether an account can go into Preview Mode or not? I have one privilege set that allows pretty much full access to everything except modifying layouts and some housekeeping fields and I have allowed printing but for some reason the preview and all of the buttons except navigation on the status bar are grayed out. Thanks again, RDW
November 21, 201015 yr There is a privilege option to allow printing and exporting. Perhaps entry into preview mode is disallowed if the option to allow printing is disallowed. Otherwise, check whether custom menus are used. Preview mode may be remove from the menus.
November 21, 201015 yr Author Hi Vaughan, I found it. I had the menus set to minimum. It needs the available menu commands set to all. Thanks for the help, RDW
November 21, 201015 yr Just a reminder that Minimum is now the default setting when creating a new Privilege Set. You must enable almost all specific permissions. Steven
Create an account or sign in to comment