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.
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.

Highlighted

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,079)