---
title: "loadEditorByQueryString Function"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.loadeditorbyquerystring.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# loadEditorByQueryString Function

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
### Callable
 
- loadEditorByQueryString(editorFrame:  HTMLIFrameElement, queryString:  string, onFirstLoad?:  function ) :  Promise &lt; [Editor](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.editor.htm.md) &gt;

- *Outdated, use [loadEditor](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.loadeditor.htm.md) instead.* Loads the web-to-print editor through HTTP GET request.
   
#### Parameters

    - ##### editorFrame: HTMLIFrameElement 
  
        The iframe element to place the editor to.
    - ##### queryString: string 
  
        Arguments configuring the editor. For details, see the [Old Query-string API](https://customerscanvas.com/docs/cc4/qs-api.htm.md) topic.
    - #####  Optional onFirstLoad: function 
  
        A function that handles the first product launch. For details, see [The Product Loading Screen](https://customerscanvas.com/docs/cc4/product-loading-screen.htm.md) topic.

        - - ( ) :  void

            - #### Returns void

#### Returns Promise &lt; Editor &gt;
