Hi,
I searched everywhere and i could not find an answer.
I would like to know if its possible to open an html resource from using the channel integration framework?
Best Regards,
João Jesus
thank you for your answer.
But using the open form mean that i need to have an entity with a form in this case i just have an HTML page as a web resource.
What i need is something similar to :
var pageInput = {
pageType: "webresource",
webresourceName: "new/html/search.html"
};
Xrm.Navigation.navigateTo(pageInput).then(
function success() {
// Run code on success
},
function error() {
// Handle errors
}
);
Is it possible to atchieve this with CIF ?
Best Regards,
João Jesus
Hi João Jesus,
The Dynamics 365 Channel Integration Framework will allow you to integrate your third-party channel providers (softphones, chat, and SMS) with Dynamics 365 model-driven apps using a browser-based JavaScript API library. The CIF JavaScript API reference for Dynamics 365 Channel Integration Framework version 2.0 can be found here. System requirements of the Dynamics 365 Channel Integration Framework can be found here.
You could, for example, use it to open a form containing your HTML web resource with Microsoft.CIFramework.openForm.
Microsoft.CIFramework.openForm(entityFormOptions,formParameters).then(successCallback,errorCallback);
Thank you, but I believe that will not be possible since the soft phone web app that is using the CIF is outside the dynamics domain.
Is there any other way ? Is not possible to navigate to the web resource instead or similar ?
best Regards,
João Jesus
Hi João Jesus,
I recommend using the openWebResource Client API to open an HTML web resource in a new window. It is designed for this purpose.
Xrm.Navigation.openWebResource(webResourceName,windowOptions,data)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156