03-09-2010 06:46 AM
// Asset status
if (asset.hasAspect("custom:new"))
{
itemStatus.push("newed");
}
dans la boucle for each (asset in assets)
<actionSet id="newed">
<action type="action-link" id="onActionNew2" permission="" label="actions.document.new2" />
</actionSet>
03-10-2010 06:16 AM
else if (itemStatus.indexOf("newed") != -1)
{
actionSet = "newed";
}
filterQueryDefaults = " -ASPECT:\"{http://www.new.com/model/content/1.0}custom:new\"";
08-18-2010 09:52 AM
for each (asset in assets)
{
…
}
"my-action": ${item.enableMyAction?string}
<action type="action-link" id="onActionMyAction" permission="my-action" label="actions.document.my-action" />
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.