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

Re: Show/Hide Attachments Field based on the drop down field

Here

 

grr.jpg

Highlighted
Impactful Individual
Impactful Individual

Re: Show/Hide Attachments Field based on the drop down field

I mean I guess it could be because it’s using the parent value. Replace the data card value and see if you ca. Use the control name. Remember use type ahead it’ll be the parent name where the data card is sub tree in there.
Highlighted
Helper I
Helper I

Re: Show/Hide Attachments Field based on the drop down field

I'm very sorry @cwebb365 I can't understand what you mean. I'm very new in PowerApps 😞

Highlighted
Impactful Individual
Impactful Individual

Re: Show/Hide Attachments Field based on the drop down field

The parent card. So Request Type_Datacard1.Selected.Value = “Renewal”
Highlighted
Helper I
Helper I

Re: Show/Hide Attachments Field based on the drop down field

Oh I did that a while ago but still failed.

Highlighted
Resolver I
Resolver I

Re: Show/Hide Attachments Field based on the drop down field

Hi @DorothyBL ,

 

I've made a test on my side and I hope this will work for you, too.

 

You have to write the formula for the visible property of your attachment data card as follows:

 

If(DataCardValue7.Selected.Value = "Renewal",true,false)

 

Best regards,

 

PA

Highlighted
Helper I
Helper I

Re: Show/Hide Attachments Field based on the drop down field

Hi @PowerAnalytics , I tried that too but still it won't work. Maybe because of this error message. I still just do not understand what it says.

 

er.jpg

Impactful Individual
Impactful Individual

Re: Show/Hide Attachments Field based on the drop down field

ok, did some searching here and you are using CDS and that drop down is an Option Set which makes this a whole lot more complicated that it should be :). I don't know CDS very well but you have to reference something like the selected.value = 'Your optionset name'.Value, it's too much to explain or for me to comprehend even myself right now lol..... it's usually much easier than this but due to the CDS and option set factor it complicates this a lot. And doing this as a beginner will be very frustrating :).

Anyway, hopefully someone with option set experience will come across this and be able to help!

Highlighted
Impactful Individual
Impactful Individual

Re: Show/Hide Attachments Field based on the drop down field

Here is an article going over optionset with CDS and some examples on how you can compare the values to something. https://powerapps.microsoft.com/cs-cz/blog/option-sets-and-many-to-many-relationships-for-canvas-app...
Highlighted
Helper I
Helper I

Re: Show/Hide Attachments Field based on the drop down field

Sorry if this troubles you 😞 CDS is what I learned but the teacher don't tell me that CDS is complicated. Hope someone would help me. Thanks for the effort!

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,282)