08-18-2009 11:47 AM
var breadcrumbs = [];
function buildBreadcrumb (page) {
if page == null
return;
else
breadcrumbs.push (page);
buildBreadcrumb (page.parent);
}
return breadcrumbs.reverse ();
<page-association>
<source-id>child_page</source-id>
<dest-id>parent_page</dest-id>
<assoc-type>parent</assoc-type>
</page-association>
sitedata.findPageAssociations('child_page', 'parent');
sitedata.findPageAssociations('child_page', 'parent_page', 'parent');
09-28-2009 09:58 PM
<?xml version="1.0" encoding="UTF-8"?>
<page>
<title>some title</title>
<description>some description</description>
<template-instance>some-template</template-instance>
<properties>
<parent>parent_page_id</parent>
</properties>
</page>sitedata.getPage(context.page.properties["parent"])Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.