PowerApps I am glad to bring you up with the latest change in the PowerApps Studio, in the latest version (2.0.660), the enhanced capabilities are showed and discussed in this article, PowerApps Studio had changes in the Properties Panel, Viewing data with the edit form, global variables, and the reset function. 

PowerApps Studio | Properties Panel: 

what brings thrill drive is the addition of Properties Panel in the right canvas of the PowerApps Studio. the properties panel will the one exposing the common properties that will be making the understanding will the functionality of the control in precise much easier. Configuration of that control will be much easier, it is totally visual instead of code. 


the panel is comprising of the following capabilities: 

1. Categorised properties are available for color, border, positioning of controls. 

2. For forms and galleries data panel is there so that successful configurations of data sources is done. 

3. Color scheming was done via R B G values, but now the color picker is there for it no further to remember R B G  values.

4. The Formula bar, now you can view the formula in formula bar by just clicking on the property name in the panel. 

5. Some of the complex functionalities, are locked in properties panel to prevent overwriting of them with the static values. 


Thus, this is how the properties panel is being updated, i would love to know your feedback upon it. So, the updates will be proving that PowerApps studio to be more simplified.


PowerApps Studio | Viewing Data With Edit Form:


Data, is the most important part of Apps especially the business solutions apps. Apps created by data mandatory have three screens 

1.  Gallery Control: This shows the list of all the records.

2. Display Form Display: This displays the selected record view. 

3. Edit Form Control: This is used to edit the records. 


so whats new is that the same functionality goes with 2 screens, how? What if the Edit Form Control could be configured in a mode screen, functioned as Display Form Control. you just have to author your page/form once. so now the edit form has an extra mode that is known as View. View Form Functions make you enter in that view. you can also default to this mode by setting the Default Mode property on the control. 


In order to increase the functionality, reusability of the app controls for the input/edit and displays tasks, all controls now have a Display Mode. That property supports the value for Edit, View or Disabled. User input, to display, or making disable is allowed via configuration of the control. In the View mode, the value of will be displayed and will not be allowed to be rendered, in the input control, date picker etc. This makes them to be suitable to be displayed in forms or readable output. 


 



Stepping ahead, each card now is having a Display Mode property too with same values. talking about default attributes and values each card input card has the value of DisplayMode = Parent.DisplayMode . Setting one level more up the edit form has also have the DisplayMode property, default card value remains the same DisplayMode = Parent.DisplayMode  now  you can break the defaults dependency chain as you like. 


So, A bird eye view: 

1.  Set the Edit form Mode with the DefaultMode property and EditForm, NewForm, and ViewForm functions.

2. The Edit form’s DisplayMode property will be set accordingly automatically.

3.  By default, the card derives from the Edit form’s DisplayMode with Card.DisplayMode = Parent.DisplayMode. You can modify this dependency anytime you               like.

4.  By default, the input controls within a card derive from the Card’s DisplayMode with Control.DisplayMode = Parent.DisplayMode. You can modify this                           dependency anytime you like.


PowerApps Studio | Global Variables:

Until now, in PowerApps working with variables has been tough, now its much easier getting into the new Set function i.e. Set(DataLime, 1). anywhere the PowerApp you are working at use DataLime it is that simple. the value might be of any type i.e. number, text string, date, boolean, record, a table, or an object. 

Within the product, maintaining the same position Context variables and collections are there on their own places. Screen variables are highly depending on the context variables hence are highly useful they are aimed to pass the values by the use of Navigate function, whereas the collections can be saved and loaded from the local device with Save Data and Load Data. Global variables are listed in the file menu. 


 PowerApps Studio | Reset Function:

Reset, as the name specify that this functionality will be about getting back defaults. So this function will reset the values to the values of control that were before modification by the user. 

let us example, to understand better, you are having the text input control named Full Name that is having the default property of "Shag", the end user comes in and types Shaggy instead, later on some time the his minds divert, and want to go back to the original value. to him you offered the cancel button, but in actuals the behind scene the formula is Reset(FullName)  thats make it to go back to the original value. 


Happy PowerApps Building ! 

Meeran Nasir.