Designer 10.7 | webMethods Service Development Help | Working with Variables | Creating a Document Reference or a Document Reference List Variable
 
Creating a Document Reference or a Document Reference List Variable
You can use an IS document type (including a publishable document type) to build a document reference or document reference list field. By referencing an IS document type instead of creating a new one, you can reduce the time required to create fields and maintain better consistency for field names. You might find referencing fields especially useful for information that is repeated over and over again, such as address information.
Keep the following points in mind when using IS document types to create document references or document reference lists.
*If you are creating a document reference or document reference list field based on an IS document type, you cannot directly add, delete, or modify its members in the Input/Output tab. To edit the referenced document or document list, select it in the Package Navigator view, lock it, and then edit its fields in the editor.
*You can also add a document reference by dragging an IS document type from the Package Navigator view to the Document Type editor.
*To use a document type to build a document reference or document reference list
1. In Package Navigator view, open the document type that you want to reference.
2. On the editor palette, click and drag one of the following into the editor window:
Click and drag...
To...
Document Reference
Create a document field based on an IS document type.
Document Reference List
Create a document list field based on an IS document type.
3. In the Element Name field, type the fully qualified name of the IS document type or select it from the list.
4. Click OK.
5. Type the name of the field.
6. Click File > Save.
Related Topics
Variable Properties
About Variable Constraints