Author Field problem...plzzzzzzzzzzzzz help me

Hello,I m getting problem in author field.I have a field which is names field. I am entering authors in that. I want to enter combination of users and groups.But if i enter group then when saving document it get vanished.

I want the thing as i wil be able to enter users and groups in that field,thehn i want to validate them as they have author access to databse or not.want to chage format as if i enter only common name then it should change in abbreviated form.Everything is wroking fine with users but with groups it is giving problem…please help me out…

Thanks in advance.

Subject: Author Field problem…plzzzzzzzzzzzzz help me.

Is the filed mutivalue ?

Also, you’re mentioning names filed and author field. I believe they have different purpose

Subject: RE: Author Field problem…plzzzzzzzzzzzzz help me.

ys field is multivalued…field is names field in which i m entering users…

Subject: RE: Author Field problem…plzzzzzzzzzzzzz help me.

There’s nothing about Names fields (or Authors fields) that would make group names disappear under normal conditions. I think it’s the input translation of the field which is destroying the group names. It is probably trying to use string functions to extract the common name of the user by searching for / and = characters – but a group name does not contain these characters.

Also, you should not store common names in an Authors field. Use the canonical name, or users will not have access in all cases.

Subject: RE: Author Field problem…plzzzzzzzzzzzzz help me.

Yes you are right.Input Translation and querysave agent were destrying group names.PLease suggest me how should use names as wel as groups and validate them thru a single agene nd want to use input translation formulas also.

Subject: RE: Author Field problem…plzzzzzzzzzzzzz help me.

I can’t possibly answer that without knowing what you want the input translation formula to do and why you want to do it. I need to know why because probably whatever it is, you should not be doing it.

My recommendation is to not use an input translation besides @Unique(@Trim(@ThisValue)) for this type of field. Anything else you do to the names will only mess them up and make them not work properly for access control purposes.

Subject: Author Field problem…plzzzzzzzzzzzzz help me.

Hello,

Roles works great with Authors and Readers fields, you can set fields with Roles (Ex: [RoleGrp1] : [RoleGrp2] : … ), and associate your groups in LCA with these Roles respectively.

hope this helps

Subject: Author Field problem…plzzzzzzzzzzzzz help me.

I shouldn’t be consider an official source, but I don’t think groups will work.

Why? I don’t know but I guessed it would be a security risk because you could create the group in your local address book and then work offline and have access to the database.

The work around is to add the group to the ACL and give that group a particular Role. Then add that role to your “Names” field that ends up as part of the Authors / Readers Field.

I wasn’t sure if you said you were or were not storing the names in common name format. This is always bad idea as what happens when you have two people with the same name? I recently saw this happen with a user developed database.

If you user doesn’t wnat to see the /OU/O stuff then give them a Computed for Display field showing the Common Name but your actual Names field should have the full name format.