Hi,
Did not follow the discussion in depth, but maybe you are interested in
adding an EventListener on either DocumentCreatingEvent [1] (before) or
DocumentCreatedEvent [2] (after).
Other, more specialized, events exist as well, such as
XObjectAdded/Updated/DeletedEvent [7][8][9] that allows you
1) I am not cutting any post. I use Nabble.
http://xwiki.475771.n2.nabble.com/Re-API-Scripting-create-user-and-attach-some-files-to-its-profile-td7601934.html
2) I think my example shows perfectly what you want to accomplish. You want
to attach an PDF to something which does not yet exist.
Don't
Le 08/12/2016 à 10:42, Hamster a écrit :
> That sounds a lot like...
>
> "Here's a file, you should save it in that non-existing folder"
>
> "But the folder does not exist yet...how am I going to save that file???"
When you are turning my request into a non-sense like this, I feel a
little scorn
That sounds a lot like...
"Here's a file, you should save it in that non-existing folder"
"But the folder does not exist yet...how am I going to save that file???"
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Re-API-Scripting-create-user-and-attach-some-files-to-its-pro
dd custom velocity code here:
> /bin/edit/XWiki/XWikiUserProfileSheet?editor=wiki
> (I don't know it it is a clean way, it depend of your use case desired)
>
>
> En date de : Mar 29.11.16, m...@ow2.org a écrit :
>
> Objet: Re: [xwiki-u
r use case desired)
En date de : Mar 29.11.16, m...@ow2.org a écrit :
Objet: Re: [xwiki-users] API/Scripting : create user and attach some files to
its profile
À: "XWiki Users"
Date: Mardi 29 novembre 2016, 9h00
Hi Pascal,
Thanks for t
ss
> attribute)
>
>
> Pascal BASTIEN
>
> ------------------------
> En date de : Ven 25.11.16, m...@ow2.org a écrit :
>
> Objet: [xwiki-users] API/Scripting : create user and attach some files to
> its profile
> À: "XWiki Users"
ventually add a XWiki.TranslationDocumentClass to translate myaddress
attribute)
Pascal BASTIEN
En date de : Ven 25.11.16, m...@ow2.org a écrit :
Objet: [xwiki-users] API/Scripting : create user and attach some files to
its profile
À: "XWiki Users&
Hi,
I'm working on a registration system around xwiki.
The basic workflow is the user is created in a LDAP directory at
registration time. Then the user can login to xwiki.
It's only upon the first successful login to xwiki that the user's xwiki
profile is created in xwiki database.
Now here is