Notes 8.0.1 does not show embedded view

Hi all

a formula code open a form with an embedded view from another database.

everything show fine under a v6 or v7 client, but the v8 client does not show the embedded view content until i press F9.

the code, the view, the form were all designed under a v6.5.4 french designer.

do you know a way to bypass or correct the bug ?

Subject: try this

Could try refreshing the form automaticly when openen.

@Command([VIEWREFRESHFIELDS])

or UiDocument.reload()

Subject: view refresh

Thanks,

i’m trying now…

edit:

tried both on the form with embedded view, on onload and queryrecalc events.

nothing happen if i do not press F9.

Subject: Check field position

Does your embedded view use a single category calculated by a field later processed on the form than the e-view? If so, move the field up or even try filling it in the queryopen.

Subject: view refresh

the view is effectively restricted to category by the content of a field up the view (it’s the second field on the form, then the view)

the content of the field come from the first document which open the form by clicking a button with this code:

@Command( [Compose] ; ServerName : BusinessDbname ; “(WAffairesEnCours)”)

and the restrict to category of the embedde view contains:

AccountName

which is the second field on the form.

i’ll try to move this field on the top of the form.

Subject: re

unhide those fields, see if they are filled when you open the form the first time.

Subject: fields

the first field is SaveOptions.i’ve unhide it and it is well calculated.

the second: AccountName was not hide and is always well calculated.

Subject: almost working

i’ve just tried to put @Command([VIEWREFRESHFIELDS])

in the queryrecalc event of the form loaded and the view is visible now but i got this message:

attempted execution of nested event mask

(google traduction)

Subject: found the solution…thanks for help

Ok, you put me on the way to resolve the problem.

the AccountName field was “computed for display”, and this is working on V6 or V7 client.

but with a V8 standard client, it had to be just “computed” and now the view is appearing well in the form without refreshing or reloading anything.

many thanks for the help.