cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SkiDK
Solution Sage
Solution Sage

Get solution version in canvas app

Hi all,

 

In a canvas app, is it possible to retrieve the solution version number it belongs to?

 

I don't find much documentation about this. Anyone knows how to? Or is it not possible?

 

Thanks very much,

Ski 

2 ACCEPTED SOLUTIONS

Accepted Solutions
iAm_ManCat
Super User
Super User

Hi,

 

It's not currently possible to directly get this from Power Apps, you could look at manually setting a value during onStart of the App, which you would then update every time you saved, that way when you exported the solution for another environment you could see what version of the App was currently running (ie is it the most recent?)

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

SkiDK
Solution Sage
Solution Sage

Thanks to @Expiscornovus, it possible to do it with a flow. If you call the flow from within you app, you can retrieve the version number.

 

Please see next article on his blog to approach this: https://www.expiscornovus.com/2022/01/09/solution-name-and-version-of-flow/ 

View solution in original post

3 REPLIES 3
iAm_ManCat
Super User
Super User

Hi,

 

It's not currently possible to directly get this from Power Apps, you could look at manually setting a value during onStart of the App, which you would then update every time you saved, that way when you exported the solution for another environment you could see what version of the App was currently running (ie is it the most recent?)

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Hi @iAm_ManCat 

 

Thanks for your reply. That's how I currently do it, but it's just a bit excessive to get the version in the app itself I think. You can forget to change it, especially when you're not always the one doing the deployment. If you forget, you'd have to restart the deployment process.

 

It'd be very useful if the deployment took care of the versioning of solution and all it's containing components.

 

I have added an idea: Get solution version number in app (or flow) - Power Platform Community (microsoft.com)

 

Ski

SkiDK
Solution Sage
Solution Sage

Thanks to @Expiscornovus, it possible to do it with a flow. If you call the flow from within you app, you can retrieve the version number.

 

Please see next article on his blog to approach this: https://www.expiscornovus.com/2022/01/09/solution-name-and-version-of-flow/ 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,041)