Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Suggested answer

Open resource using channel integration framework

Posted on by 10

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

  • Joao Jesus Profile Picture
    Joao Jesus 10 on at
    RE: Open resource using channel integration framework

    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

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Open resource using channel integration framework

    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);

  • Joao Jesus Profile Picture
    Joao Jesus 10 on at
    RE: Open resource using channel integration framework

    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 

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Open resource using channel integration framework

    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)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,912 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,355 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans