<?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 NodesApi in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40085#M16810</link>
    <description>&lt;P&gt;Has anyone be successfull at implementing the NodesApi ?&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/NodesApi.md#updateNode" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/NodesApi.md#updateNode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have tried NodesApiService (createNode doesn't work).&amp;nbsp;&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/core/services/nodes-api.service/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/core/services/nodes-api.service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have tried AlfrescoApiService (nodesApi.updateNode works).&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/core/services/alfresco-api.service/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/core/services/alfresco-api.service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can I implement NodesApi javascript/typescipt so all available methods work?&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 17:26:54 GMT</pubDate>
    <dc:creator>robertwoodhead</dc:creator>
    <dc:date>2020-05-20T17:26:54Z</dc:date>
    <item>
      <title>NodesApi</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40085#M16810</link>
      <description>&lt;P&gt;Has anyone be successfull at implementing the NodesApi ?&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/NodesApi.md#updateNode" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/NodesApi.md#updateNode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have tried NodesApiService (createNode doesn't work).&amp;nbsp;&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/core/services/nodes-api.service/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/core/services/nodes-api.service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have tried AlfrescoApiService (nodesApi.updateNode works).&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/core/services/alfresco-api.service/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/core/services/alfresco-api.service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can I implement NodesApi javascript/typescipt so all available methods work?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 17:26:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40085#M16810</guid>
      <dc:creator>robertwoodhead</dc:creator>
      <dc:date>2020-05-20T17:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: NodesApi</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40086#M16811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5360"&gt;@robertwoodhead&lt;/A&gt;&amp;nbsp;have you tried to follow the example?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;import NodesApi from 'NodesApi';
import { AlfrescoApi } from '@alfresco/js-api';

this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
    hostEcm: 'http://127.0.0.1:8080'
});

let nodesApi = new NodesApi(this.alfrescoApi);
nodesApi.createNode('-root-', { { "name": "My new subfolder" }, nodeType: 'cm:folder' }).then((data) =&amp;gt; {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 May 2020 09:22:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40086#M16811</guid>
      <dc:creator>mauriziovitale</dc:creator>
      <dc:date>2020-05-28T09:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: NodesApi</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40087#M16812</link>
      <description>&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;Please check once version of&amp;nbsp;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;STRONG&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/67382"&gt;@alfresco&lt;/A&gt;/js-api'&amp;nbsp;&lt;/STRONG&gt;in &lt;STRONG&gt;package.json&lt;/STRONG&gt; file, it should be latest version like 3.9.0. to use all updated services and its methods. Then run &lt;STRONG&gt;npm i&amp;nbsp;&lt;/STRONG&gt;command and you will get all avilable methods using&amp;nbsp;&lt;SPAN&gt;NodesApi Service.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 05:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/nodesapi/m-p/40087#M16812</guid>
      <dc:creator>Prachi_Shah</dc:creator>
      <dc:date>2020-08-05T05:31:00Z</dc:date>
    </item>
  </channel>
</rss>

