Hi CQ Experts!
I have one difficulty to remove reference between Parent and Child. There is manually process where you can go / get the parent ID and ---> Modify action go to Child list view / select Child ID ---> select "Remove" and save.
This is manual effort,i would like to do it by clever script. Are there any CQ API available to remove reference link between Parent and Child ?
Are there any ways to remove reference between parent / child ?
Requesting you all to give some input so that i can proceed further
Many thanks in advance
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2012-12-13T11:16:05Z by Lumart
Pinned topic Disassociate child record from Parent / Remove Child reference by API ?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-13T11:16:05Z at 2012-12-13T11:16:05Z by Lumart
Lumart 120000GQG687 PostsACCEPTED ANSWER
Re: Disassociate child record from Parent / Remove Child reference by API ?2012-12-13T11:16:05Z in response to SystemAdminFor reference_list fields, use the DeleteFieldValue method of the $entity object (the value to provide to the method as the second parameter is the unique id of the child).
For reference fields (although this is not a "true" parent-child relationship), just empty the field with a SetFieldValue call.