loadUserInfo

Callable

  • loadUserInfo(data?: Object ) : Promise < void >
  • Populates a product with user data. See the Working with User Data topic for details.

    Parameters

    • Optional data: Object

      An object with the data property which should hold a key-value pairs. The key is a layer name or an in-string placeholder name without markers and extra symbols. The value is a text you want to insert into it. For example:

      {
          data: {
              "Layer1": "Alex Smith",
              "Layer2": "0123456789",
              "Position": "Manager",
      }
      
      If omitted, the userInfo passed to the editor during the initial loadEditor call is used.

    Returns Promise < void >