Hello ,
I have an client application coded in R5, that was migrated to a R6 server.
And i have a button, and that button used to work with no problems in R5, but not in R6.
The first level support team came up with a workaround, they changed all the Author users to Designer in ACL. But, for security reasons, users cant be Designer.
The difference between the attributes of Author and Designer ( the unchecked boxes) are = Create personnal folders/views amd Create shared folders/view
And they also said that setting the Authors with all Designer´s attributes does not work either.
The button´s code :
@If(@IsDocBeingEdited;“”;@Command([EditDocument]));
@Prompt([Ok];“aaaa”;“1”);
@Command([FileSave]);
@Prompt([Ok];“aaaa”;“2”);
@If(salva = “1”; “”;@Return(“”));
@Prompt([Ok];“aaaa”;“3”);
@PostedCommand([Compose];“frmProdEtapas”);
@Prompt([Ok];“aaaa”;“4”)
As u can see i set some @promts to debug the code. And with Author it gives me “you´re not authorized to perform that operation” and then prints “2”
With designer, it works fine, printing “4” and opening the desired form.
Any tips on how to keep Author and working?
TIA/
fferrandini
Subject: @Command([FileSave]) working with Designer, but not with Author
Do you have a “Authors” field in the document? If so make sure the person who is editing must be in this filed.
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
Hello,
The Author field is there . But, its label is not Authors, just its type. Thats enough? or it must use “Authors” as field name ?
I´ve always used Authors as field name. Dont know if you use another name.
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
The field name can be anything, but the field TYPE must be Authors. The type is what gives the access to the peoples’ names in the field!
Trish
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
Thank you for the info.
but still does not work =/
Subject: Use the full canonical name with Authors type field
Hi Fernando,
If you just add the field to the form and try to get the user who needs access to open the document, they won’t be able to. Make sure you do the following:
-
Add the field (can be named anything) with a type of AUTHORS. Authors fields have to contain the FULL CANONICAL name of the people who get access. If you’re performing lookups, make sure your formulas evaluate to return full canonical names.
-
Refresh the document and make sure that the person’s full canonical name appears in the authors field on the document.
-
Now the person should be able to open the document.
Trish
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
Field name can be anything. Check whether this field is populated with the name of the user(s) who want"s to edit the document…If not refresh the document so that colputed fields like Authors fields etc…will be recalculated.
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
Authors field must be Computed for display? computed?editable?
Author´s formula : @Username
Im using a hidden section with a lot of CGI variables, how must they appear? I pass through html on all fields? or just hidden from web browsers and client?
TIA
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
If @Username is there in the formula then user can edit documents for which he is author for i.e he can edit a document if he created that one and he can’t edit others documents.
Subject: RE: @Command([FileSave]) working with Designer, but not with Author
thats the idea.
used to work on R5 , but not on R6.
its not a exclusive “thing” of R5… so its been so difficult to fix it!