Skip to main content

Notifications

Announcements

No record found.

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

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,050 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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans