cancel
Showing results for 
Search instead for 
Did you mean: 

Creating new Dashlets

hailpam
Champ in-the-making
Champ in-the-making
Hi all,

I'm newbie Alfresco developer.

I'm developing a system which uses Alfresco repository as a server of services (repository, workflow, versioning system, etc.), and uses Share as layer of presentation. Upon Share I'm developing my own dashlets for collaborative sites in order to render, according to the client needs, the contents and to enhance the experience of navigation (cut down the number of clicks to do one operation).

I, kindly, ask to you some guidelines to develop my dashlets and more detail on YUI development in Alfresco Share (how to build the main object to render the DOM web page)… 

Thanks in advance,

    Paolo
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
By far the easiest approach is to find an existing dashlet that is close in structure to the one you want to build. Copy/paste all it's assets (webscripts, javascript, css, etc.) and start from there.

YUI resources can be found all over the web, but a good starting point is: http://yuilibrary.com/projects/yui2/

Thanks,
Mike

hailpam
Champ in-the-making
Champ in-the-making
By far the easiest approach is to find an existing dashlet that is close in structure to the one you want to build. Copy/paste all it's assets (webscripts, javascript, css, etc.) and start from there.

YUI resources can be found all over the web, but a good starting point is: http://yuilibrary.com/projects/yui2/

Thanks,
Mike

Thanks MikeH,

but, this approach has been applied and the results, at this moment, are not cheering!

My main difficult consists in organizing and develop the prototype JavaScript object for the rendering of my custom dashlet. Can you give me some guidelines/resources concerning this task?

Thanks,

   Paolo

mikeh
Star Contributor
Star Contributor
My main difficulty consists in organizing and develop the prototype JavaScript object for the rendering of my custom dashlet. Can you give me some guidelines/resources concerning this task?
It's not really my place to give you a JavaScript / YUI tutorial - there are plenty of other resources for that.

It would help if you posted specific problems you're encountering, rather than a general "I can't do it" question.

Thanks,
Mike

hailpam
Champ in-the-making
Champ in-the-making
My main difficulty consists in organizing and develop the prototype JavaScript object for the rendering of my custom dashlet. Can you give me some guidelines/resources concerning this task?
It's not really my place to give you a JavaScript / YUI tutorial - there are plenty of other resources for that.

It would help if you posted specific problems you're encountering, rather than a general "I can't do it" question.

Thanks,
Mike

Ok,

I understand, from your words, that I must do a reverse-engineering work (i) to understand the asset of a generic dashlet, and (ii) to develop new one. Is it right my previous observation?

I'm reanalyzing (more careful) the dashlet  that I assume as start-point for my developing and if I will encounter some problems I let you to know them.

Thanks for your help.
 
   Paolo