cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Veblitz
Post Prodigy
Post Prodigy

To display approver fields visible in edit mode for only approver list users and im able to fetch the approvers values and attached screenshot

Background: I leveraged editform and when I click edit button from dashboard onselect property I passed the context value for getting values from new form and items property of new form I passed this context variable

 

Step 1

Dashboard: edit button clicked it retrieves edit form in the context of selecteditem 

Veblitz_2-1669993887911.png

Step 2:

New form item property,  reference context as per above step1

Veblitz_1-1669993598152.png

Step 3: i need to display status field  when edit button is clicked only logged in user from Approvers list so i checked the below current user exists in approvers list

 

Veblitz_0-1669993485645.png

Step 4:  I am unable to place the Isuser in visible of status field, its throwing some error

 

Veblitz_3-1669994308461.png

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Tolu_Victor
Resolver II
Resolver II

Hi
It seems you want to display that Datacard if IsUser is not blank right

You can simply add it to your existing logic using the && operator
See below

 

If(yourcurrentlogic) && !IsBlank(Isuser)

 

 This checks if the "Isuser" variable is not blank and then combines with your current logic to provide a true or false value.

Please modify the code to your needs

View solution in original post

1 REPLY 1
Tolu_Victor
Resolver II
Resolver II

Hi
It seems you want to display that Datacard if IsUser is not blank right

You can simply add it to your existing logic using the && operator
See below

 

If(yourcurrentlogic) && !IsBlank(Isuser)

 

 This checks if the "Isuser" variable is not blank and then combines with your current logic to provide a true or false value.

Please modify the code to your needs

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,936)