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

Add TwoOption Property

Hi,
I want to take Yes or No like boolean choice from user in debug I am able to get this done but in CRM it is showing only twooption fields 
 
<property name="getTwoOption" display-name-key="" description-key="" usage="input" of-type="TwoOptions" required="false" />
3 REPLIES 3
sheldoncopper73
Resolver I
Resolver I

Am I missing something or it is a bug??

Yes - the two-option property is a boolean (bit field) with a "facade" on top that transforms 0/1 to a string say No/Yes, False/True, Banana/Apricot....

 

In a dataset control getValue(columnName) will return 0/1, getFormattedValue() will return the facade value (No/Yes....).

---
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

Hi @ben-thompson , 

There was no text Field to enter input or any type of input field.

* My property usage is input 

Pls check the attached images one is of debug harness and other is of CRM

 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,959)