Main Content

view

View OSLC dialog in system browser

    Description

    example

    view(myDialog) opens the Open Services for Lifecycle Collaboration dialog myDialog in the system browser.

    Examples

    collapse all

    This example shows how to get and view an OSLC user interface dialog for a configured OSLC client.

    After you have created and configured an OSLC client as described in Create and Configure an OSLC Client for the Requirements Management Domain, get the available user interface dialogs in the requirements management domain of the client myClient.

    dialogs = getDialog(myClient)
    dialogs = 
    
      1×4 Dialog array with properties:
    
        dialog
        hintWidth
        hintHeight
        title
        resourceType

    Examine the properties of one of the dialogs. From the title, determine the resource type and if the dialog is for creating or selecting resources.

    myDialog = dialogs(1);
    title = myDialog.title
    title =
    
        'Requirement Creation'

    Open the dialog in a browser.

    view(myDialog)

    Input Arguments

    collapse all

    OSLC user interface dialog, specified as an oslc.core.Dialog object.

    Introduced in R2021a