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

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

Here

 

grr.jpg

cwebb365 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.
DorothyBL 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 😞

cwebb365 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”
DorothyBL 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.

PowerAnalytics 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

DorothyBL 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

cwebb365 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!

cwebb365 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...
DorothyBL 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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,555)