cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Alfresco Customization

jayakrishnan_sa
Champ in-the-making
Champ in-the-making
Hi,
I need to create a new leave application form in Alfresco. So basically what I need is a dialog which helps me to enter from date, to date and reason for the leave. I have created a new dialog and created a new jsf page containing fields what I need. I would like to know how can I enter the details which are entered in these fields into the underlying database. I know that Alfresco is using Hibernate to communicate with the DB. I couldn't find a way to do that in any of the tutorials which I followed. And while customizing the meta-data of documents I found that I can create new properties (meta-data) for a document by creating a new model file and add the properties which I need in <type/> tag. So It was not required to touch any of the hibernate file to enter those fields to the DB. How can I accomplish this in my requirement. kindly provide some help.

Thanks in Advance,
Jayakrishnan S
5 REPLIES 5

gavinc
Champ in-the-making
Champ in-the-making
The best way is to create your own custom type representing the data you need to collect (a leave application) this will then allow you to create and edit instances of this type, using the built-in forms capabilities. The best place to start is http://wiki.alfresco.com/wiki/Data_Dictionary_Guide then see http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata for details on configuring the forms.

jayakrishnan_sa
Champ in-the-making
Champ in-the-making
Thanks Gavinc. I think that was a great tutorial which you provided. Let me go through it. If I stuck somewhere I will get back to you  Smiley Happy .

Thank you once again.

jayakrishnan_sa
Champ in-the-making
Champ in-the-making
Hi Gavinc,

I went through those wiki pages. But those pages are mentioning about adding new meta-data and aspects which can be added after creating a document. What I need is to make a dialog, add my details (Leave application) and finally make a doc regarding that just like what we do for creating a new document. Can you tell me where I should start?

Thanks,
Jayakrishnan S

gavinc
Champ in-the-making
Champ in-the-making
Good point, this page contains links to several other wiki pages that show adding new dialogs, customising wizards etc: http://wiki.alfresco.com/wiki/Web_Client_Customisation_Guide

dvelopp
Champ in-the-making
Champ in-the-making
Can I ask a question in the wrong topic, but still hoping for an answer.
Whats API Alfresco has?
I want to connect my project to them. Example - Share.
Thank you for your attention!