<?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: Custom metadata for WCM Content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203017#M156147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'd probably have to add an aspect to the content you want to tag this, and expose it through web-client-config.xml.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, there is no way to add the aspect from the UI, so you'd have to add it programatically - through javascript script or webscript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Dec 2008 19:18:41 GMT</pubDate>
    <dc:creator>jbarmash</dc:creator>
    <dc:date>2008-12-31T19:18:41Z</dc:date>
    <item>
      <title>Custom metadata for WCM Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203016#M156146</link>
      <description>Hi,How to add custom metadata fields to the content stored in WCM repository?I have articles in my web project stored as xml files. In a use case, I want to pick the most emailed article. So I want to add the emailCount as a metadata field for article which can be read and edited without editing the</description>
      <pubDate>Wed, 31 Dec 2008 09:32:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203016#M156146</guid>
      <dc:creator>himanshu</dc:creator>
      <dc:date>2008-12-31T09:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom metadata for WCM Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203017#M156147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'd probably have to add an aspect to the content you want to tag this, and expose it through web-client-config.xml.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, there is no way to add the aspect from the UI, so you'd have to add it programatically - through javascript script or webscript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2008 19:18:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203017#M156147</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-12-31T19:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom metadata for WCM Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203018#M156148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jbarmash,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Unfortunately, there is no way to add the aspect from the UI, so you'd have to add it programatically - through javascript script or webscript.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;So I can add the aspect programmatically. I am already using Java-backed Web-Scripts to read and write content to the alfresco WCM repository. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I tag the aspect to the content by using Java backed Web-Script??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any specific service i can get from the ServiceRegistry bean??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Himanshu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 14:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203018#M156148</guid>
      <dc:creator>himanshu</dc:creator>
      <dc:date>2009-01-01T14:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom metadata for WCM Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203019#M156149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AVMService.addAspect (&lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/avm/AVMService.html#addAspect(java.lang.String,%20org.alfresco.service.namespace.QName)" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/avm/AVMService.html#addAspect(java.lang.String,%20org.alfresco.service.namespace.QName)&lt;/A&gt;&lt;SPAN&gt;) or NodeService.addAspect (&lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/repository/NodeService.html#addAspect(org.alfresco.service.cmr.repository.NodeRef,%20org.alfresco.service.namespace.QName,%20java.util.Map)" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/repository/NodeService.html#addAspect(org.alfresco.service.cmr.repository.NodeRef,%20org.alfresco.service.namespace.QName,%20java.util.Map)&lt;/A&gt;&lt;SPAN&gt;) will do the job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be aware that aspects don't get deployed to the filesystem (many filesystems don't support arbitrary metadata for files), so if you need this metadata in your delivery application and are using FSR deployment I'd suggest using XML content modelling rather than aspects.&amp;nbsp; This is a large part of the reason that Alfresco WCM doesn't provide UI support for aspects - in practice they can't be used for much beyond authoring-side metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 16:14:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203019#M156149</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-01-01T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom metadata for WCM Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203020#M156150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have one question/issue related to this which I am trying to figure out since a long time. We have content model define through xsd schemas and all our content is getting created through web forms. For each web form we have corresponding entries in wcm-xml-metadata-extracter-context.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when we update and modify the content the values are getting indexed (extracted) properly and we are able to verify through Node Browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even the Lucene Queries are working fine only issue we are facing is in sorting the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue we are facing are in the webscripts while sorting the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SearchParameters sp = new SearchParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sp.addStore(getStoreReference());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sp.setLanguage(SearchService.LANGUAGE_LUCENE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StringBuffer strBfrQuery = new StringBuffer();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strBfrQuery.append(WebscriptConstants.divisionQuery); //Query is working fine no issue. getting proper result set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String strQname = QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "title").toString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sp.setQuery(strBfrQuery.toString());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sp.addSort(strQname, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sorting is not working for any fields in webforms. We tried many options but couldnt get the right results. Do we have to do any extra step other than setting up wcm-xml-metadata-extracter-context.xml for sorting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter: It would be great help if you can help us out here and provide more guidence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking forward for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kalpesh Mehta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 18:44:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-metadata-for-wcm-content/m-p/203020#M156150</guid>
      <dc:creator>kmehta31</dc:creator>
      <dc:date>2009-03-31T18:44:52Z</dc:date>
    </item>
  </channel>
</rss>

