This is very strange behavior.

While it is possible to see LastModifiedDate in the Knowledge__kav object, it is not possible to reference it in a formula field. Why?

If we try to create a file LMD__c.field-meta.xml with a content

<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">

and try to deploy it using

sf force:source:deploy -m CustomField:Knowledge__kav.LMD__c

enter image description here

we receive an error Field LastModifiedDate does not exist. Check spelling. (52:13) but it definitely exists as we can read in this article.


What is wrong here?


You must log in to answer this question.

Browse other questions tagged .