<?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: meta data details called using webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278044#M231174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you login as admin to your alfresco repository webscript pages on &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/index" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/index&lt;/A&gt;&lt;SPAN&gt; you will be able to see all the webscripts that are available if you click on "Browse by Web Script URI".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One alternative is to use the following webscript to get metadata back in json format:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8081/share/proxy/alfresco/api/metadata?nodeRef=workspace://SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/share/proxy/alfresco/api/metadata?nodeRef=workspace://SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;…and to get the content you can do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8081/share/proxy/alfresco/api/node/content/workspace/SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b/IMG_1403.JPG?c=force&amp;amp;noCache=1332324715866" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/share/proxy/alfresco/api/node/content/workspace/SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b/IMG_1403.JPG?c=force&amp;amp;noCache=1332324715866&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2012 10:14:35 GMT</pubDate>
    <dc:creator>erikwinlof</dc:creator>
    <dc:date>2012-03-21T10:14:35Z</dc:date>
    <item>
      <title>meta data details called using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278042#M231172</link>
      <description>Hi.created a simple contnet in share called "sample".Using fdk i created a form for a type. after changing the type successfully, i can edit the metadata and save.the form contains name,description,image fields.so now that i have attcahed an image with the form(meta data details of "sample"), how ca</description>
      <pubDate>Wed, 21 Mar 2012 09:43:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278042#M231172</guid>
      <dc:creator>ranj</dc:creator>
      <dc:date>2012-03-21T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: meta data details called using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278043#M231173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have created a content of article type.in edit properties, the properties have primary image field. i have mapped an image to it. how do i get the primary image of that article in webscript. this image i need to display in website.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 10:12:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278043#M231173</guid>
      <dc:creator>ranj</dc:creator>
      <dc:date>2012-03-21T10:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: meta data details called using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278044#M231174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you login as admin to your alfresco repository webscript pages on &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/index" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/index&lt;/A&gt;&lt;SPAN&gt; you will be able to see all the webscripts that are available if you click on "Browse by Web Script URI".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One alternative is to use the following webscript to get metadata back in json format:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8081/share/proxy/alfresco/api/metadata?nodeRef=workspace://SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/share/proxy/alfresco/api/metadata?nodeRef=workspace://SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;…and to get the content you can do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8081/share/proxy/alfresco/api/node/content/workspace/SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b/IMG_1403.JPG?c=force&amp;amp;noCache=1332324715866" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/share/proxy/alfresco/api/node/content/workspace/SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b/IMG_1403.JPG?c=force&amp;amp;noCache=1332324715866&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 10:14:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278044#M231174</guid>
      <dc:creator>erikwinlof</dc:creator>
      <dc:date>2012-03-21T10:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: meta data details called using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278045#M231175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for ur reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is not what i want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am &lt;/SPAN&gt;&lt;STRONG&gt;not &lt;/STRONG&gt;&lt;SPAN&gt;trying to get the content of a file (ex. datadictionary-&amp;gt;sites-&amp;gt;mysite-&amp;gt;test-&amp;gt;sample.html).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But am trying to get properties of sample.html.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have changed the type of sample.html to article type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after clicking edit properties, i see a list of properties to be filled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;name,description,primary image,secondary image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have set an image(ex. datadictionary-&amp;gt;sites-&amp;gt;mysite-&amp;gt;images-&amp;gt;lotus.jpg) as primary image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how do i call the primary image of sample.html through webscripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ranj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 10:30:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278045#M231175</guid>
      <dc:creator>ranj</dc:creator>
      <dc:date>2012-03-21T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: meta data details called using webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278046#M231176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again Ranj, let's hope I'm more correct this time then &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you taken a close look at this webscript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/script/org/alfresco/cmis/content.get" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/script/org/alfresco/cmis/content.get&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is the same one that I used to display the actual content of the node (which in your case turned out to be html), but you should be able to use it to display a property of a node as well by specifying the {property} in the url. So try something like this instead…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8081/share/proxy/alfresco/api/node/contentranj:primaryImage/workspace/SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b?c=force&amp;amp;noCache=1332324715866" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/share/proxy/alfresco/api/node/contentranj:primaryImage/workspace/SpacesStore/7edc8a54-276d-487c-a7a3-a58f15804e0b?c=force&amp;amp;noCache=1332324715866&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Where "ranj&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rimaryImage" of course is the name of your custom property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 13:12:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/meta-data-details-called-using-webscripts/m-p/278046#M231176</guid>
      <dc:creator>erikwinlof</dc:creator>
      <dc:date>2012-03-21T13:12:53Z</dc:date>
    </item>
  </channel>
</rss>

