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?