Create a base query section in xxx_Config.xml file

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Sep/2016, at 13:33

In the base query section you define directory styles for listing, sort orders and fields of the search panel.

Create the base query section in the xxx_Config.xml file (where xxx may be Ted4, Fred4, Shell4 or Edadmin4). See Which configuration file? for help about choosing the right configuration file.

Have in mind that some items of the base query section are referenced in the main tab section, defined in the xxx_Tabitems.xml file, thus the names have to be coherent.

The example below is a simple one, containing just one field in the directory style and in the search panes. It's obvious that you will need to add more fields to it to make it really usable.

The text in blue is free text, but referenced elsewhere, which means you can follow the specified naming indications, or you can specify what you want, but be coherent.

The text in red is related to the schema and must correspond to it exactly, obviously, in relation to the object you want to manage.

In this example, we're showing the base query for the contact object. If you would be setting up a main tab for another object, the object name and some descriptive strings will be different.

hmtoggle_plus1Example

Below is the explanation of the key statements.

hmtoggle_plus1BaseQuery Name="..."
hmtoggle_plus1ObjectTypeName="..."
hmtoggle_plus1DirectoryStyle Name="..."
hmtoggle_plus1Sort Name="..."
hmtoggle_plus1PropertyName="[...]"
hmtoggle_plus1ColStyle Name="..."
hmtoggle_plus1SortName="..."
hmtoggle_plus1Binding Path="[...]"
hmtoggle_plus1searchObjectUI name="..."
hmtoggle_plus1<attribute path="[...]"