Skip to content
SFDCian – Best Salesforce Consultant & Architect
  • Home
  • My Salesforce Implementation
  • Training Programs
  • Articles
    • Zendesk to Salesforce Service Cloud Migration
    • Apex
    • Apex Coding Best Practice
    • Apex Trigger Execution
    • How to become an Architect
  • About
  • Contact
Search
SFDCian – Best Salesforce Consultant & Architect
  • Home
  • My Salesforce Implementation
  • Training Programs
  • Articles
    • Zendesk to Salesforce Service Cloud Migration
    • Apex
    • Apex Coding Best Practice
    • Apex Trigger Execution
    • How to become an Architect
  • About
  • Contact

Create a Knowledge Base Article from Apex Dynamically without knowing article type API name

10 Comments / Salesforce, Uncategorized

Here is the apex code to to achieve the same. Run in dev console then use in your test class or anywhere else you want:

Knowlegebase Mass Publishing

apex, Data Migration, Knowledge, Salesforce, Uncategorized

PROBLEM STATEMENT SOLUTION Below given solution is use to Apex script to query Knowledge and make change and then publish in mass. This peice of code further can be used anywhere in Anonymous Window (Developer Console –> Debug –> Open Execute Anonymous window) or Apex Class/Trigger. Query Published articles and make desired changes (skip if …

Knowlegebase Mass Publishing Read More »

Email

Learn

  • Home
  • Request For Services
  • Apex Trigger Practice
  • Tooling API
  • Blog
  • Write For Us
  • Privacy Policy

Copyright © 2025 SFDCian - Best Salesforce Consultant & Architect | Powered by SFDCian - Best Salesforce Consultant & Architect