App has a modern table control that lists out the data from my data source in my scenario it's a simple SharePoint list that tracks event information if I select a specific.
Event this will lead me to the form screen experience where I can see all the details about the event there is an approval process also tied to an event request that comes in.
And the user can select the approvers I have this nice approval status indicator that lists out the approvers it's a Serial approval action currently the status is pending.
Approval the task is assigned to Sarah Resa has already approved it and I can look at the running approval history as the process moves ahead now let's take this home screen.
Experience and design it differently by using a combination of the standard Gallery control and modern controls to create the screen I'll head over to new.
Screen and pick one of the new modern screen templates called header and gallery screen this screen is already built keeping responsive design principle s in.
Mind whether I view this on a desktop experience or a tablet experience held horizontally vertically or a mobile device experience you can see how the entire screen is responsive by.
Design and all this is thanks to the responsive container controls that the screen leverages let's focus on the gallery experience the data source for the.
Gallery I will pick my connected events info SharePoint list in this Gallery there are responsive container controls one of the containers here is.
To display an image in my case I don't have an image to display for events I'll go ahead and remove this container if I want to change the size.
Posts Related:
- How To Add A Responsive Navbar To Your Blogger Website - Live Blogger BlogSpot
- Slide Presentasi PowerPoint Sederhana namun Keren dan Menarik PowerPoint
- Design Your Week: Time Management with James Jeffley
Of the gallery
Items the gallery control has a template size property I'll change this to let's say 265 gallery has a property called.Template padding I'll give it a padding of 20 and then the gallery container it's height I'll set it to parent. template.
Height and its width I'll change it to parent. template with if I preview this view it on a tablet experience or a mobile device.
Experience a fully responsive experience within the gallery container there is a title container that is a vertical container so every control that we add within it will be stacked.
Vertically these are already modern controls the text property is set to feature item I'll change this to this item. tile to show the title of my.
Event I'll set the alignment of the text to Center description text I'll show the description of my.
Event to show the start date and end date of the event I'll select the title container and insert the modern text control alignment.
Stretch it's text property this item dot start date and time I would also like to show the end date and time next I would like to show the session type session type is displayed.
In this nice pill design experience and I would like to also show the session code and these two I would like to place them horizontally next to each other inside.
The title
Container title container is a vertical container so I'll Select Title container and go and insert a horizontal container within.It the minimum height for this container I'll reduce it to 50 so it sits in the space and within this container I will go and insert a text.
Control this will be to show the session code now select the horizontal container and to show the session type I will go and insert the modern batch control I'll give this control a width.
Of 150 and the content property of the batch control I will use this item do session type dot value as in my scenario it's a choice.
Column I'll select the horizontal container horizontal justification Center drop shadow effect I'll set it to none and vertical alignment also I'll.
Put it in the center now the session type I would like to change the color code select the batch control under properties style and theme as the option of color.
Palette it's currently empty so it's picking the default color of my modern theme that is set for my power app let's change this conditionally so for the batch controls.
Base pallet color property I'll use the switch function switch on this item do session type. value if if the value is breakout use color..
Purple if the value is keynote color. green and I've gone ahead and plugged in all my color codes to show the main status of the event in my main Gallery.
Container I will go and insert the modern header control firstly the the height for this control I'll reduce it to 50 the header control has an option to.
Display a logo I'll go ahead and turn it off then it has a property title I'll change this to this item do status. value so I can see the status values if I head over to Advanced.
Property for the header control and search for user user image shows the image of the user I will change this to this item do created by dot picture if I would like.
To show the image of the user who created the item username if I hover over the user image it will show the.
Username in my scenario the approval information is stored in a column called approval history so for username I'll use this item do approval.
History so now as I hover over these items it will show all the approval history information the header control properties style and theme I have the.
Color pallet option the property is called base pallet color I can apply conditional formatting this time I'll switch on this item..
Status. value if it's approved color. green if it's pending approval I'll pick the color Golden Rod and if it's rejected I'll pick the color red so you can see how the header control displays.
The status along with the color plus the approval history information I need to adjust the height of the controls in my title container title container padding top is.
20 I'll reduce that to 12 bottom make it zero my description I'll adjust its height and the horizontal container I.
Added I'll reduce the minimum height here 40 my approvers I would like to list out the approvers here in the order in which the approvers were selected.
And also show the status of the decision that the approver has taken this button container is a vertical container I'll change it to.
Horizontal in this I would like to go and insert the modern tabl list control I'll reorder this to move to the.
Left I'll set its height to 40 items property expects an array I have a multi select person type column so the approvers that the user selects is stored in this.
Column plus I have the current status of this entire event and I also have information about how many decisions were taken so if we take this item as an.
Example the final status is approved meaning both the approvers have said approved total decisions taken is two for this specific item there were three approvers the final status is rejected.
And two decisions were taken means the second approver rejected it for the items property of the tabless control for all use the sequence function count rows this item do.
Approvers for each of these show this r record do value that will be the index of that approver and I will concatenate this with with a hyphen and concatenate this.
With index of this item. approvers comma This Record do value dot go and get the display name of my approver now this tabless control I'll make sure flexible width is on so this.
Gets the maximum width in this container if I preview you can see how it's listing out my approvers now to this I would also like to show the.