<?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: How to get object type id from share webscript in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53605#M19953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-ScriptNode.html" rel="nofollow noopener noreferrer"&gt;ScriptNode API documentation&lt;/A&gt;. The node type can be retrieved via type/typeShort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 13:50:40 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-01-25T13:50:40Z</dc:date>
    <item>
      <title>How to get object type id from share webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53603#M19951</link>
      <description>We have defined a javascript which gets executed from a rule that we defined. document.mimetype gives us the mimetype of the document. Similarly how do we access object type id in the webscript?I tried the following.logger.error("document type is &amp;gt;&amp;gt; " + document.type);logger.error("document ty</description>
      <pubDate>Wed, 24 Jan 2018 17:41:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53603#M19951</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-01-24T17:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get object type id from share webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53604#M19952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In alfresco every thing is stored as node, so something like type id does not exists.For each node , there is nodeId associated with it.It is called as NodeRef.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing, alfresco share is nothing but the front end only, so if your webscript is on share side ,you need to call repository webscript from share and then you can get the details, of course there are few details which will be available , but it depends on scenario and other stuff.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have already developed repository webscript than document.nodeRef will do the trick &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:13:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53604#M19952</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-01-25T08:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get object type id from share webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53605#M19953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-ScriptNode.html" rel="nofollow noopener noreferrer"&gt;ScriptNode API documentation&lt;/A&gt;. The node type can be retrieved via type/typeShort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 13:50:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-object-type-id-from-share-webscript/m-p/53605#M19953</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-25T13:50:40Z</dc:date>
    </item>
  </channel>
</rss>

