I have a PCF Component. I need to ask the user to enter the minimum number of characters that are required in the field. This must take place while adding the PCF Component to the field.
Solved! Go to Solution.
you can add an additional property to the manifest and after read the property value inside your logic.
you can check the source code of my PCF control
https://github.com/GuidoPreite/PCF_CustomUrlControl/tree/master/CustomUrlControl
you can add an additional property to the manifest and after read the property value inside your logic.
you can check the source code of my PCF control
https://github.com/GuidoPreite/PCF_CustomUrlControl/tree/master/CustomUrlControl
Could you please include the manifest file in your code?
the manifest file is in the same folder, here the direct link
I wanted the ManifestTypes.d.ts file. Could you please upload that?
this is the content of the ManifestTypes.d.ts, however it get generated by the pcf tooling
/*
*This is auto generated from the ControlManifest.Input.xml file
*/
// Define IInputs and IOutputs Type. They should match with ControlManifest.
export interface IInputs {
value: ComponentFramework.PropertyTypes.Property;
placeholder: ComponentFramework.PropertyTypes.StringProperty;
value2?: ComponentFramework.PropertyTypes.Property;
placeholder2?: ComponentFramework.PropertyTypes.StringProperty;
value3?: ComponentFramework.PropertyTypes.Property;
placeholder3?: ComponentFramework.PropertyTypes.StringProperty;
urlLink: ComponentFramework.PropertyTypes.StringProperty;
urlText?: ComponentFramework.PropertyTypes.StringProperty;
urlCSS?: ComponentFramework.PropertyTypes.StringProperty;
icon?: ComponentFramework.PropertyTypes.StringProperty;
iconStyle?: ComponentFramework.PropertyTypes.StringProperty;
}
export interface IOutputs {
value?: any;
value2?: any;
value3?: any;
}
Thankyou!
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
6 | |
5 | |
4 | |
1 | |
1 |