As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
${c.properties["demo:departmentName"]}
<#if c.hasAspect("demo:department")?exists> <departmentName>${c.properties["demo:departmentName"]?string?replace("&", "&")}</departmentName> <#else> <departmentName/> </#if>
Expression c.properties["demo:departmentName"] is undefined on line 58, column 27 in org/demo/dmbrowse.get.xml.ftl. The problematic instruction: ———- ==> ${c.properties["demo:departmentName"]?string?replace("&", "&")} [on line 58, column 25 in org/demo/dmbrowse.get.xml.ftl] in user-directive nodeInfo [on line 91, column 9 in org/demo/dmbrowse.get.xml.ftl] ———- Java backtrace for programmers: ———- freemarker.core.InvalidReferenceException: Expression c.properties["demo:departmentName"] is undefined on line 58, column 27 in org/demo/dmbrowse.get.xml.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
<properties> <property> <name>{http://www.alfresco.org/model/content/1.0}description</name> <value></value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}content</name> <value>org.alfresco.repo.template.BaseContentNode$TemplateContentData@d72be</value> </property> <property> <name>{http://www.alfresco.org/model/system/1.0}store-protocol</name> <value>workspace</value> </property> <property> <name>{http://www.alfresco.org/model/system/1.0}node-uuid</name> <value>e2243099-90e0-4945-bc89-afd2cba3f052</value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}created</name> <value>Jan 7, 2009</value> </property> [color=#FF0000]<property> <name>{http://www.demo.org/model/content/1.0}departmentName</name> <value>IT & Help Desk</value> </property>[/color] <property> <name>{http://www.alfresco.org/model/content/1.0}title</name> <value>DCP_4963.JPG</value> </property> <property> <name>{http://www.alfresco.org/model/system/1.0}node-dbid</name> <value>524</value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}author</name> <value></value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}modifier</name> <value>admin</value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}modified</name> <value>Jan 7, 2009</value> </property> <property> <name>{http://www.alfresco.org/model/system/1.0}store-identifier</name> <value>SpacesStore</value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}creator</name> <value>admin</value> </property> <property> <name>{http://www.alfresco.org/model/content/1.0}name</name> <value>DCP_4963.JPG</value> </property> </properties>
<#if c.hasAspect("demo:department")?exists> <departmentName>${c.properties["{http://www.demo.org/model/content/1.0}departmentName']?string?replace("&", "&")}</departmentName> <#else> <departmentName/> </#if>
<#if c.properties["demo:departmentName"]?exists> <departmentName>${c.properties["demo:departmentName"]?string?replace("&", "&")}</departmentName> <#else> <departmentName/> </#if>