Question

Unable to execute ESQ in Custom Modal Page

Dear Team,

 

     Please let me know whether we can able to use ESQ inside modal page. While executing this line "esq.getEntityCollection(function (result)"  control skips this line on debugging.

Like 0

Like

2 comments

You can execute ESQ in a modal. Do you see any errors appear in the browser console? Do you see the SelectQuery request for your ESQ happen in the network tab of the browser dev tools? ESQ is asynchronous so it's execution will skip to the next line when debugging, it will execute the callback function once completed, so try putting a breakpoint *inside* the callback function - meaning the line after the esq.getEntityCollection(function (result) {

Ryan

Hello,

 

Yes, esq can be initialized in the modal window and you can check it by calling it in the console via console.log. Can you please provide your code and specify what should the esq return?

 

Best regards,

Oscar

Show all comments