get model drivern app id in flow Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/tag/get-model-drivern-app-id-in-flow/ Microsoft Dynamics CRM . Microsoft Power Platform Sat, 12 Sep 2020 14:40:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 get model drivern app id in flow Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/tag/get-model-drivern-app-id-in-flow/ 32 32 176351444 Get AppID of Dynamics 365 Crm App in power Automate – UCI http://microsoftdynamics.in/2020/09/12/get-appid-of-dynamics-365-crm-app-in-power-automate-uci/ Sat, 12 Sep 2020 14:40:51 +0000 http://microsoftdynamics.in/?p=4135 In Our last post we dynamically created Record URL in power automate but skipped Appid part ,

Click here for: http://microsoftdynamics.in/2020/09/12/uci-get-entity-record-url-or-generate-dynamic-record-url-of-a-record-in-power-automate-using-cds-connector-and-variable/

Below are the steps

Create an entity "Organization Config" and create 2 fields,
Sales hub App ID and Service Hub App ID

Add Entity in Model-Driven App and side map where ever we want to keep it

Now We will open our Power automate flow we created in the last post, Add an action "List Records"

As we are using List Records which will give multiple results, we can use Odata filter or Fetch XMl to fetch the records

This action gives Collection as output, we will use the below expression to get value from 1st record.

body('get_org_config_list')?['value']?[0]?.dvm_salesappid

Now we will use compose action output in our variable

The post Get AppID of Dynamics 365 Crm App in power Automate – UCI appeared first on Microsoft Dynamics 365 Blog.

]]>

Each Model Driven App has a Unique ID and OOB there is no action in power automate to get ID of a particular required APP, Below are the step we can use to fulfill the requirement to get AppID in Power automate

In Our last post we dynamically created Record URL in power automate but skipped Appid part ,

Click here for: http://microsoftdynamics.in/2020/09/12/uci-get-entity-record-url-or-generate-dynamic-record-url-of-a-record-in-power-automate-using-cds-connector-and-variable/

Below are the steps

  • Create an entity “Organization Config” and create 2 fields,
    Sales hub App ID and Service Hub App ID

  • Add Entity in Model-Driven App and side map where ever we want to keep it

  • Now We will open our Power automate flow we created in the last post, Add an action “List Records”

  • As we are using List Records which will give multiple results, we can use Odata filter or Fetch XMl to fetch the records

  • This action gives Collection as output, we will use the below expression to get value from 1st record.

    body('get_org_config_list')?['value']?[0]?.dvm_salesappid

  • Now we will use compose action output in our variable

The post Get AppID of Dynamics 365 Crm App in power Automate – UCI appeared first on Microsoft Dynamics 365 Blog.

]]>
4135