tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/330-generate-a-page-from-a-block-via-workflow-definitionCascade CMS: Discussion 2018-10-18T20:36:11Ztag:help-archives.hannonhill.com,2010-02-09:Comment/52157752011-02-08T21:25:12Z2011-02-08T21:25:12ZGenerate a page from a block via workflow definition<div><p>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?</p></div>Rosstag:help-archives.hannonhill.com,2010-02-09:Comment/52157752011-02-08T21:44:11Z2011-02-08T21:44:11ZGenerate a page from a block via workflow definition<div><p>I created an index block that indexes specific blocks in a
folder.<br>
Within the XML of the index block, each block that is indexed has
a<br>
unique system-generated id. I would like to somehow generate a
page<br>
with the id as the name that also contains the block that is
identified<br>
by that ID.</p>
<p>For example, I have various blocks. I use an Index Block to
index them<br>
and generate the following XML:</p>
<p><system-index-block name="Article Index" type="folder"<br>
current-time="1297200948385"><br>
<system-block id="01faa2a0867e488e01664cde0ca4fdd1"><br>
Test Article<br>
/newsblocks/Test Article<br>
Highlighted News<br>
<system-data-structure definition-path="Highlighted
News"><br>
<highlighted_article><br>
<article_title>Test Article</article_title><br>
<visibility_level>Gateway</visibility_level><br>
<start_date>1297058400000</start_date><br>
<end_date>1322719200000</end_date><br>
<article_summary>test article
summary</article_summary><br>
<article_content>test article
content</article_content><br>
</highlighted_article><br>
</system-data-structure><br>
</system-block><br>
</system-index-block></p>
<p>Is there a way to automatically generate a page named<br>
01faa2a0867e488e01664cde0ca4fdd1.html from the system-block id
that<br>
contains the article_content?</p>
<p>James "Jamie <a href=
"http://people.jmu.edu/johns2ja">http://people.jmu.edu/johns2ja</a>"
Johnson, BBA, MA, A+<br>
<a href=
"http://certification.comptia.org/a/">http://certification.comptia.org/a/</a>,
ACHDS<br>
<a href=
"http://train.apple.com/certification/achds.html">http://train.apple.com/certification/achds.html</a>,
HDA<br>
<a href=
"http://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx">
http://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx</a>,<br>
HDM<br>
<a href=
"http://www.thinkhdi.com/certification/individualCertification/hdm.aspx">
http://www.thinkhdi.com/certification/individualCertification/hdm.aspx</a>,
MOS<br>
<a href=
"http://www.microsoft.com/learning/mcp/officespecialist/default.mspx">
http://www.microsoft.com/learning/mcp/officespecialist/default.mspx</a>,<br>
W3S/HTML <a href=
"http://www.w3schools.com/cert/cert_html.asp">http://www.w3schools.com/cert/cert_html.asp</a><br>
JMU Information Technology Web Developer<br>
Browser Detection and Test<br>
<a href=
"http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp">http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp</a></p>
<p>/"Test everything. Hold on to the good."/ 1 Thessalonians
5:21<br>
<a href=
"http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV">
http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV</a></p></div>Jamie johnsontag:help-archives.hannonhill.com,2010-02-09:Comment/52157752011-02-09T00:52:45Z2011-02-09T00:52:45ZGenerate a page from a block via workflow definition<div><p>Jamie,</p>
<p>There is not a way to auto-generate a page when that block is
created.<br>
Why not just store the content of the block as a Page? Page assets
are<br>
reusable in many of the same ways as blocks, and their data are<br>
separate from their rendered view. That means you'll be able to
reuse<br>
the article content in multiple templates. Is that the motivation
for<br>
using blocks?</p></div>Rosstag:help-archives.hannonhill.com,2010-02-09:Comment/52157752011-02-09T13:15:36Z2011-02-09T13:15:36ZGenerate a page from a block via workflow definition<div><p>Yes, that's the motivation. I'll use pages instead.</p>
<p>James "Jamie <a href=
"http://people.jmu.edu/johns2ja">http://people.jmu.edu/johns2ja</a>"
Johnson, BBA, MA, A+<br>
<a href=
"http://certification.comptia.org/a/">http://certification.comptia.org/a/</a>,
ACHDS<br>
<a href=
"http://train.apple.com/certification/achds.html">http://train.apple.com/certification/achds.html</a>,
HDA<br>
<a href=
"http://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx">
http://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx</a>,<br>
HDM<br>
<a href=
"http://www.thinkhdi.com/certification/individualCertification/hdm.aspx">
http://www.thinkhdi.com/certification/individualCertification/hdm.aspx</a>,
MOS<br>
<a href=
"http://www.microsoft.com/learning/mcp/officespecialist/default.mspx">
http://www.microsoft.com/learning/mcp/officespecialist/default.mspx</a>,<br>
W3S/HTML <a href=
"http://www.w3schools.com/cert/cert_html.asp">http://www.w3schools.com/cert/cert_html.asp</a><br>
JMU Information Technology Web Developer<br>
Browser Detection and Test<br>
<a href=
"http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp">http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp</a></p>
<p>/"Test everything. Hold on to the good."/ 1 Thessalonians
5:21<br>
<a href=
"http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV">
http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV</a></p></div>Jamie johnsontag:help-archives.hannonhill.com,2010-02-09:Comment/52157752011-02-09T14:39:28Z2011-02-09T14:39:28ZGenerate a page from a block via workflow definition<div><p>Jamie,</p>
<p>Just let me know if I can provide any help with retooling your
idea to use<br>
Pages!</p></div>Rosstag:help-archives.hannonhill.com,2010-02-09:Comment/52157752011-02-09T14:53:01Z2011-02-09T14:53:01ZGenerate a page from a block via workflow definition<div><p>Thanks, Ross!</p>
<p>I just implemented a page solution and it works much better than
my<br>
prior attempt.</p>
<p>James "Jamie <a href=
"http://people.jmu.edu/johns2ja">http://people.jmu.edu/johns2ja</a>"
Johnson, BBA, MA, A+<br>
<a href=
"http://certification.comptia.org/a/">http://certification.comptia.org/a/</a>,
ACHDS<br>
<a href=
"http://train.apple.com/certification/achds.html">http://train.apple.com/certification/achds.html</a>,
HDA<br>
<a href=
"http://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx">
http://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx</a>,<br>
HDM<br>
<a href=
"http://www.thinkhdi.com/certification/individualCertification/hdm.aspx">
http://www.thinkhdi.com/certification/individualCertification/hdm.aspx</a>,
MOS<br>
<a href=
"http://www.microsoft.com/learning/mcp/officespecialist/default.mspx">
http://www.microsoft.com/learning/mcp/officespecialist/default.mspx</a>,<br>
W3S/HTML <a href=
"http://www.w3schools.com/cert/cert_html.asp">http://www.w3schools.com/cert/cert_html.asp</a><br>
JMU Information Technology Web Developer<br>
Browser Detection and Test<br>
<a href=
"http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp">http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp</a></p>
<p>/"Test everything. Hold on to the good."/ 1 Thessalonians
5:21<br>
<a href=
"http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV">
http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV</a></p></div>Jamie johnson