06-14-2007 09:50 AM
06-20-2007 01:06 PM
Failed to execute script 'workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts/org/alfresco/sample/categorysearch.get.js': Node does not exist: workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts/org/alfresco/sample/categorysearch.get.js
return scriptService.executeScript("javascript", location, model);
return scriptService.executeScript(location, model);
06-20-2007 03:02 PM
java.lang.NullPointerException
org.alfresco.web.scripts.bean.ContentGet.execute(ContentGet.java:141)
org.alfresco.web.scripts.WebScriptRuntime.wrappedExecute(WebScriptRuntime.java:336)
org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:302)
org.alfresco.web.scripts.WebScriptRuntime$1.execute(WebScriptRuntime.java:159)
06-21-2007 06:00 AM
<#assign mystore=avm.lookupStore(args["store"])>
<#if mystore?exists>
Found store: ${mystore.name}
<p>
Store root node name: ${avm.lookupStoreRoot(args["store"]).name}
<p>
Store root node detail:<br>
Info: ${mystore.lookupRoot}<br>
Name: ${mystore.name}<br>
Creator: ${mystore.creator}<br>
Created Date: ${mystore.createdDate?datetime}
<p>
Store contents:<br>
<table>
<tr><th></th><th>Name</th><th>Path</th><th>Type</th><th>Parent</th><th>Created</th><th>Modified</th></tr>
<@dir node=mystore.lookupRoot depth=0/>
</table>
<#else>
CANNOT FIND STORE: ${args["store"]}
</#if>
<#macro dir node depth>
<#list node.children as c>
<tr>
<td width=16>
<#if c.isDocument>
<a href="${url.context}${c.url}" target="new"><img src="${url.context}${c.icon16}" alt="${c.name}" title="${c.name}" border=0></a>
<#else>
<img src="${url.context}${c.icon16}" alt="${c.name}" title="${c.name}" border=0>
</#if>
</td>
<td>
<font size='${4 - depth}'>${c.name}</div>
</td>
<td>
${c.path}
</td>
<td>
${c.type}
</td>
<td>
${c.properties.created?datetime}
</td>
<td>
${c.properties.modified?datetime}
</td>
</tr>
<#if c.isContainer && c.children?size != 0>
<@dir node=c depth=depth+1/>
</#if>
</#list>
</#macro>
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.