I am attempting to build a simple DetailsWidget that will take the email address of the customer and query our CRM for additional data.
I was able to create a Details Widget, and build the api call but it keeps returning an empty set, though I can clearly log the results of my api, and it IS returning data.
Why can’t I see the data on the DetailsWidget end?
I tried both an .ajax call and a .getScript, both return an empty response.
Are there any samples of a similar simple Widget I could refer to?