In my current task, after creating a new rich project I create its underlying subfoldersby copying them from one of our project templates using aaApi_CopyProjectWithHierarchy(). Theprocess works fine except that the saved searches under the 'Global' folder of the templateare not copied.
The flags I set are
vFlags = AAPRO_ARRAY_TAKE_OWNERSHIP | AAPRO_ARRAY_ATTRIBUTES | AAPRO_ARRAY_COMPONENTS | AAPRO_ARRAY_COPY_VERSIONS | AAPRO_ARRAY_COPY_WORKFLOW | AAPRO_ARRAY_COPY_SAVED_SRC | AAPRO_ARRAY_COPY_WS_PROFL | AAPRO_ARRAY_COPY_ACCESS | AAPRO_ARRAY_COPY_RESOURCES | AAPRO_ARRAY_COPY_STORAGE | AAPRO_ARRAY_COPY_CONTENTS; I then call the function with
aaApi_CopyProjectWithHierarchy(vSourceId,vTargetId,AAPRO_ARRAY_EXCLUDE_PARENT,vFlags,NULL,NULL,&vCount);
My company is using PW V8i, select series 3. The SDK is also SS3.
Any guidance you could provide would be greatly appreciated.