ewingjm / development-hub

A continuous integration solution for Power Apps.
MIT License
35 stars 8 forks source link

Ribbon button to open the development solution #72

Open tdashworth opened 3 years ago

tdashworth commented 3 years ago

Is your feature request related to a problem? Please describe. I know it's something small but it would be nice to have a quick link to the development solution from the Solution Merge and Issue. This would save needing to navigate to the Maker Portal and finding the solution.

Yeah, yeah. I'm lazy....

Describe the solution you'd like I ribbon button would work nicely here or just a link on the form. I don't think it will be hard to get the solution id but the environment id might be tricky or not possible?

ewingjm commented 3 years ago

This annoys me too 😄 It shouldn't be difficult to implement. I notice the ALM Accelerator for Advanced Makers has included similar functionality:

image

tdashworth commented 3 years ago

It looks like this is the solution for the environment id: workflow()['tags']['environmentName'] https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#workflow

I'm not sure if this will work or if the id need to be retrieved using this action: https://docs.microsoft.com/en-us/connectors/powerplatformforadmins/#get-environment-as-admin

I'm thinking of adding another column to store the URL if it's easier to build in a flow that client side.

I would guess the solution id is that of the solution record.