How to invoke sling model from dialog?
Hi,
My requirement is to generate a custom unique ID and save it in JCR on submission of dialog properties in "/content/dam".
I am planning to add a hidden field and write the logic in java for the same. But, how to invoke this model on submission of dialog without html?
Thanks and regards,
Vijaya Kumar A