In a search pane, you can predefine a search option and hide its selector, or you can let users to select the option freely.
Summary of the procedure
First, perform identification steps and file opening as described in Locating search panel fields in configuration files.
When done, save the configuration file, and then reimport it onto your GN4 server as described in Re-importing the file in the database after making changes.
Examples
1.Locate the <attribute path="... statement related to the field you want to edit. 2.Add the statement op="value", where value has to be a valid option code, e.g. op="In". 3.Within <ui... node, locate <template... statement and add opMode = "Hidden". See also |
1.Locate the <attribute path="... statement related to the field you want to edit. 2.Add the statement op="value", where value has to be a valid option code, e.g. op="In". |
1.Locate the <attribute path="... statement related to the field you want to edit. 2.Remove the statement op="value", where value has to be a valid option code, e.g. op="In". 3.Within <ui... node, locate <template... statement and remove opMode = "Hidden". |
<attribute path="ObjectType.Id" op="In"> <ui mode="Normal" labelPosition="Above" label="Type"> <template kind="CheckBoxList" objectTypes="article audio document image img story video" opMode="Hidden"/> </ui> </attribute>
<attribute path="[archiveObject.cats]" op="In"> <ui mode="Normal" labelPosition="Above"> <template opMode="Hidden" /> </ui> </attribute> |
<attribute path="[page.editionRef.date]" op="Today"> <ui labelPosition="Above" orientation="Vertical"/> </attribute> |