<dialogLinkDef> Element

The dialogLinkDef element is a member of the following categories:

Use the dialogLinkDef element to define the code for invoking a BI beans thin dialog, such as the Save As dialog, the Export Options dialog, or the Print Options dialog.

Note: There is no corresponding BI uiXML element that renders the dialogLink object. Instead, use any rendering component, such as a uiXML button or link, to render the dialogLink element.

Attributes

id -- (Required) A unique identifier for this element.

presentationId - (Required) Specifies the identifier of the presentationDef element with which a thin dialog is associated. For example, if this dialogLinkDef will invoke an Export Options dialog, then set the presentationId attribute to the identifier of the presentation that you want to export.

targetPage -- (Required) Specifies the page that contains the dialog uiXML element that is to be displayed.

targetDialogId -- (Required) Specifies the identifier of the associated thin dialog uiXML element. This identifier must be contained in the page that is specified for the targetPage attribute.

Usage notes

The dialogLinkDef element is a child of the biThinSessionElement and must be defined within the biThinSession.

Example

The following XML fragment uses the dialogLinkDef element to provide a button that initializes the Save As thin dialog. The code makes the following assumptions:


<!-- Definition within the biSession element --> <bibeans:dialogLinkDef id="saveAsBtn1" presentationId="pres1" targetPage="SaveAs1.uix" targetDialogId="saveAs1" /> <!-- Display of a Save As button in the UI tree section --> <!-- using a UIX button that refers to the id of the dialogLinkDef --> <button text="Save As" data:onClick="saveAsBtn1@bibeans:bisession1" />