IPWorks 2020 JavaScript Edition

Questions / Feedback?

QuerySelect Property

Selects only the specified properties to be returned in an entry when querying a service.

Syntax


 getQuerySelect(): string;

 setQuerySelect(querySelect: string): void;

Default Value

""

Remarks

This property allows you to specify the specific properties you want returned within an entry when calling QueryService. The specified value should be a comma-separated list of properties (provided you wish to have more than one property returned). For example, if you wish to only have the 'Name' and 'Price' of each item returned you can set QuerySelect to "Name,Price".

Note the specified values can be a property name, navigation property name (EntryLinksTitle) or the "*" character (which returns all the properties for each entry).

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 JavaScript Edition - Version 20.0 [Build 8292]