First we will create a very simple dashlet and we will extend that to be configurable.Copy these files into the "tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets" folder.HelloWorldDashlet.get.html.ftlHelloWorldDashlet.get.desc.xmlHelloWorldDashlet.get.jsThe output of the code above is:Now we will configure the "welcome" message. For this we need to make changes to this HelloWorldDashlet.Add a configuration file for HelloWorldDashlet as "HelloWorldDashlet.get.config.xml".HelloWorldDashlet.get.config.xmlMake the following change in the HelloWorldDashlet.get.js file.
Now for the changes in the "HelloWorldDashlet.get.html.ftl" file.Add the following "<script type ="text/javascript"> a </script>" part.Please find the attached source code.Hope this helps someone.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: