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

Re: CDS 2 choices field - toggle instead of dropdown datacard

Thanks so much for clarifying - i'll try it out and let you know 🙂

Highlighted
Resolver I
Resolver I

Re: CDS 2 choices field - toggle instead of dropdown datacard

Hi again @v-xida-msft I've tried that formula in the Update section. I am no longer getting an error, which is great! (not quite sure if it works yet), but now i am confused about the code you have recommended in the Default part of the Toggle itself.  I'm not quite sure what that will do, and also, my Powerapps doesn't seem to like the formula as you can see below.  Any thoughts?

Highlighted
Community Support
Community Support

Re: CDS 2 choices field - toggle instead of dropdown datacard

Hi @Cym ,

Based on the screenshot that you mentioned, I found that you have a mistake with your operation. You should add the Toggle control within the T5 Electricity field data card rather than outside the T5 Electricity field data card in your Edit form.

5.JPG

Note: Please consider remove the Toggle control from your Edit form, then select the T5 Electricity field data card, then click "Insert"-> "Toggle" control, make sure the Toggle control is added within the T5 Electricity field data card rather than outside.

The ThisItem operator only works when you add the Toggle control within the T5 Electricity field data card. The formula I provided above within the Default property of the Toggle control is used to display proper Toggle status when you edit an existing record. If you do not apply the formula I provided above within the Default property of the Toggle control, the Toggle control would remain same default status regardless of whether or not you add or edit an record.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Resolver I
Resolver I

Re: CDS 2 choices field - toggle instead of dropdown datacard

You legend @v-xida-msft !  It works!  Thankyou!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (7,122)