Check and be on the lookout for new features i cover around seven new features released in the last few months so let's check it out in action.
the first new feature is support for sharepoint image type columns sharepoint lists.
Now have a new column type called image which allows us to store an image related to the list item you can now create a power app and see the images from that image column.
You can also choose from the full version of the image or various thumbnail sizes small medium and large in this screen i have a gallery control.
The data source for which is that sharepoint list and as part of this gallery i have this image column the image property is set to this item.
I have the option to pick either the full size of the image or i can pick from the different thumbnail sizes in this scenario in my gallery i'll pick.
The medium size and it will go ahead and render the images i also have a form control on the screen that is connected with this gallery.
Control and one of the data cards of my form control is the device photo column the only control type that is supported for the image type column for now is.
Viewing the image that means one of the current limitations of this image type column is that it is read only with respect to powerapps.
The next new feature is known as string interpolation most modern programming languages have the ability to embed expressions within a string and now powerfx also has that.
Posts Related:
Capability
This new feature is called string interpolation and it follows the same syntax as c sharp i have this gallery that is showcasing.Data from my sharepoint list one of the label controls in this gallery is showcasing the properties of my sharepoint list item.
Here i am showcasing the type of my asset character 10 basically is to put a new line in the text then i'm showcasing the manufacturer and.
Then the model information to combine all of this in a single text property of a label control we have a couple of options one is to use the ampersand symbol so i.
Can concatenate all of this text together second option we have is to use the concatenate function where and i can pass multiple parameters to it and it.
Gives me the same desired output now we'll try and recreate the same formula using string interpolation but let's begin with something simple to understand how this works.
We got to put in the dollar symbol and then under double quotes we can start writing our expressions welcome that's my text here i want to enter some dynamic.
Information the name of the logged in user for that i will open and close the curly braces and right within this i can start writing my functions.
So user dot full name this plugs in the current logged in user's full name along with the hard coded text welcome let's try and recreate the concatenate.
Formula by using string interpolation
So i will begin with type colon now i need the dynamic value of the type of the asset so under the curly brace this item because i'm in the context of.A gallery dot my column which is asset type it's a choice column so i'll pick the value from it now i would like to place a new line.
Character so i'll use the function character 10. i will repeat that same function i'll plug in manufacturer i need its dynamic value.
And then i plug in the value of the data coming from the model column the format of my function here is a lot cleaner and is a lot easier to read and the output of my string.
Interpolation function is exactly the same as my concatenate string function the next feature is known as power automate pane this feature makes it easier to add and.
Work with power automate flows directly in our canvas apps without ever leaving the studio experience let's go ahead and trigger a flow on selection of this button.
In the left hand navigation we now have this new option called power automate if you do not see this option head over to settings upcoming features and make sure you have the enable power.
Automate pane turned on with this i can directly create my flow from the powerapps studio experience itself i'll select create a new flow.
This will launch a list of standard templates that i can select to create a flow or i can click on create from blank to create a blank flow.
And this will open the flow creation experience for me directly inside the context of powerapps for this use case i will select an existing template.
I will pick the template to send an approval and follow up via an email i will give my flow a name and click next this flow has certain input parameters.
That it will expect i will click create flow these parameters will need to be passed from powerapps to flow this will now go ahead and create my.
Flow and also associated with my power app if i would like to look at that flow or make modifications to that flow head over to the three ellipses and.
Click on edit this will launch the flow editing experience for me directly inside of powerapps the flow triggers from powerapps.
Starts an approval process expects a parameter who the approver is grabs the response of the approval and based on the approval response it will send either a successful approval.
Email or a rejection approval email to an email address that we pass from power apps to flow as a parameter to call this flow on selection of this button i will straight away start typing.
The name of my flow which is send sample approval flow there's a run function to run the flow this flow expects two parameters approver to email who my approver is.
In this case i will hard code my approver to a specific user i will send this to a user sarah for approval and once the approval response is.
Received who should receive the follow-up email i will use the current logged in user who's running the powerapp to receive that follow-up email.
Let's preview this app and click call slow from powerapp this now has gone ahead and triggered that approval process sara receives an approval request email.
This is coming from the user clicking on that button from powerapps powerapps is calling flow reza was the user who started the approval process that's coming from.
Raza's context sarah can either approve or reject this optionally can enter commands and submit her response once the approval response is logged.
Reza receives the approval follow-up response my request has been approved by sarah and here are the commands that sarah had entered.
Now this power automate pain inside of powerapps has a lot of other useful advantages one of the key features is if we make a change to the schema of the flow.
Let's say the flow expects another parameter that change will be reflected immediately in the power app itself when i'm starting this approval action i.
Want to also give the user the ability to enter a message for the approver so i will insert a text box here i can enter a message and i would like to pass that as a parameter to my.
Flow to modify the flow i can straight away go to the three ellipses here and click edit for the start and approval action.
For the details of the approval here from dynamic content i will click on see more and i will select the option ask in powerapps.
This will create another parameter that i would have to pass from powerapps to flow if you observe the flow checker it will even warn us that you may break your.