So how to retrieve Folders under Contribution Folders, without depending on IDs, the answer is using COLLECTION_DISPLAY service with the following parameters:
<$dCollectionPath="/Contribution Folders/"$>
<$hasCollectionPath=1$>
<$executeService("COLLECTION_DISPLAY")$>
<$hasCollectionPath=1$>
<$executeService("COLLECTION_DISPLAY")$>
Notice hasCollectionPath took value equal 1 which means true in IdocScript.
2 comments:
HI, you can use FolderStructureArchiver to migrate collections to production, rihgt? THus, you can keep the collection ids.
You can use it however You cannot guarantee it because if the structure has been changed by users it may affect your backup by some way or another
Post a Comment