The <behavior> tag is missing in Knowledge layout

You might notice that when working with Copado, the tag <behavior> is missing when committing in Knowledge layout.

If you create a custom field under the Knowledge object and you want to set it as "Required" in the Knowledge__kav-Knowledge Layout, you can see how this <behavior> tag is not being committed to the Feature Branch in the Knowledge layout in Git.

This seems to be the standard behavior of the metadata API for this tag since is not being retrieved.

You can test the same by retrieving the Knowledge layout in ANT or Workbench. You can use the following manifest to accomplish this:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Knowledge__kav-Knowledge Layout</members>
        <name>Layout</name>
    </types>
    <version>49.0</version>
</Package>





How did we do?