+ Start a Discussion

Ant Deploy problem with Knowledge Article Page Layouts - Cannot specify: detailHeading for Layout of a Knowledge Article Type


Has anyone seen the following error when trying to deploy a Knowledge Article page layout:

Cannot specify: detailHeading for Layout of a Knowledge Article Type

My page layout looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<Layout xmlns="http://soap.sforce.com/2006/04/metadata">

I've tried removing the detailHeading tag altogether as well as changing the value between true and false but to no avail. 
I also tried with a package.xml version of 29.0, 30.0 and 31.0 and they all had the same behaviour.
Any suggestions would be hugely appreciated.

ShashankShashank (Salesforce Developers) 
Salesforce R&D are made aware of this issue and they are working on it. As of now, there is no ETA yet. This has been identified for layouts with formula fields included. You can probably try removing the formula fields. Another workaround would be to manually deploy article type layouts which have formula fields until this is fixed.
Marcel dos SantosMarcel dos Santos
I'm trying to deploy a change set with a Knowledge Base article type layout and I'm getting that same error.

Did you ever find a solution for this problem?
Hey Marcel - no I never got a resolution to this error and ended up having to deploy those layouts manually.