I have a form with an embedded view. Upon selection of items in a Select Box on the form (uidoc), new forms (of a different type) are created and once created they will appear in the embedded view on the main form. (Hope this makes sense ?).
At the end of the script that creates the forms I call workspace.ViewRefresh to refresh the embedded view and display the newly created forms. I have used this method before and it has worked OK. On this occasion I receive an error message saying "Notes Error - Specified command is not available from the workspace".
I can't understand why this is occurring. I need to refresh the embedded view in the form currently in the workspace.
Any ideas as to why this error is occurring? Is there a better way to do this?