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
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.
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)"; } });
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156