Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ZMLrqTJXkQxO71owK0I6yG
Power Apps - Microsoft Dataverse
Unanswered

Expected non empty string error while doing query with ContainValues condition operator

Like (0) ShareShare
ReportReport
Posted on 12 Aug 2021 05:30:17 by

Hi all, I have plugin where I am doint query against account table and filtering based on multichoice attribute.

I am using condition operator ContainValues for filtering.

 

I am getting "Expected non empty string" error. I have required data in my dynamics environment.

I am not sure from which parameter i am getting this error. I am expecting only 3 fields from the record and all the 3 field has values in it. 

 

Thank you... 

  • codevenkat Profile Picture
    126 on 12 Aug 2021 at 07:58:32
    Re: Expected non empty string error while doing query with ContainValues condition operator

    Hi Amruthavarshini,

    Look out the following things,

    1. In XRM Tool box use either fetch xml tester / Builder to validate whether query is well formed and you get correct data.
    2. With the above tool you will get equivalent Query expression code use that and create a console application and connect to Dynammics crm and execute the above query. If this runs perfect, then compare the code which you have where it is throwing an error.
    3. Simply use the console application code in plugin , you should get desired result.

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started