Turn off headline, summary, contact name etc in News asset builder


(John) #1

Matrix Version:

Hi gang,

Working on an asset builder that creates news assets.

I would like to turn off the summary, contact name & headline by default on any created news items.

Is there a way to set this within the asset builder? Or do I need to create a custom paint layout which only pulls in the fields I want?

Thanks for your help!


(Tbaatar) #2

Hi John,

In the asset builder you can do it by enabling ‘Create Form Customisation’ option from the details screen of the Asset Builder. This will create a new Content underneath the Asset Builder called ‘News Item Create Form Layout’.

From here you can use the following keywords:

Show Headline: %details-F_show_headline%
Show Summary: %details-F_show_summary%
Show Body: %details-F_show_body%
Show Contact Name: %details-F_show_contact_name%
Show Contact Phone: %details-F_show_contact_phone%

Only the Headline is a required field. The rest are optional.
You will need to create Paint Layout in order to print out the necessary content.


(Bart Banda) #3

Yes, one way is to customise the build layout and automatically set those values to No using JS.

The other way would be to do it using a Trigger and using the Set Attribute action for news items when the asset is created: