| Previous | Next |  | Contents | Index | Glossary

## set_document_id_html

Syntax

`procedure set_document_id_html`

        (frame_name in varchar2,

         form_name in varchar2,

         document_id_field_name in varchar2

         document_name_field_name in varchar2,

         callback_url out varchar2);

Description

Returns a callback URL that gets executed when a user selects a document from the DM system. Use this procedure to set the document that is selected from the document management Search function to the specified destination field of an HTML page. The destination field is the field from which the user launches the DM integration screen to attach a document. Pass the returned callback URL as an argument to the get_launch_attach_url API.

Arguments (input) | frame_nameThe name of the HTML frame that you wish to interact with in the current UI.
form_name | The name of the HTML form that you wish to interact with in the current UI.
document_id_field_name | The name of the HTML field in the current UI that you would like to write the resulting document identifier to. The resulting document identifier is determined by the document the user selects from the document management Search function. The document identifier is a concatenation of the following values:
| DM:<`node_id`>:<document_id>:<version>
| <nodeid> is the node ID assigned to the document management system node as defined in the Document Management Nodes web page. See: To Define a Document Node.
| <documentid> is the document ID of the document, as assigned by the document management system where the document resides.
| <version> is the version of the document. If a version is not specified, the latest version is assumed.
document_name_field_name | The name of the HTML field in the current UI that you would like to write the resulting document name to.

| Previous | Next |  | Contents | Index | Glossary