Skip to main content
Dynamics 365 Community / Forums / Remote Assist forum / Launched RA from my ow...
Remote Assist forum
Answered

Launched RA from my own App using protocal activation

editSubscribe (0) ShareShare
ReportReport
Posted on by 5

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

Categories:
  • xudarker Profile Picture
    xudarker 5 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,043 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)";
        } 
    });

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans