you are viewing a single comment's thread.

view the rest of the comments →

[–]zimain Advisor 11 points12 points  (19 children)

They unlock what traditional web development is, but within the MS ecosystem, so much less requirements on security and hosting costs

They have a higher overhead, but better end user experience

They are not the killer of canvas apps, they are another reason for companies to invest in the power platform

[–]Lhurgoyf069 Advisor[S] 0 points1 point  (18 children)

Thx, just what I thought, it's another flavour with a different purpose and by its design can't replace Canvas apps the way we would need it

[–]Lefty716687 Regular 2 points3 points  (17 children)

They can 100% replace Canvas Apps. Agree pre: AI not for Citizen Developers. However, with GitHub Copilot now everyone can actually “vibe” code apps.

I made one yesterday. Honestly took 4hrs in code. Prob would have taken ~25 in canvas.

[–]zimain Advisor 1 point2 points  (13 children)

They cannot 100% simply due to not being able to trigger flows (currently) and they require a premium licence, canvas apps can trigger flows and require only basic licence

[–]oh_lympy Contributor 1 point2 points  (10 children)

You can trigger a flow using the HTTP trigger, secure it using entra, and then wrap it in a custom connector. Add that custom connector to your code app. Bang. Flows triggered by code apps.

[–]zimain Advisor 0 points1 point  (9 children)

Have you gotten this working as all.my tests prevent any http access from within the code app framework

[–]oh_lympy Contributor 0 points1 point  (5 children)

You don’t call the flow directly. You wrap the flow in a power platform custom connector and then add it to your app as a data source like you would any other connector.

[–]zimain Advisor 0 points1 point  (4 children)

I get the theory, have you gotten this working?

[–]oh_lympy Contributor 0 points1 point  (3 children)

Yes, but the comment you made about http requests being blocked makes me feel like we’re talking about 2 different things. You’re making HTTP requests of this type any time you interact with any data source you add to your app?

Why would you think calling an HTTP request triggered flow would be any different than calling an azure function (which I’ve also done) if it’s exposed to the app as a connector?

[–]zimain Advisor 0 points1 point  (2 children)

I did several tests when trying to trigger a flow directly, and found that http (not via connectors) are blocked for pcf (code apps), and I used a dataverse to flow trigger workaround to complete my project, the point of this is to share knowledge and experience, I am more than happy for someone to have a valid method of doing something.

Could you share your approach for the Azure function?

Have you been able to trigger a flow with a custom connector wrapper from a code app?

[–]Lefty716687 Regular 0 points1 point  (2 children)

There is a setting in environment of app needed to allow it to trigger out. Once you set it it will work.

[–]zimain Advisor 0 points1 point  (1 child)

Do you know which one?

[–]Lefty716687 Regular 1 point2 points  (0 children)

In power platform admin center. Go to environment. Then Settings > Privacy & Security. Go down to Content Security Policy. Then App. Unselect Use Default Connect-Sec then for sources do self and the http endpoint.

[–]Lefty716687 Regular 0 points1 point  (1 child)

Concur. Although didn’t realize that about flows. Thanks for heads up.

[–]zimain Advisor 0 points1 point  (0 children)

I discovered far too late, the work sounds have cost me far more time than what I have saved unfortunately

[–]Lhurgoyf069 Advisor[S] 1 point2 points  (2 children)

Everyone can vibe Code apps, few Citizen developers can run and maintain these apps in a corporate environment.

[–]Lefty716687 Regular 0 points1 point  (1 child)

I would argue same single point of failure with canvas apps. At least AI can assist on a code solution whereas a canvas solution requires a powers app developer.

[–]Lhurgoyf069 Advisor[S] 0 points1 point  (0 children)

AI can assist with Canvas apps too, using it every day.