Hi,

Ludovic`s suggestion, as far as I understand it, was to create your own
button/link on the application`s homepage that takes the user to a
constructed URL what uses the entry name that you want.

/xwiki/bin/edit/<appName>/Data/<entryName>?template=test.Code.testTemplate&parent=test.WebHome&editor=inline

You can generate such an URL with velocity using:

$xwiki.getDocument("<appName>.Data.<entryName>", "edit",
"template=test.Code.testTemplate&parent=test.WebHome&editor=inline")

You would do this modification in the applcation's homepage, which is
located in "<appName>.Data.WebHome".

Hope this helps,
Eduard

On Tue, Mar 15, 2016 at 8:27 PM, Wiki Service-Team <[email protected]>
wrote:

> Hello all,
>
> I have a question about these case:
> http://lists.xwiki.org/pipermail/users/2014-July/028689.html
>
> i would love to implement exactly the same our wiki ( we are using some
> forms where employees put in simple data like wo they called over the day).
> I created an app with app within minutes, everything is working fine, but
> i would also like to skip the name dialog in App Within Minutes and replace
> it with an auto generated random number, so the user should be directly in
> the edit URL.
>
> I think the best advise came from Ludovic, but my scripting knowledge is
> not as good to understand the advise from him directly,
> so can someone give me a little further explanation of how to script my
> own Burton using the document api and than
> redirection the user to the edit URL.
>
> I would be very grateful for an advice what helps me to accomplish these
> goal.
>
> Thanks
> Felix
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to