Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 21.08.2018, 02:59   #1  
Blog bot is offline
Blog bot
24,022 / 809 (75) +++++++
Регистрация: 28.10.2006
powerobjects: When to use Dynamics 365 Connector or Common Data Services in PowerApps

Word’s out! PowerObjects hosted its first ever hackathon in July. Great apps were built PowerApps by team members across the globe, and you can check them out here. With all the development accomplished in a few hours, many lessons were learned. In this blog post, we’ll be sharing one of the lessons learned by the team.

Spoiler Alert: If you can’t find an entity in the Data Source’s tables list, it is not the right connection for your scenario

Using Connections

With PowerApps, you can create intuitive applications connected to your organization’s Dynamics 365 data. You can create, update, and see Dynamics 365 records right within your app. Common Data Services (CDS) and the Dynamics 365 Connector are considered standard connections, and can be used to connect to your Dynamics 365 data. You can also use CDS to create and customize entities from PowerApps.

To learn more about Connectors, and how to connect, review Microsoft’s PowerApps guide here.

First attempt

For one of the use cases, we wanted a user to be able to create a Lead within PowerApps. To connect the app to the Dynamics 365 data in the organization, we first added a data source.

From the available Data Connections, we selected CDS.

To choose a table (entity), we searched for Leads.

Look again at the image, and you’ll notice the Leads table is not available. This takes us to the lesson learned: not all out-of-the-box (OOB) entities are currently available in CDS. When working with OOB entities and choosing your data source, visit PowerApps’ Entity Reference to identify if the desired entity is currently available.

But we still need to build an app, right? A lesson learned is complete when there’s a solution for it.

Dynamics 365 Connector

Microsoft is still updating the Common Data Model, and new entities are expected to be available in the future. In the meantime, the Dynamics 365 Connector is an excellent alternative to connect to the data. The solution is to repeat the previous steps; this time selecting the Dynamics 365 Connector.

Choose View > Data Sources > Add a Data Source. From the available Data Connections, select Dynamics 365.

Search through the tables for Leads. Success! You are able to connect to the out of the box Leads entity.

Now connected to Leads, you can continue building the app. If you wish to learn more about the Dynamics 365 Connector, check this list of formulas you can use to complete and deploy your app.

Want to learn more about PowerApps and the Common Data Service?  Check out our PowerApps, Flow, and CDS for Dynamics 365 training.

Happy D365’ing!

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
powerobjects: How to Integrate Power BI with Dynamics 365 for Finance and Operations Blog bot Dynamics CRM: Blogs 0 26.06.2018 01:23
powerobjects: Dynamics 365 Spring 2018 Update: Introducing D365 for Marketing Blog bot Dynamics CRM: Blogs 0 06.06.2018 01:32
powerobjects: Visualizing Data in Dynamics 365 Blog bot Dynamics CRM: Blogs 0 03.01.2018 05:45
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 17 Blog bot Dynamics CRM: Blogs 0 10.05.2014 06:30
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 16:17.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.