What is the function to get the URN/URL for all set members

Hi all, what's the most efficient method to get the document URN.

In the exportFlatSet
First get the SetCount:
       LONG    lSetCount = 0;
       lpctstrSetName = aaApi_GetDocumentStringProperty(DOC_PROP_NAME, 0);
       tmpSetName.Format(_T("%s"), lpctstrSetName);
       lSetCount = aaApi_SelectSet(lSetId);
Secondly,
We loop thru all set members like so

       for (cindex = 0; cindex < lSetCount; cindex++)
       {
              lDocumentId = aaApi_GetSetNumericProperty(SET_PROP_CHILD_ITEMID, cindex);
              lChildVaultId = aaApi_GetSetNumericProperty(SET_PROP_CHILD_PROJECTID, cindex);
              aaApi_SelectDocument(lChildVaultId, lDocumentId);
              lpctstrDocName = aaApi_GetDocumentStringProperty(DOC_PROP_NAME, 0);
              lpctstrFilename = aaApi_GetDocumentStringProperty(DOC_PROP_FILENAME, 0);
              currDocName.Format(_T("%s"), lpctstrDocName);
              currFilename.Format(_T("%s"), lpctstrFilename);
              lColCount = 0;
              lRecCount = aaApi_SelectLinkDataByObject(lTabNo,
                     AADMSLDT_DOCUMENT,
                     lChildVaultId,
                     lDocumentId,
                     NULL,
                     &lColCount,
                     NULL,
                     0);
Q: What is the function to get the URN/URL for all set members from VaultId\ DocumentId??   Update, looks like this would be the direction? aaApi_GetDocumentGuidProperty ???
Parents Reply Children
No Data