Quantcast
Channel: Active questions tagged fields - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 63

What is the point of having field IsVisibleInApp on Knowledge__kav if it is always defaulted to true?

$
0
0

What is the point of having field IsVisibleInApp on Knowledge__kav if it is always defaulted to true?

Per documentation,

https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm

IsVisibleInApp  Type : booleanProperties: Defaulted on create, Filter, Group, SortDescription: Required. Indicates whether the article is visible in the Articles tab (true) or not (false).

Looks like this field is not available for editing, which means it is readonly and it is always defaulted to true, every article is visible in the Articles tab.

Then what is the point of having a field which always returns true?

If we try to create a record with this field value set to false, we will receive an error saying "Field is not writeable: Knowledge__kav.IsVisibleInApp"enter image description here


Viewing all articles
Browse latest Browse all 63

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>