This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Jun 14, 2014, 2:39 PM
18 Posts
topic has been resolvedResolved

Workspace.Refresh

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: Workspace,Refresh
  • Replies: 1

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?

Jun 18, 2014, 2:30 PM
10 Posts
you are in a form --> no viewrefresh available...
If the view is set to refresh automatically it's enough to reload the uidoc.

        Call workspace.CurrentDocument.Reload
        Call workspace.CurrentDocument.Refresh()

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal