Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Custom ListFields #2

Closed
pietervanh opened this issue Apr 26, 2017 · 1 comment
Closed

Query Custom ListFields #2

pietervanh opened this issue Apr 26, 2017 · 1 comment

Comments

@pietervanh
Copy link

pietervanh commented Apr 26, 2017

+TypeIs:CustomContract +#ContractDeadline:<'2011-09-01 12:00:00'

Execute above contentquery with Content.QueryAsync

        var results = await Content.QueryAsync("+TypeIs:CustomContract +#ContractDeadline:<'2011-09-01 12:00:00''",
            select: new[] { "Id", "Name", "Path", "Type", "DisplayName" },
            expand: new[] { "ModifiedBy" },
            settings: new QuerySettings
            {
                EnableAutofilters = FilterStatus.Enabled,
                Top = 2000
            });

'# fields' don't seem to be queryable

@diablosteve
Copy link

diablosteve commented Oct 18, 2019

There is a problems with this example. There are 2 single quote ( ' ) at the end of the query. Using only one single quote at the end of the query works for me.
Is there any other condition for this bug?

kavics added a commit that referenced this issue Feb 23, 2023
tusmester added a commit that referenced this issue Feb 23, 2023
* Initial code for repository instance API.

* IRestCaller

* First step. (#85)

* Registering content types and creating instances from them (first step).

* Register global and local content types and tests.

* Content creation.

* Content creation #2

* PrepareContent, refactor, test.

* Remove custom content related stuff.

* Finalize new service names.

* Add more xml documentation.

---------

Co-authored-by: Zoltán Gyebrovszki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants