02-10-2014 08:52 AM
<action id="custom-folder-view-details" type="pagelink" label="actions.folder.view-details" icon="folder-view-details">
<param name="page">custom-folder-details?nodeRef={node.nodeRef}</param>
<override>folder-view-details</override>
</action>
<action id="custom-document-edit-properties" type="javascript" icon="folder-edit-properties" label="actions.folder.edit-metadata">
<param name="function">onCustomEdit</param>
<override>document-edit-properties</override>
</action>
Step 1 : The "custom-document-edit-properties" is processed
[
document-edit-properties,
custom-document-edit-properties, <– Loop cursor
custom-folder-view-details,
folder-view-details
]
Step 2 : The "document-edit-properties" is removed and all action are shifted
[
custom-document-edit-properties,
custom-folder-view-details,
folder-view-details
]
Step 3 : The next action is processed, i.e. "folder-view-details" instead of "custom-folder-view-details"
[
custom-document-edit-properties,
custom-folder-view-details,
folder-view-details <– Loop cursor
]
filterOverrides: function filterOverrides(p_array)
{
// Remove any indicators overridden by others
var item, override, i, ii, j, jj;
for each (item in p_array)
{
if (item.overrides)
{
for (i = 0, ii = item.overrides.length; i < ii; i++)
{
override = item.overrides;
for (j = 0; j < p_array.length; j++)
{
if (p_array[j].id == override)
{
DocList.arrayRemove(p_array, j);
break;
}
}
}
}
}
return p_array;
},
02-18-2014 12:10 PM
02-18-2014 03:54 PM
02-19-2014 03:32 AM
02-19-2014 11:10 AM
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.