A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
We usually put the XForm events in the block control/controller itself, then we have access to CurrentBlock.
Hi,
I posted this question before and got no response, maybe the description was vague.
In a project I'm currently working with, we have a Block which contains a XForm property. Now I'm about to fiddle with the AfterSubmitPostedData-event in the Initialization-module for this addon. This step is working fine, the event is executed as expected.
The problem i face is that i cannot get reference to the block that the XForm lies in. The XFormDataEventArgs doesn't have a reference to the block, just FormData.PageGuid which is of course null. And the sender is null. Is there a way of getting the reference of the block in the event?
Thanks for your help