
Creator Kit - Library Control Errors
Technical article about Creator Kit - Library Control Errors
Technical article about Creator Kit - Library Control Errors
At the time of writing this article, when you add Library Component of Creator Kit, you may find some errors. If you don’t know what Creator Kit is, you can read my article here.
Add one of Library control to your app. If you didn’t have installed Creator Kit in your environment, you can read this article to do it.
Add Panel Component
Add Control To App
Let’s see how to use this control.
As you can see, now you have 10 errors on your app. All errors are relative to our Panel Control:
Our control should look like this:
Panel
To fix, you should follow these step:
Create a local copy of your control
Fix errors
Use copied control
Let’s start to create local copy. Click on Edit and then Create Copy:
Edit component
Create copy
Now you have local copy and you can fix errors:
Control to fix
In this case (But the errors will change depending on the control you have), I fixed:
Button:
If(ThisItem.ButtonType = Primary, ColorValue(Panel_2.Theme.palette.themePrimary))
To
If(ThisItem.ButtonType = 'Microsoft.CoreControls.Button.ButtonType'.Standard, ColorValue(Panel_2.Theme.palette.themeDark))
Font:
'Segoe UI'
To
Font.'Segoe UI'
Semibold
To
FontWeight.Semibold
Transparent
Color.Transparent
Now your control should work. You should see like this:
Panel Control Fixel
We can use our version of control:
I hope these information can help you…Here you can find official documentations on GitHub for this control.
Contact me for questions! Have a nice day!