Last active
July 20, 2020 16:50
-
-
Save mvogelgesang/f99512c1ac6d285042cc43c22ceaac61 to your computer and use it in GitHub Desktop.
Example Salesforce Content Type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ManagedContentType xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<description>A simple content type for Salesforce CMS</description> | |
<developerName>simple</developerName> | |
<managedContentNodeTypes> | |
<helpText></helpText> | |
<isLocalizable>true</isLocalizable> | |
<isRequired>true</isRequired> | |
<nodeLabel>Title</nodeLabel> | |
<nodeName>title</nodeName> | |
<nodeType>NAMEFIELD</nodeType> | |
<placeholderText></placeholderText> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<helpText>Main image that's shown at the top of the post</helpText> | |
<isLocalizable>false</isLocalizable> | |
<isRequired>false</isRequired> | |
<nodeLabel>Primay Image</nodeLabel> | |
<nodeName>primaryImage</nodeName> | |
<nodeType>IMG</nodeType> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<helpText></helpText> | |
<isLocalizable>true</isLocalizable> | |
<isRequired>true</isRequired> | |
<nodeLabel>Body</nodeLabel> | |
<nodeName>body</nodeName> | |
<nodeType>RTE</nodeType> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<isLocalizable>true</isLocalizable> | |
<isRequired>false</isRequired> | |
<nodeLabel>Excerpt</nodeLabel> | |
<nodeName>excerpt</nodeName> | |
<nodeType>MTEXT</nodeType> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<helpText>Shown as a tag text when a preview is rendered</helpText> | |
<isLocalizable>true</isLocalizable> | |
<isRequired>true</isRequired> | |
<nodeLabel>App Type</nodeLabel> | |
<nodeName>appType</nodeName> | |
<nodeType>TEXT</nodeType> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<helpText>Can be used to denote a piece of conent is "New", "Lightning Ready" etc</helpText> | |
<isLocalizable>true</isLocalizable> | |
<isRequired>false</isRequired> | |
<nodeLabel>Flag</nodeLabel> | |
<nodeName>flag</nodeName> | |
<nodeType>TEXT</nodeType> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<isLocalizable>true</isLocalizable> | |
<isRequired>false</isRequired> | |
<nodeLabel>Author Name</nodeLabel> | |
<nodeName>authorName</nodeName> | |
<nodeType>TEXT</nodeType> | |
</managedContentNodeTypes> | |
<managedContentNodeTypes> | |
<isRequired>false</isRequired> | |
<nodeLabel>Published Date</nodeLabel> | |
<nodeName>date</nodeName> | |
<nodeType>DATE</nodeType> | |
<placeholderText></placeholderText> | |
</managedContentNodeTypes> | |
<masterLabel>Example</masterLabel> | |
</ManagedContentType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<types> | |
<members>*</members> | |
<name>ManagedContentType</name> | |
</types> | |
<version>48.0</version> | |
</Package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment