We are trying to use the new Salesforce DX paradigm and have created a org profile with knowledge enabled.

As we are using lightning, we also want check the Lightning Knowledge but: - It's not a selectable feature for the org, so we can't put it in the definition file; - If we do it manually, it doesn't pull into our source control.

How should we manage this? It's not very workable to manually enable lightning knowledge before pushing the source code to the org.

Thank you in advance.

  • You need to enable Knowledge User checkbox in user record.
    – Reshma
    May 30, 2018 at 11:43
  • Don't understand. If I check knowledge user, the "Enable Lightning knowledge" setting will be synchronized to source control?
    – Joao Sousa
    May 30, 2018 at 13:32
  • I am also having same issue. I have pulled knowledge.settings file. Created a new scratch org and pushed knowledge settings file. It added the settings, but when I click on user, I do not see knowledge user checkbox selected. Is there anything I am missing here.
    – Balu
    Jul 20, 2018 at 2:03

1 Answer 1


You need to include the enableLightningKnowledge tag in your src/settings/Knowledge.settings file. This will enable it for the org, not just the user. Notice that it is different than just enabling Knowledge.


What's frustrating is that this setting is not called out in the metadata api documentation for KnowledgeSettings

I discovered this by manually enabling this setting in a sfdx scratch org and did a sfdx force:source:pull

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .