I have custom field on Knowledge object. And made that custom field as required on Knowledge page layout. When I deploy using ant from one sand box to another that custom field is not effected(means it still not mandatory filed) on knowledge page layout. In meta data I have added 'Required' tag manually but I could not deploy it.



1 Answer 1


According to description in documentation :

Note: KAVs, attempting to explicitly specify UiBehavior will result in an exception.

This means that field <behaviour> tag is not allowed in Knowledge Article layout metadata.

There seems to be some limitation and there is also an Idea about this.

You could consider deploying this change as a manual step.

  • Thanks for the update Nov 13, 2019 at 2:29

You must log in to answer this question.

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