A Document Author want to assign user A and user B to see his document X in view when he create document X by form, meanwhile,others can’t find docuemnt X in view. next time,this document author would like to assign user C and user B to see his document Y when he create document Y by the same form but others can’t find document Y in view.
Who knows how to accomplish this? anybody ever coded this?
There is also a great article in the forum FAQ called “The Compleat Authors and Readers Field Troubleshooter” that makes things a little clearer than the help DB does:
So you don’t want users to be prohibited from seeing the document in other views or from retrieving data from it via lookups, etc? You just want to let one user control which other users can see which documents in one view? Then your question now becomes a variation on that ages-old chestnut: How do I write a user-sensitive view selection formula? In this case, I’d say that a desktop-private-on-first-use view is the best solution, with the selection formula depending on whether @ismember(@username; FieldThatListsAuthorizedViewersByName). If no document will ever be visible to everyone, you could also get away with a shared view categorized by that field, and display that view embedded in a form using a single category formula or else use @setviewinfo – but that’s a pretty big “if.”