Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Checkbox as input parameter in CDS Analytics Query

rowieforms
Participant
0 Likes
2,451

Hi Experts!

Need your expertise!

How do we make an input parameter in the Query as a checkbox? found some answers to same questions in google saying that I can cast the value to a boolean. I tried casting to XFELD but it doesnt work. I seem to need an annotation of some sort. Checked @consumption annotations and nothing seems to fit. Any advice?

Thanks!

Rowie

2 REPLIES 2
Read only

0 Likes
2,254

Hi Rowie,

Did you got solution for this requirement?

Read only

rowieforms
Participant
0 Likes
2,254

Hi neha-ks, it may still be plaguing me to this day. Wasn't able to convert it into a check box, instead converted the field into boolean and then used it as a consumption filter. Depending on your requirement, this may work.