<?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 resultset returning metadata as null.......... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/resultset-returning-metadata-as-null/m-p/277057#M230187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using c# and .net&amp;nbsp; 2005. for invoking the web services and searching in the alfresco respository&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get the file but not the metadata&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Lucene Query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my query is like that&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;query.statement = "@cm\\:name:\"" + filename + "\" PATH:\"/app:company home\"";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;QueryResult queryResult = repositoryService.query(spacesStore, query,true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ResultSet resultSet = queryResult.resultSet;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here i am getting the file but the metadata binded with the file its metadata is returning as null……&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help will be appriciated…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Mar 2011 06:52:43 GMT</pubDate>
    <dc:creator>himvj</dc:creator>
    <dc:date>2011-03-25T06:52:43Z</dc:date>
    <item>
      <title>resultset returning metadata as null..........</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resultset-returning-metadata-as-null/m-p/277057#M230187</link>
      <description>I am using c# and .net&amp;nbsp; 2005. for invoking the web services and searching in the alfresco respositoryI am able to get the file but not the metadataI am using Lucene Querymy query is like thatquery.statement = "@cm\\:name:\"" + filename + "\" PATH:\"/app:company home\"";QueryResult queryResult = repo</description>
      <pubDate>Fri, 25 Mar 2011 06:52:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resultset-returning-metadata-as-null/m-p/277057#M230187</guid>
      <dc:creator>himvj</dc:creator>
      <dc:date>2011-03-25T06:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: resultset returning metadata as null..........</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resultset-returning-metadata-as-null/m-p/277058#M230188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using Alfresco 3.2 I remember that there was a bug about this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you try to execute a query using the SOAP API you will find only node reference information and you need to use the get method of the RepositoryService in this way for each node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;WebServiceFactory.getRepositoryService().get(new Predicate(new Reference[]{node1,node2,etc…}, STORE, null));&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The Predicate object consists of a group of nodes that you need to retrieve from the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you try to use Alfresco 3.1 or the latest version when you try to execute a search all the metadata are included in the resultset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 09:29:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resultset-returning-metadata-as-null/m-p/277058#M230188</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-03-25T09:29:06Z</dc:date>
    </item>
  </channel>
</rss>

