Skip to main content

Notifications

Community site session details

Community site session details

Session Id : SOsJv0eNEhZnZiPrsuxA4D
Power Apps - Building Power Apps
Answered

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

Like (0) ShareShare
ReportReport
Posted on 28 Aug 2020 16:58:00 by

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) 

 

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    on 02 Sep 2020 at 14:47:11
    Re: How to create a Power App with Dynamics 365 Business Central?

    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/companies("132465-hjkhhjkh-5465464-786ae7")/myModels

     

    changing it to {companyid} now it works 

    https://api.businesscentral.dynamics.com/v2.0/{tenantguid}/sandbox/api/publisher/apigroup/beta/companies({companyid})/myModels

     

    ๐Ÿ™‚

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

๐ŸŒธ Community Spring Festival 2025 Challenge ๐ŸŒธ

WIN Power Platform Community Conference 2025 tickets!

Markus Franz โ€“ Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Communityโ€ฆ

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started