gw_fct_getprint - Giswater/giswater_dbmodel GitHub Wiki


Description

Get fastprint dialog and composers combo

Input example

SELECT gw_fct_getprint($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{}, "feature":{},
"data":{"composers":"{A4-mincut, A3-mincut}"}}$$)

Output example

{
  "status": "Accepted",
  "apiVersion": {
    "value": "3.4.019"
  },
  "formInfo": {
    "formId": "F41",
    "formName": "Impressio"
  },
  "formTabs": [
    {
      "tabName": "Menu print",
      "tabLabel": "Menu de print",
      "tabIdName": "print",
      "active": true,
      "fields": [
        {
          "label": "Composer:",
          "columnname": "composer",
          "widgetname": "data_composer",
          "widgettype": "combo",
          "widgetfunction": "set_print",
          "hidden": false,
          "widgetdim": null,
          "datatype": null,
          "tooltip": null,
          "placeholder": null,
          "iseditable": true,
          "orderby": 1,
          "layoutname": "lyt_data_1",
          "layoutorder": 1,
          "isparent": false,
          "ismandatory": false,
          "linkedaction": null,
          "isautoupdate": false,
          "stylesheet": null,
          "widgetcontrols": null,
          "comboIds": [
            "A4-mincut",
            "A3-mincut"
          ],
          "comboNames": [
            "A4-mincut",
            "A3-mincut"
          ],
          "selectedId": "1"
        },
        {
          "label": "Escale:",
          "columnname": "scale",
          "widgetname": "data_scale",
          "widgettype": "text",
          "widgetfunction": "set_print",
          "hidden": false,
          "widgetdim": null,
          "datatype": "double",
          "tooltip": null,
          "placeholder": null,
          "iseditable": true,
          "orderby": 2,
          "layoutname": "lyt_data_1",
          "layoutorder": 2,
          "isparent": false,
          "ismandatory": false,
          "linkedaction": null,
          "isautoupdate": false,
          "stylesheet": null,
          "widgetcontrols": null
        },
        {
          "label": "Rotation:",
          "columnname": "rotation",
          "widgetname": "data_rotation",
          "widgettype": "text",
          "widgetfunction": "set_print",
          "hidden": false,
          "widgetdim": null,
          "datatype": "double",
          "tooltip": null,
          "placeholder": null,
          "iseditable": true,
          "orderby": 3,
          "layoutname": "lyt_data_1",
          "layoutorder": 3,
          "isparent": false,
          "ismandatory": false,
          "linkedaction": null,
          "isautoupdate": false,
          "stylesheet": null,
          "widgetcontrols": null
        },
        {
          "label": "Title:",
          "columnname": "title",
          "widgetname": "data_title",
          "widgettype": "text",
          "widgetfunction": "set_print",
          "hidden": false,
          "widgetdim": null,
          "datatype": "string",
          "tooltip": null,
          "placeholder": null,
          "iseditable": true,
          "orderby": 4,
          "layoutname": "lyt_data_2",
          "layoutorder": 1,
          "isparent": false,
          "ismandatory": false,
          "linkedaction": null,
          "isautoupdate": false,
          "stylesheet": null,
          "widgetcontrols": null
        }
      ]
    }
  ]
}