Generate a page from a block via workflow definition

James's Avatar


08 Feb, 2011 08:37 PM

I've been researching how to generate a page from a block via workflow definition. I am not finding a clear way to do it. What I would like to do is take the block id and generate a page with the id as the name of the page. Is this possible?

  1. 1 Posted by Ross on 08 Feb, 2011 09:25 PM

    Ross's Avatar

    There is no workflow trigger geared to do something this specific. Can you describe the usage scenario you have in mind, and I might be able to suggest some other ways to accomplish the task?

  2. 2 Posted by Jamie johnson on 08 Feb, 2011 09:44 PM

    Jamie johnson's Avatar

    I created an index block that indexes specific blocks in a folder.
    Within the XML of the index block, each block that is indexed has a
    unique system-generated id. I would like to somehow generate a page
    with the id as the name that also contains the block that is identified
    by that ID.

    For example, I have various blocks. I use an Index Block to index them
    and generate the following XML:

    <system-index-block name="Article Index" type="folder"
    <system-block id="01faa2a0867e488e01664cde0ca4fdd1">
    <name>Test Article</name>
    <path>/newsblocks/Test Article</path>
    <site>Highlighted News</site>
    <system-data-structure definition-path="Highlighted News">
    <article_title>Test Article</article_title>
    <article_summary>test article summary</article_summary>
    <article_content>test article content</article_content>

    Is there a way to automatically generate a page named
    01faa2a0867e488e01664cde0ca4fdd1.html from the system-block id that
    contains the article_content?

    James "Jamie <>" Johnson, BBA, MA, A+
    <>, ACHDS
    <>, HDA
    <>, MOS
    W3S/HTML <>
    JMU Information Technology Web Developer
    Browser Detection and Test

    /"Test everything. Hold on to the good."/
    1 Thessalonians 5:21

  3. 3 Posted by Ross on 09 Feb, 2011 12:52 AM

    Ross's Avatar


    There is not a way to auto-generate a page when that block is created.
    Why not just store the content of the block as a Page? Page assets are
    reusable in many of the same ways as blocks, and their data are
    separate from their rendered view. That means you'll be able to reuse
    the article content in multiple templates. Is that the motivation for
    using blocks?

  4. 4 Posted by Jamie johnson on 09 Feb, 2011 01:15 PM

    Jamie johnson's Avatar
  5. 5 Posted by Ross on 09 Feb, 2011 02:39 PM

    Ross's Avatar


    Just let me know if I can provide any help with retooling your idea to use

  6. 6 Posted by Jamie johnson on 09 Feb, 2011 02:53 PM

    Jamie johnson's Avatar
  7. Ross closed this discussion on 09 Feb, 2011 03:28 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM