cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DorothyBL
Level: Powered On

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

Here

 

grr.jpg

cwebb365
Level 10

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
DorothyBL
Level: Powered On

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 😞

cwebb365
Level 10

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

The parent card. So Request Type_Datacard1.Selected.Value = “Renewal”
DorothyBL
Level: Powered On

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

Oh I did that a while ago but still failed.

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

DorothyBL
Level: Powered On

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

cwebb365
Level 10

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!

cwebb365
Level 10

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...
DorothyBL
Level: Powered On

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
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,124)