官术网_书友最值得收藏!

  • Learn Microsoft PowerApps
  • Matthew Weston
  • 423字
  • 2021-06-24 12:08:14

Action

Actions are key within your app as you will need to build elements of interactivity to allow your users to do what they need to do:

Figure 1.25: The options that are available on the Action menu

The primary action that your users will carry out within an app is navigating; therefore, the first option on the menu is Navigate.

Note that this control will only be enabled if you have a control selected on your canvas.

The key items that are located on this menu are as follows:

  • Navigate: There are two key pieces of information that you need to provide for navigation: a target and a transition. Transitions are the effects that are applied to the screen change; for example, they could fade from the first screen to the next.
  • Collect: This allows you to populate a collection without having to write the formula manually. We will investigate this action in more detail in Chapter 9, Using GPS in PowerApps.
  • Remove: This is the counteraction to Collect: you place the formula in order to remove content from a collection. Again, we will investigate this action in more detail in Chapter 9Using GPS in PowerApps.
  • OnVisible: This part of the Action menu will change depending on the object that you have selected on the canvas. This happens because the actions menu will display the common events for that control. Events occur when a user does something; for example, if a user presses a button, it will fire an OnSelect event.

Screens will have an OnVisible action, which means that, when they are created and displayed, you can execute a formula; for example, when a screen loads, it will set a number of text fields so that they have some default content. Other controls, such as the text box, will have an OnSelect or OnChange action button on the menu which, when clicked, will open the formula bar for the correct event.

  • Flows: The final part of this menu is Flows, which will allow us to build your business process or workflows using Microsoft Power Automate. This can be used to reference a Flow that already exists or to create a new Flow for this PowerApp. We will investigate Flows in Chapter 17, Exploring Environments within Our Tenancy

Now that we have looked at the menu and learned how we can add new items to our PowerApp, let's look at the formula bar, which is where we can tell the app what to do.

主站蜘蛛池模板: 峨边| 舒城县| 安平县| 西平县| 盐亭县| 渝北区| 鹿邑县| 本溪市| 朝阳市| 炉霍县| 昌乐县| 平度市| 海淀区| 南充市| 金湖县| 洛浦县| 深水埗区| 景泰县| 柘城县| 隆德县| 大余县| 大荔县| 阿巴嘎旗| 江陵县| 中宁县| 娱乐| 永康市| 三门峡市| 天门市| 建水县| 大荔县| 巴彦淖尔市| 南澳县| 中山市| 洛隆县| 曲靖市| 自贡市| 林芝县| 兴业县| 仲巴县| 潞西市|