• JMap.Form.canCreateElementOnForm

    Returns true if current user can create element on the given form.

    Parameters

    • params: JFormId

      parameters needed to identify the form

    Returns boolean

    Example

    // returns true if current user can create element on form id=1 of layer id=3.
    JMap.Form.canCreateElementOnForm({
    layerId: 3,
    formId: 1
    })