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
James LoghryJames Loghry 

Knowledge article / solution fields hidden in preview of draft and not preview of online articles

Is it possible to enable fields for a Knowledge article that is previewed when PublishStatus='Draft' ?

 

I have the following link where hardly any of the fields are populated for the Article preview.  The exception being lastmodified date I believe.

 

https://tapp0.salesforce.com/knowledge/publishing/articlePreview.apexp?id={id}&popup=true&pubstatus=d&preview=true

 

When I change the link to include an online article instead, the fields populate fine.

 

https://tapp0.salesforce.com/knowledge/publishing/articlePreview.apexp?id={0}&popup=true&pubstatus=o&preview=true

 

Why are certain fields hidden from draft articles in preview state vs. online articles?  Can I get around this, or will I be forced to implement a custom VF solution?

 

Thanks.

Best Answer chosen by James Loghry
francoisLfrancoisL

Hi James,

 

 

Fields visibility are the same whatever if you show the article in draft/preview or in online mode. Did you create a custom VF article template or are you using the standard article display?