Group in Readers field and Authors field

Please, please, help. i’m going nuts trying to get this to work.

I inherited a database that is accesed via the Web and the Notes client. On the form used to create the documents, is a computed Readers field and a computed Authors field. The Authors field is populated by a formula that gets a user name from other fields on the doc. This is the person who can read it from the Web. The Reades field is populated by a formula which puts the name of a Role in it. This role is used by all who acces the database with the Notes client.

My problem is this:

I created a Goup on the server named “Web”. I updated the formulas for both the Readers and the Authors field, so that they also include the group named “Web”.

I opened a few documents put them in edit mode and hit F9 to refresh and then save the doucments. I then used the Notes client to check the properties of those documents I refreshed and saw that both the Readers and Authors field now includes the group name “Web”. I added a user to the "Web’ group.

When I now log in to the databse via the browser using the user that is in the “Web” group, it denies me access when I try to open the document. I can see the documents in the view but when I try to open them, I get “The page can not be displayed” error returned from the browser.

CAN SOMEONE PLEASE HELP WITH SOME SUGGESTIONS AS TO WHAT IS GOING ON? THANK YOU!!!

Subject: Group in Readers field and Authors field

“I can see the documents in the view”

Then you must have read access to the documents, and your error message is unrelated to your Authors and Readers fields.

Subject: RE: Group in Readers field and Authors field

Thank you for responding so quickly. Then what do you suppose the problem can be? I seem to have read about this somewhere that you can see that docs at the view level but not able to open them. The browser message also says “HTTP 500 - Internal server error. Internet Explorer”

Subject: RE: Group in Readers field and Authors field

you can only see documents in a view to which you have read access.

the internal server error message sounds like a formula language coding error. Are you using IE, and if so, do you have the (entirely useless) option to show “friendly” error messages enabled, which may be hiding from you an explicit error message that might indicate exactly the problem?

Subject: RE: Group in Readers field and Authors field

I just noticed this message on the server console when I try to open the document. I did not make any changes to views, ect.

“HTTP Web Server: Lotus Notes Exception – A view of htat name can not be found in the specified database [/Test/FleetMan TEST.nsf b100034kdsdd100k0kkkkkwwe030300sjdefsdoiwfiwjijieds?OpenDocument]”

What do you think?

What

Subject: RE: Group in Readers field and Authors field

Kenn,

Sounds like you are doing an @db and maybe you have the wrong view name? Or the wrong db name? Or you’re using a server name and it wants “” there instead for a web application?

regards,

raphael

Subject: RE: Group in Readers field and Authors field

The strange thing is that it was working a couple of days ago and all of a sudden this started happening. I will check your suggestions.

Subject: RE: Group in Readers field and Authors field

How do you try to access this document? Given that this has not been truncated by this forum, the link

/Test/FleetMan TEST.nsf b100034kdsdd100k0kkkkkwwe030300sjdefsdoiwfiwjijieds?OpenDocument

is by no means a valid link to open a document. First of all, the blanks before and behind “TEST.nsf” have to be slashes. Next, I have no idea where this spooky string comes from. Instead you either need the name of the view here, another slash and the content in the first sorted column of this view, or any placeholder for a view name and the documents unique ID. So,

/Test/Fleetman/TEST.nsf//?OpenDocument

would be fine, just as

/Test/Fleetman/TEST.nsf//?OpenDocument

Subject: RE: Group in Readers field and Authors field

I am sorry. I just made that document string up as I had no way of easily copying it from the server console. Thanks and sorry for the confusion. I still need to figure out why it’s not letting me open the document.

Subject: RE: Group in Readers field and Authors field

“A view of that name cannot be found” usually means that the logged-in user doesn’t have access to that view - or that the view really doesn’t exist ;-).

Check the last tab of the view properties (the key) and check if the group “Web” has access to that view.

Subject: RE: Group in Readers field and Authors field

Thank you. I checked the view properties and the “Web” group does have access - All readers and above.

I think this is the most frustrating problem I have ever had with Notes development.

Do you think it has anything to do with that I have this view embedded in a form as a Single Categorized View. For the Show Single Category, I use the username to match on the first coloum of the view. The form with the view works, I just can’t open the documents.

Subject: RE: Group in Readers field and Authors field

Single category views categorized after user names work perfectly well.

To rule out the view completely, use /0/ or /_/ or whatever you like as the view name. Doesn’t matter, as long as you provide a valid UnID (not a made up one :wink: ). Now, if you see the documents in the view, you definitely have reader access. So, what ever keeps you from opening them must be in the form. Could be Formula logic in computed fields or anything else the web user doesn’t have access to. Another example: Anonymous users with the right to read and write public documents cannot use forms, that use shared fields (because shared fields are never available for public access).

To nail it down, I would rename the original form and create a new empty one. Then add stuff from the real form up to the point where it breaks.

That’s the only idea I’ve got.