cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
elTorito
Frequent Visitor

How to create a Power App with Dynamics 365 Business Central?

Hello, 

since weeks i try to create a power app which interacts with business central, but i can't get it to work. 😞

I would like to create a custom connector and a power app that interacts directly with the CustomConnector Business Central.

- Extension for BC I have created
- Custom Connector I have also created

But I have no success with the Power App ...

Now I have watched the video here (How to create a Power App with Dynamics 365 Business Central), at minute 28:07 the Custom Connector is introduced, and at minute 30:05 the Canvas App is introduced, but it is already finished in the video, so I don't understand where the data in the app is from.

In the video, in the treeview there is a VehiclesGallery which has no DataSource assigned but a collection (Vehicles).

On the main screen of the OnVisible Trigger there is the following assignment:
UpdateContext({Vehicles:TestVehicles.get("Company GUID"})

here TestVehicles is the name of the CustomConnector, so the Connector uses the Get function to get the data and fill the Collection vehicles.

Why can't I understand the example? The API i have is ok, the Custom Connector is ok too, which steps do I have to do in Power Apps?

What I try: Create PowerApp Canvas, Blank, then insert a Gallery,then try update context 
and then I can't get any further. Is there perhaps still a detailed manual?

 

Thanks a lot

(sad greetings) 

 

1 ACCEPTED SOLUTION

Accepted Solutions
elTorito
Frequent Visitor

Solved the Issue with the Custom Connector to Business Central ... 

it was caused by false url in the connector , in the GET i put :

https://api.businesscentral.dynamics.com/v2.0/{tenantguid}/sandbox/api/publisher/apigroup/beta/compa...

 

changing it to {companyid} now it works 

https://api.businesscentral.dynamics.com/v2.0/{tenantguid}/sandbox/api/publisher/apigroup/beta/compa...

 

🙂

View solution in original post

1 REPLY 1
elTorito
Frequent Visitor

Solved the Issue with the Custom Connector to Business Central ... 

it was caused by false url in the connector , in the GET i put :

https://api.businesscentral.dynamics.com/v2.0/{tenantguid}/sandbox/api/publisher/apigroup/beta/compa...

 

changing it to {companyid} now it works 

https://api.businesscentral.dynamics.com/v2.0/{tenantguid}/sandbox/api/publisher/apigroup/beta/compa...

 

🙂

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,675)