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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / FieldPropertyMetadata....
Power Apps
Unanswered

FieldPropertyMetadata.Metadata properties

(0) ShareShare
ReportReport
Posted on by 232

I was currently inspecting the properties of a bound multiline field for a PCF control that we are building using the Chrome debugger, and came across the following list of attributes from the control:

 

multi-line bound string propertiesmulti-line bound string properties

 

I understand that there's no distinguishing in JS the properties relevant to strings (I can see that the componentframework definition files ensures the correct properties for the property type).

 

What I noticed was that the type definitions for the property types was missing the property "EntityLogicalName".

I'm assuming this property has been added to the PCF control attributes property bag but the type definitions have yet to be updated to reflect this?

 
I have the same question (0)
  • Clem Profile Picture
    130 on at

    Hello,

     

    You can always use the : 

    let contextInfo = context.mode.contextInfo;
    contextInfo.entityRecordName;
    contextInfo.entityId

    in order to grab the entity logicalName where the PCF is attached.

    Clément 

  • eleung83 Profile Picture
    232 on at

    Yes, I can see that output in the js, but the TS type definitions doesn't contain a contextInfo property on the context.mode interface

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    You can do something like that:

    const contextInfo = <any>context.mode.contextInfo;
    const entityTypeName = contextInfo.entityTypeName;
    const entityId = contextInfo.entityId;
  • eleung83 Profile Picture
    232 on at

    yes, I've seen that same thing posted in other threads, but also noticed that it's still not yet officially supported by the PCF framework.

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 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard