I have a button in a Notes database that creates a response document. I have a single category embedded view that has the responses in it. The view is based on a computed field that is set when the document is saved the first time. The button is not available until after the document is saved for the first time (its needed further down the workflow, not when the form is first created).
When I click the button and create the first response document, it does not show up in the view. When I create another response, both show up in the view. Or I can click F9 the first time to make the response show up.
Why won’t it refresh the first time? I’ve been through the forum and haven’t found an answer that works for me!!!
Subject: Single Category Embedded View Refresh 1st Time
I too have encountered the strange behaviour; My solution has been to place an “Update”-button that saves the doc, switches to readmode and then back to editmode. This seems to be the only way to update the embedded view.
In one application I did the whole line of actions in one button; create response and on save on the response it saves the maindoc, close the response, switch from edit- to read-mode and back in one go.
All this in LS…
I wish there could be an easier way to work with embedded views, but I haven’t found any…
hth
Subject: RE: Single Category Embedded View Refresh 1st Time
Not very elegant, but it works. I just don’t understand why it doesn’t refresh the 1st time but does all the times after.
Subject: RE: Single Category Embedded View Refresh 1st Time
I think the problem is that the category doesn’t exist before you enter the first document, so the view needs to be reloaded rather than merely refreshed.