tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/16199-i-need-to-get-a-print-out-of-every-page-including-non-indexed-onesCascade CMS: Discussion 2018-10-18T20:37:25Ztag:help-archives.hannonhill.com,2010-02-09:Comment/357919502015-01-15T17:45:47Z2015-01-15T17:45:47ZI need to get a print-out of every page including non-indexed ones<div><p>I need to create a tree of every single folder and page in a
folder. Unfortunately some of the folders are marked not to be
indexed. Is there a way around this? We have a separate instance we
can work on so if we need to make some updates to the sql server to
do this, we can.</p></div>ssuhtag:help-archives.hannonhill.com,2010-02-09:Comment/357919502015-01-15T18:17:36Z2015-01-15T18:17:36ZI need to get a print-out of every page including non-indexed ones<div><p>Hi,</p>
<blockquote>
<p>Unfortunately some of the folders are marked not to be indexed.
Is there a way around this?</p>
</blockquote>
<p>There isn't a way around this. If assets are marked to not be
indexed, you won't be able to get them to appear in Index Blocks
until that setting is toggled.</p>
<p>Since you have a test/development instance, you could
potentially just run a query in that instance to update the
indexing property to be true across all assets. That would look
something like this:<br></p>
<pre>
<code>update cxml_foldercontent set shouldBeIndexed = 1</code>
</pre>
Then, you should be able to create an Index Block that returns a
listing of all assets in your instance. You'll probably need to set
the 'max number of assets' and 'max size of index block' settings
to something very large along with the depth setting on the Index
Block itself.
<p>Also, as you are probably aware, indexing such a large number of
assets is generally not recommended as it will require a large
amount of resources to render. However, since I assume this is more
of a one-time 'report' you are trying to generate, you should be OK
setting this up in a non-production environment.</p>
<p>Let me know if this helps!</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/357919502015-01-26T17:52:07Z2015-01-26T17:52:07ZI need to get a print-out of every page including non-indexed ones<div><p>Hi,</p>
<p>Will you consider using web services and tree traversal? See
<a href=
"http://www.upstate.edu/cascade-admin/projects/web-services/oop/classes/asset-tree/index.php">
AssetTree</a> (especially the
<code>AssetTree::toListString()</code> method) for more
information.</p>
<p>Wing</p></div>Wing Ming Chan