04-22-2016 06:26 AM
{http://www.alfresco.org/model/system/1.0}node-dbid: 239416
{http://www.alfresco.org/model/action/1.0}parameterName: script-ref
{http://www.alfresco.org/model/action/1.0}parameterValue: Node Type: {http://www.alfresco.org/model/content/1.0}content, Node Aspects: [{http://www.alfresco.org/model/content/1.0}indexControl, {http://www.alfresco.org/model/content/1.0}versionable, {http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/system/1.0}localized]
select q.local_name, p.string_value from alf_node_properties p, alf_qname q where p.qname_id = q.id and p.node_id = 239416;
local_name | string_value
—————-+————————————————————–
parameterValue | workspace://SpacesStore/f1a5113c-8a95-497d-aac1-378f41e9b547
parameterName | script-ref
04-27-2016 10:10 AM
for (prop in node.properties ) {
if ( prop == '{http://www.alfresco.org/model/action/1.0}parameterValue'
&& node.properties["{http://www.alfresco.org/model/action/1.0}parameterName"] == 'script-ref' ) {
var scriptNodeName = node.properties[prop].properties.name );
// [… do something with scriptNodeName]
} else {
var nodePropertyValue = node.properties[prop] );
// [… do something with nodePropertyValue]
}
}
06-08-2018 10:54 AM
I have a similar need, any chance you could share all of your code? Much appreciated.
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.