cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ssvk
Helper IV
Helper IV

Collapse and expand function on customized form

HI

 

I created a customized form, and have a collapse and expand function . 

On New - i have set the value to false , so that only once icon shows up i.e expand 

 

but when i click on new in SP list, i see both the icons - expand and collapse 

In app preview, everything seems to be working fine 

 

this is not an error in a standalone app

 

Any suggestion ?

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
pNabin
Advocate V
Advocate V

Hi @ssvk,

Create a variable to control this like varExpand and set it to true on screen visible.

Set visible property of expand to varExpand: visible=varExpand

Set visible property of collapse to varExpand: visible=!varExpand

On click of expand, set varExpand=false

On click of collapse, set varExpand=true

 

Thanks,

Nabin

View solution in original post

3 REPLIES 3
pNabin
Advocate V
Advocate V

Hi @ssvk,

Create a variable to control this like varExpand and set it to true on screen visible.

Set visible property of expand to varExpand: visible=varExpand

Set visible property of collapse to varExpand: visible=!varExpand

On click of expand, set varExpand=false

On click of collapse, set varExpand=true

 

Thanks,

Nabin

View solution in original post

Hi @pNabin,

 

previously i was setting value in On NEw . 

Now I am setting in screen "On Visible".

Still the same

first time user clicks on new, they see both, on click , one will disappear

Hi @pNabin

 

It worked !! 

thanks a lot 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,227)