FrancescaOrsini | 2023-03-03 12:17:19 UTC | #1
Hi all , since yesterday I use the contactSearch function in my embeddable framework in this way contactSearch: function (searchString, onSuccess, onFailure) { contactSearchCallback = onSuccess; window.parent.postMessage( JSON.stringify({ type: "contactSearch", data: { searchString: searchString }, }), "*" ); },
and it works perfectly.
Today is not working anymore and for this reason, it's not possible to do outbound calls ...
To solve it, I must use the sample contactSearch function contactSearch: function (searchValue, onSuccess, onFailure) { onSuccess ([{ type: "external", name: "", phone: [{ number: "", label: "Cell" }], attributes: {example_urlpop: "url"} }]); },
Do you have any idea about this behaviour? Why is suddenly changed?
jacobshaw | 2023-03-16 20:04:36 UTC | #2
@FrancescaOrsini To clarify, is your updated function allowing you to do outbound calls? The updated function looks correct when comparing to the documentation for contactSearch https://developer.genesys.cloud/platform/embeddable-framework/configMethods/contactSearch#onsuccess-array
system | 2023-04-16 20:04:37 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 18705