TLDR; in this article, you will learn how to build your first Low Code application using Power platform.
You will learn:
Low code development is using blocks instead of specific code to build apps and services. There are many Low Code platforms, Microsoft's is called Microsoft Power Platform.
The reason these platforms exist is that there's a great need to build business apps and not enough developers to build them. Also, many times non developer sit on business expertise, and it takes time to convey all they know to developers.
With a low code platform, you can empower this business experts and turn them into citizen developers, and have them build app.
There are many types of low code apps you can build with Microsoft Power Platform. Canvas apps lets you build traditional in many ways.
You can either build everything from scratch or model driven from a data source like for example Dataverse.
The idea is that you design an app much like a Powerpoint slide and use Excel like expressions to add logic.
OnSelect
property is selected.UpdateContext({ myvar: "clicked" })
, this will create a variable myvar
and give it the value "clicked":
"Show text:" & myvar
, this will ensure it shows the content of a static text and the value of myvar
.The
&
concatenates two strings together.
Nicely done, you've created your first Canvas app, but we can improve it a little by relying on text inputs.
OnSelect
property of the button:
OnSelect
fx value of the button to the following code UpdateContext({ myvar: TextInput2.Text })
The above code will set myvar
to the content of the TextInput2 control and its Text property.
Let's improve our program next by clearing the input field after we click a button.
Reset(TextInput2)
Your full code in OnSelect
should look like so:
UpdateContext({ myvar: TextInput2.Text });
Reset(TextInput2);
Drag the fx field down vertically to see more of it. Note how we added semicolons,
;
above to separate between multiple statements.
this code will clear the text input field and reset it to its default value.
You were show one way so far to clear a text input, there's another way, lets do that next.
Congratulations, you've taken your first steps to using controls and understand how they work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.