You’re offline. This is a read only version of the page.
Skip to main content
Power Platform
Cancel
Forums
Copilot Studio
Power Apps
Power Automate
Power Pages
Blogs
User groups + events
Galleries
Ideas
Copilot Studio
Power Apps
Power Automate
Power Pages
Resources
Community help
Community support
News
Learn
Feedback
Search
Notifications
Announcements
Welcome to the Power Platform Communities
Welcome to the Power Platform Communities
Power Platform Community
/
Blogs
/
Power Apps Community Blog
/
Plugin Low Code + Power FX ...
Plugin Low Code + Power FX NIE/DNI validation
Jonathan Manrique
2,682
Follow
Like
(
1
)
Share
Report
This functionality can be achieved at the front-end level of the user interface using JavaScript that could immediately send a warning to the user that the field does not meet the criteria.
We could also use a C# plugin to write it, but it would be on the backend and not the UI. To do this you must have a little more advanced programming knowledge.
Since the advent of Power Fx, certain code development functionalities are much simpler now. So we will focus on creating a Plugin but using Low Code.
The first thing is to create the string field within the table that we are going to use to validate the process.
Now we need to go to the Model Driven where we can build the plugins, and build an automated one.
Streamline app development with low-code plug-ins in Microsoft Dataverse - Power Apps | Microsoft Learn
Once inside the Application we select new and click on automated.
Select the name of the plugin and the table, as well as when it should be executed
From there is to build our formula using Power FX, I used GitHub Copilot to help me, but the formula came with a small error but it helped me build the syntax and then I was able to adjust it to the need I had
Then we need to establish when it should be executed, before or after the operation, and this point is important for our business case. If we want to validate before saving the data, we must do it in the Pre-Operation
And from here what remains is to test the plugin and how it works, which I leave you a video for it
https://youtu.be/q8aJT6EbIEw
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
You can accept more than one post as a solution
Follow me on Linkedin, I talk about Power Platform
www.linkedin.com/in/jonathan-manrique-rios
​​​​​​​
Comments
Add new comment
Comment on this blog post
You don't have the appropriate permissions.
Welcome,
Profile
Messages
My activity
Sign out