Hi Pedro, On 2 Mar 2014 at 21:05:49, Pedro Neto ([email protected](mailto:[email protected])) wrote:
> This is my first post so, hello everyone! > > I've been using xwiki for a few years but only now am I starting to have a > play with applications. > > When creating a new document in an application, the user needs to enter a > name before actually entering data in whatever fields have been defined. > > My question is, could I setup my application in such a way that the name of > the new document would be defined by information in the fields. Basically > skipping the whole Document name input phase. > > I've spent a good few hours browsing through this mailing list but could > not find an answer to this particular problem. It seems what you’re after is how to create a new document programatically. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HCreateanewDocument Thanks -Vincent Note to self: We need to add an example/tutorial/guide for creating forms on http://platform.xwiki.org/xwiki/bin/view/DevGuide/ (we have http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips but we need a simpler tutorial for creating simple forms too). _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
