使用参数启动 Phone 的 Dynamics CRM

Start Dynamics CRM for Phone with parameters

是否可以从另一个应用程序以编程方式启动 Dynamics CRM 应用程序并传递例如联系人 ID 以直接打开它?

或者是否可以知道传递给 Android 应用程序的可用参数是什么?

例如:

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345"));

我试过了:

Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.microsoft.crm.crmphone");
launchIntent.setData(Uri.parse("https://org.crm4.dynamics.com/main.aspx?etn=cont‌​act&pagetype=entityrecord&id=%7B0e0cf917-005c-e511-80f8-3863bb357fc0%7D")); 
startActivity(launchIntent);

它打开应用程序但在主页上而不是在正确的联系人上

感谢您的回答

是的,CRM 具有 URL 可寻址表单。所以你可以通过URL打开记录如果你知道guid.

Open forms, views, dialogs and reports with a URL

例如这将打开具有给定 ID 的联系人。

http://myorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entityrecord&id=%7B91330924-802A-4B0D-A900-34FD9D790829%7D

在即将发布的版本中,您将可以使用深层链接。

App-to-app deep linking: Enables other mobile apps (such as email or your custom web-based app) to link and directly navigate to a record, view, or dashboard in CRM mobile apps.