BaseQuery class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:29

Description

Defines which data is displayed in results, referencing the base query.

In Ted4_Config.XML, Fred4_Config.xml, EdAdmin4_Config.XML, <BaseQuery appears in the root of <GN4ShellConfiguration.

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

Nameunique name on the level of the file, but in different files the name can be repeated.
Descriptionoptional attribute for base query description
AllowEmptySearchesIf true, searches without criteria are allowed.
ObjectTypeNamethe object handled by the base query. ObjectTypeName="object" means, practically, "all objects". ObjectTypeName="linkObject" means all linkable objects, etc.

Any GN4 object name qualifies for this attribute value.

Some examples

object, document, edition, page, article, story, txt, budget, event, task, contact, url, user, pubDest, img, image, audio, video, package, folderObject, calendarObject, linkObject,  archiveObject, clientSpec

ContextMenuName of the context menu to call with right-click. If unspecified, the ResultListPopup menu is called.
RefreshOptionsEnable alerts or triggers settings.
ContainerReferencesSpecifies a list of database object attributes that reference a container - this is used by the MonitorReferencing option to determine which containers to monitor.

Groups

DirectoryStyleList

SearchList>

ExtendedConditions

Note

In Ted4_Config.XML, Fred4_Config.xml, EdAdmin4_Config.XML, <BaseQuery appears in the root of <GN4ShellConfiguration.

For the list of members, see BaseQuery.

<BaseQuery encloses the following:

<Groups

<DirectoryStyleList

<SearchList>

<ExtendedConditions

About referencing

It is not possible to reference any part of the <BaseQuery. Even if another <BaseQuery needs to use the same directory styles, you need to duplicate them.