I have a form with a single category embedded view that the majority of the time displays its content, but sometimes when opening the document the embedded view is blank. If the document is reopened the contents are displayed.
Does anyone know what causes this and if theres a solution?
Thanks in advance
Matt
Subject: Embedded View not displaying
When a blank run occurs, does the view display content as expected if you press F9? If yes, you could issue a uidoc.refresh in the postopen event of that form.
Subject: RE: Embedded View not displaying
F9 doesn’t work to restore the embedded view’s content. thers no uidoc.refresh in the postopen event either??
Subject: Embedded View not displaying
When it happens, is it possible the value for theselection category is not set? But calculated after you open the document and then saved. Therefore the next time you open the document it appears to work fine.
Just a thought.
Do you see the Message in the status bar, “Category not found.”
Subject: RE: Embedded View not displaying
The value for the category selection is based on a field (Document id) from the form which is set when the document is composed. Having said that I have seen the message “Category not found.” in the status bar.
Subject: RE: Embedded View not displaying
The DOCID is “set” when composed but has a different value once saved. Could this be your problem?
Check to see what the DOCID is you’re looking for and what it is on the documents the embedded view is using. I’m guessing they are different.