共用方式為


Srch.U.setFieldOnObject Method (DisplayTemplatesSrch)

Sets the field value for the given object.

Srch.U.setFieldOnObject(targetObject, fieldName, fieldValue)

Return value

false if one of the parameters is null or undefined; true otherwise.

Parameters

  • targetObject
    The object for which the field value should be set.

  • fieldName
    The field name.

  • fieldValue
    The field value.