<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting the WCMAppModel.PROP_RENDITIONS PropertyValue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89460#M60816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you want to use something along the lines of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Collection&amp;lt;Serializable&amp;gt; renditions = new HashSet&amp;lt;Serializable&amp;gt;();&lt;BR /&gt;renditions.add("/www/avm_webapps/ROOT/content/output/processunits/test/goal.html");&lt;BR /&gt;renditions.add("/www/avm_webapps/ROOT/content/output/processunits/test/description.html");&lt;BR /&gt;&lt;BR /&gt;avmRemote.setNodeProperty(nodeDesc.getPath(), WCMAppModel.PROP_RENDITIONS, new PropertyValue(DataTypeDefinition.TEXT, (Serializable)renditions));&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;that should work.&amp;nbsp; however, i'm not quite sure what you're hoping to accomplish with this.&amp;nbsp; the renditions property should be managed by the create web content wizard - i'm not sure why you'd want to modify the rendition list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2007 20:36:24 GMT</pubDate>
    <dc:creator>arielb</dc:creator>
    <dc:date>2007-03-29T20:36:24Z</dc:date>
    <item>
      <title>Setting the WCMAppModel.PROP_RENDITIONS PropertyValue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89459#M60815</link>
      <description>Hi,I'm having trouble setting the WCMAppModel.PROP_RENDITIONS PropertyValue. I'm able to set string values, thanks to Eyestreet's Harry Moore.I want to end up with a property that looks like:{http://www.alfresco.org/model/wcmappmodel/1.0}renditions=PropertyValue[actual-type=SERIALIZABLE, multi-value</description>
      <pubDate>Thu, 29 Mar 2007 05:44:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89459#M60815</guid>
      <dc:creator>kooktroop</dc:creator>
      <dc:date>2007-03-29T05:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the WCMAppModel.PROP_RENDITIONS PropertyValue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89460#M60816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you want to use something along the lines of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Collection&amp;lt;Serializable&amp;gt; renditions = new HashSet&amp;lt;Serializable&amp;gt;();&lt;BR /&gt;renditions.add("/www/avm_webapps/ROOT/content/output/processunits/test/goal.html");&lt;BR /&gt;renditions.add("/www/avm_webapps/ROOT/content/output/processunits/test/description.html");&lt;BR /&gt;&lt;BR /&gt;avmRemote.setNodeProperty(nodeDesc.getPath(), WCMAppModel.PROP_RENDITIONS, new PropertyValue(DataTypeDefinition.TEXT, (Serializable)renditions));&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;that should work.&amp;nbsp; however, i'm not quite sure what you're hoping to accomplish with this.&amp;nbsp; the renditions property should be managed by the create web content wizard - i'm not sure why you'd want to modify the rendition list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 20:36:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89460#M60816</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-03-29T20:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the WCMAppModel.PROP_RENDITIONS PropertyValue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89461#M60817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for that Ariel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I am doing this is because we're importing web content into Alfresco, that is we're importing XML and associating it with the appropriate Web Form, because we have so much content that doing it by hand isn't an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So when I import the XML and associate it with a form, I also need to import the renditions and associate the renditions with the form. By the looks of it from &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=5888" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=5888&lt;/A&gt;&lt;SPAN&gt; Alfresco offers no way to trigger renditions, so we are doing this as a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is, I am rendering each rendition outside of Alfresco then importing it with the XML and linking it all up via the properties and aspects programmatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 23:10:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-the-wcmappmodel-prop-renditions-propertyvalue/m-p/89461#M60817</guid>
      <dc:creator>kooktroop</dc:creator>
      <dc:date>2007-03-29T23:10:56Z</dc:date>
    </item>
  </channel>
</rss>

