Toggle menu

Asset Lookup - Single

This field type only works within iCM and is designed to be used in article extra and subsite configuration forms.

Only articles, media types/groups/items, metadata groups/properties/values, site users/groups, and templates are supported at the moment.

Properties

LabelDescriptionType Name
Asset TypeThe type of iCM asset that can be selected. Articles, media types/groups/items, metadata groups/properties/values, site user groups, and templates are currently supported.

Select the type from the list provided
ASSETTYPE
Sub-typeThis option is only supported for a Media (item) asset type. It lets you restrict the selection to particular types of media (eg images).

Enter the names of the types of media (as seen in the Media Definitions section of iCM) that you'd like users to be able to pick. Leaving this option blank, or entering a non-existent type, allows any type of media to be picked
SUBTYPE
LabelThe field's labelLABEL
Select LabelThe select button's labelSELECTLABEL
Remove LabelThe remove button's label. This button will only be displayed if the field isn't requiredREMOVELABEL
HintAdditional information displayed alongside the field to assist the user. The value of another field can be used by adding the field's name between # characters. See Common Field Properties for more informationHINT
WidthThe display width of the list box. The value matches a CSS class, which actually sets the widthWIDTH
SearchableWhether this field's value should be indexed by the search (the object collection if using the database save action and/or workflow process collection if starting a workflow process).

This property is ignored if an External Type is specified for the form. In this case, the ability to search is determined by the searchable property of the type itself
SEARCHABLE
DefaultDefault value for the field. The ID of the asset selected by default (eg the ID of a particular image)DEFAULT
Default FunctionA JavaScript function you can use to calculate the starting field value. This function is executed server-side when the field HTML is generated. See Common Field Properties for an exampleDEFFUNC
RequiredWhether or not the field is required to have a value to pass validationREQUIRED
Error MessageThe validation error messageERRMSG
Error Message FunctionA function that can be used to override the default error message. You can return a different message for each error type. The message can include the value of another field can be used by adding the field's name between # characters. See Error Message Functions for more information.

This field has the following error types:
 
  • REQUIRED - the field is required but has been left blank
  • VALIDATIONFUNCTION - the result of a custom validation function failing (validation function can also return custom error types)
ERRMSGFUNC
Validation FunctionA JavaScript function that can be used to provide custom validation whenever the field value changes or the form is submitted. This function will be executed client-side, provided JavaScript is enabled in the browser, and repeated server-sideVALFUNC
HandlersA JavaScript function that is executed browser-side whenever the page loads or the field value changes. See Common Field Properties for an exampleHANDLERS
Read OnlyDisplay field as read onlyREADONLY
DocumentationAdd documentation to your field to help explain any complex functionality to future users. You might include information on what the field does and how it relates to other fields on the form. Notes added here are only ever visible in the Forms Designer, they can be searched for, viewed and downloaded from the action panel. See Common Field Properties for an exampleDOCUMENTATION
Last modified on February 26, 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon