Generic functions
FSLIBIDMHELPER script library.
         getIDMXQuery
getIDMXQuery(DocCode As String, objSymbol As String, objKey As String, filename As String) As String
           | Input Parameter | Description | 
|---|---|
DocCode | 
              Document Code | 
objSymbol | 
              Optiva Symbol | 
objKey | 
              Optiva Object ID | 
filename | 
              File Name (optional) | 
GetDocCount
GetDocCount(DocCode As String, objSymbol As String, objKey As String) As Long
           | Input Parameter | Description | 
|---|---|
DocCode | 
              The IDM Doc Code to count documents from. | 
objSymbol | 
              
                The Optiva Object Symbol that to count documents from. For example, the symbol for the source object can be a Formula or an Item.  | 
             
objKey | 
              
                The Optiva Object to count documents from. For example, ITEM001 or FORMULA1\0001.  | 
             
GetDocuments
GetDocuments(DocCode As String, objSymbol As String, objKey As String, filename As String) As DocICP.CMItems
           | Input Parameter | Description | 
|---|---|
DocCode | 
              The IDM Doc Code to get documents from. | 
objSymbol | 
              The Optiva Object Symbol to get documents from. For example, the symbol for the source object can be a Formula or an Item. | 
objKey | 
              Optiva Object ID to get documents from. For example, ITEM001 or FORMULA1\0001. | 
             
filename | 
              The file name of the IDM documents. | 
GetDocuments
GetDocuments(idmQuery As String) As DocICP.CMItems
           | Input Parameter | Description | 
|---|---|
idmQuery | 
              An IDM Query to search for IDM Documents in IDM and retrieve the documents. | 
GetDocument
GetDocument(DocCode As String, objSymbol As String, objKey As String, filename As String) As DocICP.CMItem
           | Input Parameter | Description | 
|---|---|
DocCode | 
              The IDM Doc Code to get the document from. | 
objSymbol | 
              The Optiva Object Symbol to get the document from. | 
objKey | 
              
                The Optiva Object to get the document for given Doc Code from. For example,   | 
             
filename | 
              The file name of the IDM Document. | 
DeleteDocument
DeleteDocument(DocCode As String, objSymbol As String, objKey As String, filename As String)
           | Input Parameter | Description | 
|---|---|
DocCode | 
              The IDM Doc Code to delete the document from. | 
objSymbol | 
              The Optiva Object Symbol to delete the document from. For example, the symbol for the source object can be a Formula or an Item. | 
objKey | 
              
                The Optiva Object to delete the document from. For example,   | 
             
filename | 
              The file name of the IDM Document. | 
MakeItemCopy
Use this function to copy the specified IDM Document. It will return the new copy of IDM Document.
MakeItemCopy (cmItemToCopy As DocICP.CMItem) As DocICP.CMItem 
          | Input Parameter | Description | 
|---|---|
DocItem | 
             The IDM document (CMItem) to be copied. | 
            
MakeItemsCopy
Use this function to copy the specified IDM Documents. It will return the new copy of IDM Documents.
MakeItemsCopy (cmItemsToCopy As DocICP.CMItems) As DocICP.CMItems 
          | Input Parameter | Description | 
|---|---|
DocItems | 
             The IDM document (CMItems) to be copied. | 
            
ImportIDMConfig
Use this function to import the API Gateway file from a specific file path. It will configure IDM in the present database.
ImportIDMConfig (ionAPIFileName As String) As Boolean
          | Input Parameter | Description | 
|---|---|
ionAPIFileName | 
             
               This is a file path that contains the API Gateway file and the file name. This is an example of a file path with the API Gateway file: 
               |