function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pratik Surti 3Pratik Surti 3 

Article Type to Content Type?

Hi, I was just wondering if there is any way in Salesforce if we can clone/move Article Type to Content Type.

I have an article type and I want to create the same into content type. Is there any way to do so?
KevinPKevinP
You could probably do that with a one-off anonymous apex script. Or a batch job. You'll just need to identify the objects to query and create.

At a minimum, you'll want to review the ERD for Knowledge / articles here: https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_knowledge.htm

and the ERD for the Content objects: https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_content.htm#sforce_api_erd_content

Basically, you'll be querying for the article content you want, and then creating a series of content records.