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 8

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 Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,592)