cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shubham_k_jain
Level: Power Up

How to know on form load my custom control is applied on which feild

i am successfully able to create a custom control using power app component framework ,able to create it's unman-aged solution and also able to apply on form field , now i wan to know is there any out box functionality of d365 crm that on load of form i will able to know on which field custom control is appiled? i tired XRM package i didn't get any yet. is there any method in power app component Framework which on executing will provide info to which field its bind?

1 REPLY 1
a33ik
Level: Powered On

Re: How to know on form load my custom control is applied on which feild

@shubham_k_jain you can get that information from the context. Try to use following code inside init method:

 

let boundToFieldName = context.parameters.YOURPROPERTYNAMEHERE.attributes.LogicalName;

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 156 members 5,478 guests
Please welcome our newest community members: