Please provide few tips for the above question. Its critical in-order to proceed further.
Thanks in advance.
1 person found this helpful
Unfortunately the COLLECTION_COPY_ITEM does not have return data to know the content ID created in the destination folder. Is duplication absolutely necessary in the first place, can't you have a shortcut created in the destination folder. This way the shortcuts are handled using separate tables in the DB, you can look up to the table and get the list of shortcuts in a particular folder and more importantly avoid duplication and new content ID issue.
Hope this helps
I have used IDC Command to copy files from source to destination using COLLECTION_COPY_ALL. It almost same as ITEM.
Have you used the attribute
So that the file will be copied to specified destination.
try and let me know.
COLLECTION_COPY_ITEM does not create a new content item but it moves the item from Folder1 to Folder2 , so all that changes w.r.t the content item is it 's xCollectionID and dCollectionPath .
Rest all details and metadata remains the same , so if you execute DOC_INFO on this item with the same dID then DOC_INFO resultset will have the dDocName value.
If you are looking for creating the same content item as a new one in another folder then content cloning should be done . This can be achieved using COPY_REVISION service call .
Details for the service and it's RIDC implementation / sample code is provided here : http://jonathanhult.com/blog/2013/04/clone-content-webcenter-content-11g/
Hope this helps .
With same dID in the sense , dID of the folder 1's item? Wont that return all the values of it rather than the new one? I need the new one's content ID and dID.
After executing the service COLLECTION_COPY_ALL will i be able to fetch the content ID of the item checked in the destination? Is there any metadata field which i can make use from some of its resultset to fetch the new contentID? Which resultset of COLLECTION_COPY_ALL and metadata field has the value?
Hi Bharath ,
I think this is a repition of the same post which is related to collection copy item . Appreciate if we can avoid duplicate posts .