Using Zoho Creator Widget JS API with External Widget

Using Zoho Creator Widget JS API with External Widget

Hello everyone,

We are willing to use Zoho's Widget to serve an already published external website. The reason we want to use this external link inside a Zoho Widget is to use Zoho Creator Widget JS API to use Zoho itself as a data source for part of our application.

Normally if we serve the application using `zet run` command, we can successfully call ZOHO.CREATOR.init() function and it returns a successful promise, no issues.

Also, if we pack the application using `zet pack` command, put the zip file inside the widget as Internal source, it still works fine.

But whenever we publish the application on an external website and give the link to the widget as an external source, ZOHO.CREATOR.init() function never returns a promise, it it stuck in "pending" state.

Is it not possible to use Widget API's with external source, or are we doing something wrong? Any help is much appreciated! Thanks in advance.