05-31-2007 10:10 AM
<aspect name="custom:ThumbnailAspect">
<title>Thumbnail Aspect</title>
<associations>
<association name="custom:Thumbnail">
<title>Thumbnail</title>
<source>
<many>true</many>
</source>
<target>
<class>cm:content</class>
<mandatory>false</mandatory>
<many>false</many> <!– allow only one thumbnail to be added –>
</target>
</association>
</associations>
</aspect>now, i need to add the content of this aspect (which will be a link to another file) using a java script.var props = new Array(1);
props["custom:Thumbnail"] = PATH;
var added= document.addAspect("custom:ThumbnailAspect", props);
06-20-2007 02:48 PM
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.