{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":42217,"path":"platform-user-interface/content-management-system/t_CreateADynamicBlock.md","title":"Configure dynamic blocks","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure dynamic blocks\n\nUse dynamic blocks to use scripting or to pull information from the system. Dynamic blocks are where most of your content resides.\n\n## Before you begin\n\nRole required: content\\_admin or admin\n\n## About this task\n\nA good use of dynamic blocks is job postings. Store the postings in knowledge articles and display the postings with a dynamic block.\n\nSeveral dynamic blocks are predefined, including the following items.\n\n-   **New Content**: Each of the new content blocks allows for creating blocks while editing content pages.\n-   **Clean Login**: The default login page requesting user name and password, which includes a \"Remember Me\" check box. After the user logs in, this block triggers login rules.\n-   **Login**: An area that allows a logged out user to log in and a logged in user to log out. This block is especially useful on publicly available content pages.\n-   **Search**: The global text search field. Currently, global text search is the only form of search that can be included in a content page.\n-   **Search Results**: An area for displaying global text search results.\n\nFor information about Apache Jelly, see Jelly tags.\n\n**Note:** Dynamic Content Blocks in Content Management System are not automatically escaped. These blocks must implement their own content escaping \\(e.g., to protect against potential Cross Site Scripting attacks\\). For more information, see Jelly escaping types.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Content Management** &gt; **Dynamic**.\n\n2.  Click **New**.\n\n3.  Complete the Dynamic Content form.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|Type a unique name for the dynamic content block.|\n    |Category|Select a category to provide organization for the dynamic block. The category also determines the detail page in which dynamic block links open.|\n    |Frame|Select a border styling for the dynamic block. For more information, see [Format a frame](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/t_Frame.md).|\n    |Active|Select this check box to make the block available for use.|\n    |Conditional|Enter any scripted conditions to be applied. If selected, adds a Condition script field to the form.|\n    |Two phase|Select this check box to allow two phase Extensions to Jelly syntax.|\n    |Dynamic content|Enter the XML script field that determines the behavior of the dynamic block.|\n\n\n-   **[Catalog cart block](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/c_CatalogCartBlock.md)**  \nThe catalog cart block is a dynamic block provided in the base system.\n\n**Parent Topic:**[Types of content blocks](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/r_TypesOfContentBlocks.md)\n\n**Related topics**  \n\n\n[Configure a header block]()\n\n[Create a navigation menu block]()\n\n[Customize the list block]()\n\n[Configure a static HTML block]()\n\n[Configure Flash movie blocks]()\n\n[Configure content links]()\n\n[Configure iFrames]()\n\n[Configure a detailed content block]()\n\n[Content blocks](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/c_ContentBlocks.md)\n\n[Configure a content block](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/t_CreateAContentBlock.md)\n\n[View CMS block tags](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/t_CMSBlockTag.md)\n\n[Customize the list block](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/t_DefineTheListBlock.md)\n\n[Format an image as a static HTML block](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/content-management-system/t_AddAnImageAsAStaticHTMLBlock.md)\n\n"}}