I have a custom VF page which is added to a section in the page layout of an object.
What I'd like to achieve is to add dynamically generated HTML code to my custom VF page.
The HTML is dynamically generated via apex code in the
The HTML code must be generated in the
beforeInsert() method because the HTML depends on the invocation of another method.
How my apex code from the the
beforeInsert() method can access my custom VF page to set the HTML code inside the VF?
I need to include the HTML which is dynamically generated via apex code and to include it in my VF page.
Please advise how it can be achieved?