Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1220

UUID e.g. as macro-param when inserting macro

$
0
0

Is there a way to set a UUID as the default value of a macro parameter?

What I would like to achieve is that a UUID is generated which can then also be addressed as a DOM ID using Javascript and for this UUID I can use Rest-Api to reload properties from an object based on a class that I have previously created via Rest-Api.
Some properties of this object can then be changed on the client side.

This UUID, which is generated when the macro is inserted, would serve as a link between the macro and the object.

Do you have any ideas on how I can achieve this?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1220

Trending Articles