Meet us at SGIA Expo. Las Vegas, NV. Oct. 18—19.

loadUserInfo Method


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

    data = {
            "Layer1": "Alex Smith",
            "Layer2": "0123456789",
            "Position": "Manager"
    // Load the web-to-print editor.
    CustomersCanvas.IframeApi.loadEditor(iframe, product, configuration)
    .then(function (e) {
        editor = e;
    // Populate the product with user data.


    • Optional data: Object

      An object, which holds 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. If you omit this parameter, then the userInfo passed to the editor during the initial loadEditor call is used.

    Returns Promise < void >