Loading
Feature Degradation | Agentforce Voice Read More
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          TimePicker Control

          TimePicker Control

          The TimePicker Control element defines a special UI control and the user can select time.

          Required Editions

          Available in: Enterprise, Performance, and Unlimited Editions

          The table lists the TimePicker control attributes.

          Attribute Description Data Type Required
          name Identification of this TimePicker Any String yes
          disabled Indicates whether the TimePicker control is enabled. If this attribute is used, all edit and access rights configurations that control the access to this UI element are suspended. Boolean no, defaults to false

          The TimePicker control element can contain these sub-elements.

          • Bindings
          • Resource

          Bindings

          The TimePicker control Bindings node consists of binding elements that can be used in the TimePicker control element.

          Attribute Description Value or Pattern
          target Describes the actual UI element. string [RootLabel; ShowCategory; AddItem]
          binding Source of the binding. string
          bindingMode Binding mode is used to control the updating process. string [ONE_WAY or TWO_WAY or ONE_TIME]

          Resource

          The TimePicker control node consists of binding resource elements that can be used in the TimePicker control element. 

          Attribute Description Value or Pattern
          target Describes the actual UI element. string [Label]
          type Defines how the resource is shown. string [Label]
          Id The Id is used to map the localized resource and the actual element in the UI. string
          defaultLabel One default value can be set, depending on the type, that is, defaultText, defaultLabel, and defaultImage. string

          Sample XML Code.

          <TimePickerField name="TimePickerCtrl" disabled="false">
                       <Bindings>
                         <Resource target="Label" type="Label" defaultLabel="defaultLabel" id="labelId" />
                         <Binding target="Value" binding="valueBinding" bindingMode="TWO_WAY" />
                       </Bindings>
          </TimePickerField>
           
          Loading
          Salesforce Help | Article