Validate Screen

Written By mycondy_94400

Last updated 5 months ago

The Feature is available in the PRO version

This PRO functionality is able to check your selected screen(s) if it(they) has(ve) unique names. Why is it important?

During using PAC CLI library in VS CODE, you should have unique names in your scree(s). It is mandatory prerequisite for exporting CANVAS app to your Power Apps solution. if your screen will have objects with the same name, then the export crashes with the error that this name is already used.

The step is simple, after designing of your screen, select a screen(s) and click on “VALIDATE“ button. If everything is fine, no report will be generated, otherwise you will see this frame in your Figma page with bottom info message: “Validation failed. Report created on this page“

The plugin recognises 2 different errors:

  • Repeated names - your screen(s) contains multiple same names

  • Wrong names - your control name contains illegal characters (Maths operators +,-,*,/, white space, or emojis)

Both of these error are controlled under validation action in DesignKit plugin. If you follow this instruction then you your validation will be successful and ready for exporting.