cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco.module.EmailForm

benkenewbie
Champ in-the-making
Champ in-the-making
Hi,
has anyone worked with the Alfresco.module.EmailForm already and can provide some Information for me?
First and foremost: Can this component be used to build forms based on data that is not in the model?

To be concrete, we are currently trying to figure out how to build an Idea Drop Box. The User clicks on a Button a modal which contains a form pops up and when the User submits it, an email is sent. Afterwards the data is dropped, so no persistence is needed.

That EmailForm looks like its doing exactly that. Unfortunately with just the JS-Docs as documentation I do not really know how to used it and if its really what I need so code snippets would be really greatly appreciated.

Best regards
Thorsten
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

the email form module is used for configuring rules that involve generating emails. The settings of that dialog are actually persisted as part of the rule settings - no email is generated / sent directly.

For your use case, why don't you simply create a dialog that submits data to a repository web script. That web script then simply sends out the email as you require via Alfresco's email action. Alfresco does not require any persisted data for the email action to work…

Regards
Axel

benkenewbie
Champ in-the-making
Champ in-the-making
That was surprisingly easy.

Thanks for putting me on the right track Axel.

Just share the info, this Blogpost really helped me a lot:
http://www.bluefishgroup.com/library/2010/making-alfresco-share-dashlets-configurable/

Regards
Thorsten
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.