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

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Component Library bug for input/output properties type of Record and Table

(0) ShareShare
ReportReport
Posted on by 6

I have several components in component library. Some of them have output/input custom properties types of record or table and each time when I change one component in the library and update the components in the canvas app, those properties of the components are not recognized anymore and errors occure (it doesn't matter what I change, it always not recognized - even when I change the color of a text)

I've created a dummy component inside of component library with 1 output property type of Text and it was working fine (no errors after updating). When I added another output property type of record (with default sample record), output property is not recognized. When I changed second property to type of text (and later to number), its working again, without any errors

I found a thread on MS forum from 2021 with the same problem and it's still not resolved?
Use components from component library in solution

I want to share library with my colleagues, maybe with some other teams at my company but I don't want to explain them they need to save + reload the app, each time I make some updates in librabry or add new component

Anyone else have problems with custom properties types of record or table or all of you are able to use them without any problem?

I have the same question (0)
  • Suggested answer
    Inogic Profile Picture
    1,105 Super User 2025 Season 2 on at
    Component Library bug for input/output properties type of Record and Table
    Hi,
     
    In the Component section, when you add a custom property of type Record, a sample record is added by default,
    i.e.:
    {SampleStringField: "SampleText", SampleNumberField: 10, SampleBooleanField: true}





    You need to replace this sample record with sample data matching the record type you are passing.
    In this case, since we are passing an Account record, you should provide sample data from the Account record type.

    i.e. :
    {
        accountid: GUID("00000000-0000-0000-0000-000000000000"),
        name: "Sample Account",
        telephone1: "9999999999",
        address1_city: "Mumbai"
    }

    Note: Please use the same field names (such as accountid, name, telephone1, etc.) as present in the record you are passing.




    Now, in the Screen section, you can pass the Account record to the custom property of the component.




    Hope this helps!
     
    Thanks!
    Inogic

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

Last 30 days Overall leaderboard