cancel
Showing results for 
Search instead for 
Did you mean: 

Web Forms

fjunior87
Champ in-the-making
Champ in-the-making
Hi All,

I would like to know where the xml files generated by web forms are stored.
As I could see that XML generated and the other files generated by the rendition are stored into the web-app that represents my web project.
Am I wrong?

I'm asking this because, we need to create a new web site where we neeed to retrieve the content created through forms.
I'd like to know if the better approach is use the web forms or create content into spaces and retrieve them using the API?

Please correct me if I'm saying dummy things.

Thanks, so much
Junior
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
By default the XML files produced by Web Forms are placed in the current directory that the contributor is browsing at the time they chose to create web content.  You can also take the choice about where that content is stored out of the contributor's hands and hardcode [1] the location via the output path of the Web Form (this is configured in the Web Form itself).  This is particularly useful if your content contributors don't typically browse the repository but instead use the "Create Web Form" link visible on the main Web Project dashboard page.

[1] Note: the output location is not really hardcoded - it's actually a Freemarker (http://freemarker.sourceforge.net/) expression, so you can configure quite sophisticated rules about where content goes.

Cheers,
Peter

fjunior87
Champ in-the-making
Champ in-the-making
Hi Peter,

Thanks so much for your reply.
ok I got it.

And to retrieve the content to display them, can I use the alfresco API?
Is this the best approach to display the content created?

Sorry to ask so much, I'm doing this because I'm new using Alfresco and I'd like to know the best approaches to use it Smiley Happy

Thanks,
Junior