Bug ? embedded view

I have an application that was developed in R5 but is being used by both R5 users and R6 users. The application on DominoR5

I use a computed field for selection of the embedded view

R5 users can see the embedded view but R6 users see the embedded view as a grey box with just the view name in it.

Has anyone seen this behavior before or know how I can fix this problem.

Subject: BUG ??? EMBEDDED VIEW…

make sure that the computed field has the right value of the view…It will show the gray box only if it is unable to find the view.

Subject: RE: BUG ??? EMBEDDED VIEW…

I used to a Lotus Script for calculating value of the computed field.I checked the value.The field has right value.

My Embedded view selection → value of computed field (The value is always string) + “abc”

If I use a formula instead of Lotus Script for value of the computed field.I see the Embedded view nicely !

Subject: It is a formula field

Hi Erkan,you must use a formula for the view name calculation. The only trick if you need LS: compute in the queryopen!!! and store the result in a field and point to that field.

:wink: stw

Subject: RE: It is a formula field

Hi Stephan.Thank you for advice.

But My LS is still in postopen.

Subject: RE: It is a formula field

Hi stephan.

If I put the LS in query open, I get this error.

“Property or method is not available during QueryOpen:FieldSetText”

So I use LS in postopen.

Thanks

Subject: RE: It is a formula field

In QueryOpen you can’t use the UIDoc functions. (Anyway best pratice: Don’t use them unless you ran out of options!). Any you need to set your fields BEFORE the postopen. Because Postopen fires AFTER everything has been rendered on screen. So if it works in R5 it’s actually an R5 bug!Use doc.Replaceitemvalue (where doc is the NotesDocument, not the NotesUIDocument) to set the value in the QueryOpen. That should help

:slight_smile: stw

Subject: BUG ??? EMBEDDED VIEW…

In ND6, since you can embed a view from another Notes application, you will see this grey box if the user in question does not have access to that application. You say, your application was developed in R5, hence embedding a view from an external application in to a Form is not a possibility. You might want to check if the view that has been embedded has a Read Access List defined, which is preventing the view to be launched in an user’s machine.

Subject: RE: BUG ??? EMBEDDED VIEW…

I install R6 Client.The Embedded view doesnt appear. After reinstal R5 Client to same user then the view appears !!

Note: I checked ACL.There isnt problem.