Matrix Version:5.4.3.1
Using this xml with the ‘Import Assets from XML’ tool…
<actions> <action> <action_id>set_Bodycopy_Div_attributes</action_id> <action_type>set_attribute_value</action_type> <asset>261176</asset> <attribute>attributes</attribute> <value><![CDATA[array ( 'identifier' => 'Map', 'layout_type' => 'none', 'css_class' => '', 'content_type' => 'content_type_wysiwyg', 'template' => '206395' );]]></value> </action> <action> <action_id>set_Bodycopy_Div_template_applied</action_id> <action_type>set_attribute_value</action_type> <asset>261176</asset> <attribute>template_applied</attribute> <value><![CDATA[true]]></value> </action> </actions>
and it does apply those details to the content container…
However, it does not update the ‘Template’ field on the ‘Details’ screen for the content container:
As this has not been updated, the various schemas and layouts associated with the container template are not applied and we have to go in and do this manually.
Is there a way to set the ‘Template’ field on the details screen via the xml, webservice or trigger?