Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Launched RA from my own App using protocal activation

(1) ShareShare
ReportReport
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
    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
    29,060 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans