Hi All,
I am a new developer in PW area. Recently I encountered a problem as my title said. I have a flat set which I know its projectid and docmentid, I tried to use aaApi_GetSetIdsByMasterDoc but not success. Who can give me an example for this function? Or another function to do this?
Thanks, Xue
I assume that the set is a document. Use aaApi_SelectDocument or aaApi_SelectDocumentDataBuffer to get the document information. then use either aaApi_GetDocumentNumericProperty for the former and aaApi_DmsDataBufferGetNumericProperty for the latter. Use DOC_PROP_SETID as the property to fetch.
Answer Verified By: xue.yulian
Thanks Dean,
It is a so direct and simple method but I don't find it. I originally think set document itself is not a child doc in set, so I don't try this approach.
Thank you again. Xue