cancel
Showing results for 
Search instead for 
Did you mean: 

Custom components in Web Studio

andymrao
Champ in-the-making
Champ in-the-making
Hi,

I am trying to develop a  simple  web application in Alfresco Web-Studio.

Web-Studio provides a list of custom components,  which can be dragged and dropped to render images, static text etc on the web pages.
My question is how does one incorporate user defined custom components in that list?

As per the documentation, the user-defined components are to kept in <Afresco-installdir>/tomcat/webapps/studio/web-inf/classes/alfresco/site-webscripts/components directory.

Hence I placed my custom component   (consisting of 3 webscript files: <script>.get.desc.xml,<script>.get.html.ftl and <script>.get.js)  in this directory, but still it did not show up the components list.

Are there any additional configuration settings to be made for including the custom components?

Request help. Thanks in advance.
4 REPLIES 4

andymrao
Champ in-the-making
Champ in-the-making
The  descriptor file (searchForms.desc.xml)
  has the following entries:

<webscript kind="webstudio">
<shortname>searchForms</shortname>
<description>searchForms</description>
<url>/component/searchForms/searchForms</url>
<format default="html"> </format>
<authentication>user</authentication>
</webscript>

The webscript files are kept in the location :    /site-webscripts/components/searchForms/

nitis
Champ in-the-making
Champ in-the-making
Hi,

I need to add some new components to the Component Library of Web Studio and I need to know how to do it, so Did you get it??

Thanks in advance

nitis
Champ in-the-making
Champ in-the-making
Sorry my explanation was very short….

I need to create some new components tu use in Web Studio, this components may include an image and some html, but all of this in a custom component where you can set the image to show, a link to redirect and some text.

This module will be accesible from Web Studio to be added to a template and keeping the CSS and size, only allowing to change the image source, link and text… And like this other similar components.

Is this possible to do?? Has someone done that???

Please some help, thanks!!!

nitis
Champ in-the-making
Champ in-the-making
I found a link with a video tutorial explaining how to build new web components for Web Studio and its exactly what I was looking for.

https://admin.na3.acrobat.com/_a783252597/p88069283/

I wish it helps someone.

Thanks