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

How to restrict Dropdown List values in Datacard from getting saved in SharePoint List when Datacard is hidden ?

Hi,

 

I have dropdown list in Datacard in my Edit form and based on few conditions i am making Datacard visible / hidden .

When visible, dropdown list values are getting saved in SharePoint List and things are working fine.

But , when Datacard is hidden still dropdown list values are getting saved in SharePoint List.

Is there any way to restrict dropdown list values getting saved in SharePoint List when Datacard is hidden ?

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @viyer ,

A bit unusual, but try going to the Update of the Data Card and putting this with whatever is there now

If(
   Self.Visible,
   YourCurrentCode
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi @viyer ,

A bit unusual, but try going to the Update of the Data Card and putting this with whatever is there now

If(
   Self.Visible,
   YourCurrentCode
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Thanks @WarrenBelz , I have used the same approach as mentioned by you

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (10,996)