It should be so simple…
One form, one field counter.
An agent runs… reads the counter, increases it with one and saves the document.
It works fine for some users… But the rest gets: You cannot update or delete the document since you are not listed in the allowable author
There is no such fields on the document or anything. The agent runs as the user since it also sends mails and stuff.
But, I, who created the doc, can run the agent flawless. Another user gets the error message.
Since I want anyone running the application to be able to upgrade the form… what do I need to do?
Have seen help here regarding document WITH author fields. Don’t have that. People have tippped "use a author field with “*” , and in the calling agent set the field again… why?
Do the user need to be author? An editor? Is it enough to add authorfield, editable and set “*” in default value?
Put as anonymous form?
Anyone with ideas?
Subject: … since you are not listed in the allowable author
is it possible it’s caused by security setting on form property? I use stuff like you are using, but don’t have this issue as I remember.
Subject: … since you are not listed in the allowable author
If you do NOT have an authors field, then the person who created the document is the person who has Author Access.
Therefore, the only people who can edit that document is the document creator or those with Editor or higher access.
OR you can make the document a Public Document and make sure everyone has access to write a Public Document. (This probably the right way to go, but I tend to setup an Role and use an Authors fields. I’m a control freak.
)
I woulld NOT advise giving people Editor access, as this would mean people could start editting each other documents, which you likely don’t want.
Instead add an Authors field, to the document, and have a role [Counter]. Then given this role to anyone who should be able to access / update the counter. (Clearly they will sill need to have Authors Access in the DB)
Subject: … since you are not listed in the allowable author
Author access works with Authors fields. A user with Author access can create a document but if they attempt to edit a document they created and there is no Author field with their name, role or group in it then, guess what happens … Either give the user(s) Editor or higher in the ACL or create an Author field on the form.