Hyperlink to call method in Web Client

In the Smart Client, one could include a hyperlink in an HTML area that could call a local or global method in the solution like:

<a href="javascript:myMethod()">Click here to launch Method</a>

This doesn’t work in the Web Client. Is there an equivalent? I have searched but have not found anything.

This should work exactly the same in the web client (we used it in our previous solution before we moved to NGClient) but you must make sure you have flagged the field with the TRUST_DATA_AS_HTML attribute. I will try to dig out the old solution tomorrow and paste some sample code for you.