How can i execute methods after the RunProcessButton is fully rendered?

Hi,

each opportunity  record has a button that is used to run different processes. This "Run Process" button, has a list of items, "Processes", and I would like to know how can I execute my method after the button is fully rendered, including its items.

For this problem I tried every solution that I found in this question "https://community.creatio.com/questions/method-called-after-page-render…", without success.

Thanks in advance.

Best regards,

Pedro Pinheiro

 

Like 1

Like

1 comments

Unfortunately, there is no method that is triggered after all elements on a page  is rendered. However, we recommend you to try to use onEntityInitialized method. It guarantees that HTML and all data for entity is already loaded. Also please take a look at the setTimeout function in js.

Show all comments