Defining user-defined fields
User-defined fields (UDFs) in iMIS RiSE are created differently, and serve a very different purpose, than user-defined fields in iMIS contact records:
- The UDFs found in iMIS contact records enable you to collect custom information about a contact. These contact UDFs are not available for use in iMIS RiSE.
- The UDFs found in iMIS RiSE are primarily useful as a way to capture additional properties of the content in content records, and to provide a controlled list of search criteria for use in iMIS RiSE only. These iMIS RiSE UDFs can be used in three ways:
- As a value added to the keywords <Meta> element of the rendered page for the content record, which enables the iMIS RiSE search engine to locate the content record by searching for the defined value. This function does not typically apply to web-based search engines, such as Google. This behavior is controlled by the Use in Search? property of an iMIS RiSE UDF.
- As a search filter in AdvancedSearch content items, applied to the initial result set based on the tags and keywords specified in the search.
- As both filtering criteria and sorting criteria in ContentTaggedList content items. A date-oriented UDF can be used to filter the initial result set based on the chosen tags, and a different UDF of any type can be used to sort the the final result set.
Every UDF defined in iMIS RiSE is added as a new custom property to every content record, and can be displayed in a wide variety of formats, from a simple text field to a drop-down list, to a calendar control, to a set of radio buttons, and so on. In the advanced search panel rendered from an AdvancedSearch content item, the user-defined field appears exactly the same way that it does in content records. This enables iMIS RiSE website users to specify UDF values for advanced searches in the same manner that the UDF values are chosen when authoring content. For example, a date-oriented UDF will have a calendar control that makes it easy to select a date.
Do the following to define user-defined fields (UDFs).
From the Staff site, go to RiSE > Maintenance > User defined fields:
- Select an existing iMIS RiSE user-defined field to change its properties. You can also Add or delete a user-defined field.
- Verify an iMIS RiSE user-defined field's appearance and behavior. Edit a content record. Review the Properties tab, between the Mark as important until field and the Help URL field.
Note: When you add, change, or delete an iMIS RiSE user-defined field, existing content records and their rendered .aspx files will not reflect the changes until you edit the content record, specify the desired value for the user-defined field, then re-publish the content record.
If the Use in Search? checkbox is selected, the value for the associated user-defined field will be added to the <Meta> element’s keywords attribute of the rendered webpage’s source code for a content record. Searches performed using the iMIS RiSE search engine can then locate the content record associated with the defined keywords, even though the keywords are not visible on the page (rendered content). This function does not apply to web-based search engines, such as Google.
Because this value is added to the keywords <Meta> element, the relevancy weighting of search results is affected by the SE.SearchKeywordHint field (Settings > RiSE > Search Configuration).
Specifies the order in which this UDF appears in the total set of UDFs in the Properties section of content records. The value you specify must be in the range 1 to n, where n is the total number of iMIS RiSE UDFs defined in the system.
If you delete an iMIS RiSE UDF or change this value for any iMIS RiSE UDF, the system automatically recalculates this value on all other UDFs to ensure that this value in all iMIS RiSE UDFs stays within the range 1 to n. Therefore, it's generally a good idea to double-check this value on all iMIS RiSE UDFs when you make these types of changes, because the automatic recalculation might change the original order.
All content records that are defined after this UDF definition is saved will require a non-blank value to be specified in the corresponding UDF in the content record. When cleared, the corresponding UDF in content records will be an optional field.
Specifies the label for this UDF that will appear in content records.
Specifies the unit measurement, in pixels, of the width allotted to variable-entry Display Controls such as Text Field or Text Area.
Specifies the unit measurement, in pixels, of the height allotted to variable-entry Display Controls such as Text Field or Text Area.
Specifies that items in a list-based Display Control can be multi-selected. When cleared, only one list item can be selected at a time. This checkbox does not become active until after you select a list-based Display Control and click Save.
Specifies the orientation of certain multiple-object Display Control types, such as Check Box(es) or Radio Buttons.
- Horizontal – Arranges the display controls in left-to-right order.
- Vertical – Arranges the display controls in a top-to-bottom order.
Specifies how many columns a multiple-object Display Control such as Check Box(es) or Radio Buttons should span if the selected Display Orientation is Horizontal. For example, if the Values section creates four checkboxes and the Display Columns value is 2, the UDF will be rendered with two rows of checkboxes, with two in each row.
Specifies the name of the iMIS business object that has the source properties used to populate the values for list-oriented Display Control types, such as Drop Down List or Radio Buttons. Use this field only in conjunction with the Value List option in the Values Come From area.
Specifies a value that should be pre-filled or pre-selected in this UDF when a new content record is created.
Specifies the source of the values for the UDF. The available choices depend on the type of Display Control.
- Freeform data entry – Requires users to enter the value manually, such as for a Text Field or Text Area.
- Query Object – Produces a discrete list of possible values for the UDF in a content record, based on the results of the IQA query that you select here. This choice is available only if the Display Control allows for list-oriented data entry, such as Drop Down List or Radio Buttons.
- Data Value – Specifies which property/field of the Query Object is stored when you make a selection.
- Display Value – Specifies which property/field of the Query Object appears as the list-oriented labels in the user-defined field in content records.
- Value List – Produces a discrete list of possible values based on the contents of the Designer tab of the business object specified in References Object. This choice is available only if the Display Control allows for list-oriented data entry, such as Drop Down List or Radio Buttons.