<?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: Alfresco Custom Rest Api in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58089#M20767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For developing rest api in alfresco you need to use webscript.&lt;/P&gt;&lt;P&gt;Below links will help you in how to develop a webscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" title="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html" title="http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html" rel="nofollow noopener noreferrer"&gt;Repository webscript in alfresco | Krutik Jayswal&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2018 05:05:56 GMT</pubDate>
    <dc:creator>krutik_jayswal</dc:creator>
    <dc:date>2018-12-17T05:05:56Z</dc:date>
    <item>
      <title>Alfresco Custom Rest Api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58088#M20766</link>
      <description>I want to create custom rest api in alfresco.How can i do that?I have made following configuration.but it is not working.&amp;lt;context:component-scan base-package="com.controller"&amp;gt;&amp;lt;/context:component-scan&amp;gt;package com.tritex.controller;import org.springframework.stereotype.Controller;import or</description>
      <pubDate>Fri, 14 Dec 2018 11:47:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58088#M20766</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2018-12-14T11:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Custom Rest Api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58089#M20767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For developing rest api in alfresco you need to use webscript.&lt;/P&gt;&lt;P&gt;Below links will help you in how to develop a webscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" title="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html" title="http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html" rel="nofollow noopener noreferrer"&gt;Repository webscript in alfresco | Krutik Jayswal&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2018 05:05:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58089#M20767</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-12-17T05:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Custom Rest Api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58090#M20768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this way to create api but i want to create in spring way using annotation and is it working same way as webscript api?&lt;/P&gt;&lt;P&gt;I have used&amp;nbsp;&lt;A class="link-titled" href="https://github.com/dgradecak/alfresco-mvc/wiki/REST" title="https://github.com/dgradecak/alfresco-mvc/wiki/REST" rel="nofollow noopener noreferrer"&gt;REST · dgradecak/alfresco-mvc Wiki · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;and it is working.&lt;/P&gt;&lt;P&gt;Do you have any idea about this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2018 05:57:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58090#M20768</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2018-12-17T05:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Custom Rest Api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58091#M20769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can create your own custom REST API in Alfresco.&lt;/P&gt;&lt;P&gt;First take a look at this :&amp;nbsp;&lt;A class="link-titled" href="https://github.com/covolution/quick-api" title="https://github.com/covolution/quick-api" rel="nofollow noopener noreferrer"&gt;GitHub - covolution/quick-api: Basic example of developing a Rest API on the Alfresco Platform that conforms to the api …&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically it's quite simple&amp;nbsp;:&lt;/P&gt;&lt;P&gt;create java package in your repo project.&lt;/P&gt;&lt;P&gt;create EntityResource with CRUD actions and specify endpoint&lt;/P&gt;&lt;P&gt;annotate your package in a file "package-info.java"&lt;/P&gt;&lt;P&gt;add your package in your module-context.xml file&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;lt;context:component-scan base-package="[put your java package here]"&amp;gt;&amp;lt;/context:component-scan&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;then go to :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/private/[name of your api in package-info.java]/versions/1/yourendpoint" style="color: #2989c5; text-decoration: none;" title="http://localhost:8080/alfresco/api/-default-/private/atolcd/versions/1/entitesjuridiques" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/private/[name of your api in package-info.java]/versions/1/yourendpoint&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 13:21:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58091#M20769</guid>
      <dc:creator>rbr</dc:creator>
      <dc:date>2019-02-22T13:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Custom Rest Api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58092#M20770</link>
      <description>&lt;P&gt;Using webscripts and other aprocahes proposed in this thread are ok, but how come "@RestController" (initial question) does not work? I tried that myself and I see&lt;/P&gt;&lt;PRE&gt;Identified candidate component class: URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/dms-test-platform-1.0-SNAPSHOT.jar!/dmstest/service/MyService.class&lt;/PRE&gt;&lt;P&gt;but the spring bean is not created and it is not mapped to a service endpoint. I am trying to figure that out, any hint will be helpfull.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 22:02:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-rest-api/m-p/58092#M20770</guid>
      <dc:creator>darionis</dc:creator>
      <dc:date>2019-11-19T22:02:13Z</dc:date>
    </item>
  </channel>
</rss>

