• JMap.Application.Query.setDefaultData

    Sets active query form data. If there is no active form, this function throws.

    Parameters

    • values: any

      the form data, depends on the form

    Returns void

    Throws

    if no query is active

    Example

    // set the current query form data
    JMap.Application.Print.setDefaultData({
    $param1: "black",
    $param2: "white"
    })