Hi Everyone can any help me on this?
I have a DataCard (empty text box) in a Form and i am trying to appear the value based on another textbox.
however it is not working.
Also tried to directly enter below user function into DataCard but getting same error.
Office365Users.UserProfile(textbox.Text).DisplayName
Solved! Go to Solution.
@aayaanmayank, Then instead of referencing the Lead Name Text Field in the Label Mentor Name, use this formula in the Label Mentor Name: If(!IsBlankOrError(Office365Users.UserProfile(textbox.Text).DisplayName),
(Office365Users.UserProfile(textbox.Text).DisplayName))
If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more. I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends. Visit my Blog: www.powerplatformplace.com
|
Hi @aayaanmayank,
How are you currently trying to set the value of the datacard and what is not working? What errors do you receive?
@aayaanmayank, is this the Default value of the Input Text where the End users enter the Emails?
If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more. I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends. Visit my Blog: www.powerplatformplace.com
|
Hi @aayaanmayank ,
The error says it: you are creating a circular reference.
textbox.Default is referring to DataCardValue5, so if you reference textbox.Text in DataCardValue5, that completes the circle.
To break the circle you have to use a different reference, for instance User().Email to get the current user's mail address.
User entering only their assigned mentor email id and in the label mentor Name will appear in Lablebox.
I dont need the current user email address. user has to enter assign mentor/lead email id and based on the name will auto appear.
@aayaanmayank, Then instead of referencing the Lead Name Text Field in the Label Mentor Name, use this formula in the Label Mentor Name: If(!IsBlankOrError(Office365Users.UserProfile(textbox.Text).DisplayName),
(Office365Users.UserProfile(textbox.Text).DisplayName))
If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more. I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends. Visit my Blog: www.powerplatformplace.com
|
It worked thank you so much
User | Count |
---|---|
252 | |
107 | |
88 | |
51 | |
44 |