Skip to main content

Notifications

Community site session details

Community site session details

Session Id : STyeNFJwV4n6qMY5nmL6lP
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
SadFox Profile Picture

SadFox 2

#1
CU06052020-0 Profile Picture

CU06052020-0 2

#1
stampcoin Profile Picture

stampcoin 2

Overall leaderboard

Featured topics

Loading started