Creating tags in subfolder when adding a new tag on the parent folder

cancel
Showing results for 
Search instead for 
Did you mean: 
jagpanadero
Active Member

Creating tags in subfolder when adding a new tag on the parent folder

Jump to solution

So im trying to add new tags on my subfolders/files when updating or adding a new tag on the parent folder, im using this code but the tagNodeRef seems to not have the correct information, i cant debugg it since i dont have acess to the aplication itself and cant turn on the javaScript debugger too, any sort of help? thx

var tags = space.properties["cm:taggable"];
for (var i = 0; i < tags.length ; i++){
var tagNodeRef = tags[i];
document.addAspect("cm:taggable");
document.addTag(tagNodeRef);

 

1 Solution

Accepted Solutions
jpotts
Professional
1 Reply
jpotts
Professional