Migrate Data (Course/Uploaded PDF, Videos/Assessments/Resource etc ) from one channel to another #46
-
Background Can you please let us know the steps of data migration. Approaches -
@amit-tarento Can you please help us. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you want to completely change ownership of the current contents, then org and user related fields (channel, createdFor, createdBy, lastUpdatedBy, lastPublishedBy, etc.) data have to be properly updated with the new Org and user details using "SYSTEM UPDATE API" (non-public API: {{host_pt_kong}}/system/v3/content/update/do_Id). Regarding, bulk upload script, we don't have one. You can create a script which first filters for the desired result of content Id using "composite/content search API" and use the result as input to next set of decided course of action. |
Beta Was this translation helpful? Give feedback.
If you want to completely change ownership of the current contents, then org and user related fields (channel, createdFor, createdBy, lastUpdatedBy, lastPublishedBy, etc.) data have to be properly updated with the new Org and user details using "SYSTEM UPDATE API" (non-public API: {{host_pt_kong}}/system/v3/content/update/do_Id).
If you are ok with dupicate copies of these contents, then as you have mentioned, "copy content API" can be used.
Regarding, bulk upload script, we don't have one. You can create a script which first filters for the desired result of content Id using "composite/content search API" and use the result as input to next set of decided course of action.