web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Take input from a user...
Power Apps
Answered

Take input from a user while adding a pcf component

(0) ShareShare
ReportReport
Posted on by 28

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.

field.png
pcf.png
I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at

    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

  • Sunayana8 Profile Picture
    28 on at

    Could you please include the manifest file in your code?

  • Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at

    the manifest file is in the same folder, here the direct link

    https://github.com/GuidoPreite/PCF_CustomUrlControl/blob/master/CustomUrlControl/ControlManifest.Input.xml

  • Sunayana8 Profile Picture
    28 on at

    I wanted the ManifestTypes.d.ts file. Could you please upload that?

  • Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at

    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;
    }

  • Sunayana8 Profile Picture
    28 on at

    Thankyou!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 211 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard