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
wahoobiewahoobie 

Create Knowledge Article with specific Channel assignment in addition to Internal App

We are just getting into using the Knowledge app and it looks impressive with what we are throwing at it. One thing we have used is the custom APEX for the Article contribution from an agent so when they close a Case. I am passing data from our custom fields for a new Article creation along with the Category that maps to a Product (or Product Line) of the Case. It's allowing me to default some data that the agent would essentially be "re-picking".  I hate reentering known recorded data.

 

How can I allow custom APEX to include the Channel "Public Knowledge Base"?  Right now it always includes "Internal App" which I'd like to keep but include the 2nd selection along with it.  The example code I started from for all this was in the Online Help under "Example Apex Customization for Submitting Articles from Cases". Good stuff but I want more...

 

Any ideas on this? 

 

Much thanks.

Chris