Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Launched RA from my own App using protocal activation

Posted on by 7

Hi, all

  I have successfully launched RA from my own app.

  the question is when I launched RA, my own app switched to RA right away after calling someone, I need to relaunch my own app. I want to know is there any way that after launching RA I can still stay in my own app?

BR

  • xudarker Profile Picture
    xudarker 7 on at
    RE: Launched RA from my own App using protocal activation

    thank you, this helps a lot, but after using this return field thing it literally just replaces the manually switching app procedure when it returns to my own app, which starts all over again.

  • Verified answer
    Nya Profile Picture
    Nya 29,054 on at
    RE: Launched RA from my own App using protocal activation

    Hi,

    An additional returnto field can be included to have Dynamics 365 Remote Assist return to your application when a call ends. This enables users to both start and end their experience in your app without having to manually switch between them.

    To support the returnto field, you need to register your app with a custom URI (see Register an app with a custom URI).

    Then include the optional returnto field along with the registered app name you completed in the previous step. In the example below, "helicoptor-maintenance-app" is the registered URI:

    ms-voip-call:?contactids=&returnto=helicoptor-maintenance-app");

    The following code example is written in C , but can be easily adapted to another language.

    Platform::String^ id = objectId->Text;
    auto uri = ref new Windows::Foundation::Uri("ms-voip-video:?contactids="   id   &returnto=helicoptor-maintenance-app");
    resultText->Text = uri->AbsoluteUri; 
    
    concurrency::task launchUriOperation(Windows::System::Launcher::LaunchUriAsync(uri));
    launchUriOperation.then([this](bool success) 
    { 
        if (success)  
        { 
            // URI launched 
            resultText->Text  = " (URI Launched)"; 
        } 
        else  
        { 
            // URI launch failed  
            resultText->Text  = " (FAILED)";
        } 
    });

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 Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

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,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans