Hello all.
Can someone please help me with embedded views??
I have created a basic set of forms that store input from an end user making enquiries.
On each of the forms, i have added an embedded view to display the information based on what the end user has entered.
For example: Form A consists of fields asking the user to enter there contact details. There is a field that generates a unique ID number (when opened). There is a also field called status.
At the bottom of the form there is an embedded view with columns based on the fields used on the form. I have also categoriesed the user ID field in the view.
I have hidden the form away from the end user using the a formula @If(@IsNewDoc=1; “Composing”; Status).
When the form is submitted the status changes and the embedded view is displayed with no information.
Can someone please help me as I dont know what to do. Im not very experienced in Notes but willing to try anything to get this working.
Many Thanks,
Bill
Subject: Embedded View
Is this Notes or web? Is the embedded view expected to show the document, that was just generated through the very same form?
Subject: RE: Embedded View
Hi,
This is for Notes.
Basically the embedded view is expected to show some of the information that has been entered on the form such as the end users contact details. I have only selected some of the fields that i want to display the information for in the view.
Any help will be apreciated
Thanks
Subject: RE: Embedded View
I’m afraid, I still don’t get your setup.
Generally, for changes to what’s displayed in the embedded view become visible, you have to refresh the UI document. An @Command([ViewRefreshFields]) should do. If there is no trigger for that code, you might have to add a refresh button, even if it’s not very elegant.
You’re talking about a couple of forms, but I still don’t see, what documents should appear in each of the embedded views. Also, from reading your postings, I’m not sure if you are completely aware of the difference between a form and a document. If the above still does not solve your problem, you might want to add some more detail or come up with a simplified example.