Add Aikau widget to the custom site page

Showing results for 
Search instead for 
Did you mean: 
Active Member II

Add Aikau widget to the custom site page


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.





<@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

    <shortname>File Upload Page</shortname>
    <description>File upload page definition</description>

2. file-upload-page.get.js

Thanks in advance

2 Replies

Re: Add Aikau widget to the custom site page

You cannot include a web script using the /dp/ws/ URL prefix - that prefix is used only to address a web script as a page. The URL to use in your case is the URL defined in the *.get.desc.xml of the web script that is supposed to render your component, so only /myfileupload

Active Member II

Re: Add Aikau widget to the custom site page

Thanks for your reply!

I put the /myfileupload url in the dell.xml file but then also the page is blank only.

When I put a logger in the file-upload-page.get.js file it prints the log.