AnsweredAssumed Answered

Add Aikau widget to the custom site page

Question asked by signjoy on Dec 7, 2017
Latest reply on Dec 8, 2017 by signjoy

Hello,

 

I have a aikau page that shows only one button called upload when I got to http://localhost:8080/share/page/dp/ws/myfileupload url. I want to add this aikau widget to my custom page in share site. I have below configurations but I am not seeing aikau page button when I go to my custom page.

 

I have below code in my custom page.

\tomcat\shared\classes\alfresco\web-extension\site-data\template-instances\dell.xml

<component>
<region-id>myfileupload</region-id>
<url>/dp/ws/myfileupload</url>
</component>

 

tomcat\shared\classes\alfresco\web-extension\templates\org\alfresco\dell.ftl

...

<@region id="myfileupload" scope="template"/>

....

 

My Aikau page files are as below.

1. file-upload-page.get.html.ftl

     <@processJsonModel  group="share"/>

3. file-upload-page.get.desc.xml

    <webscript>
    <shortname>File Upload Page</shortname>
    <description>File upload page definition</description>
    <family>Share</family>
     <url>/myfileupload</url>
     </webscript>

2. file-upload-page.get.js

 

 

Thanks in advance

Outcomes