Home Cireson Uploads

Example Incident Form

IT MonkeyIT Monkey O.G.
edited May 2016 in Cireson Uploads
This is a simple example .js file that demonstrates what an Incident.js form looks like and shows how you can edit the file in order to add or remove fields to a workitem from within the portal.

Download the attached .zip file below.

Comments

  • Marek_LefekMarek_Lefek Customer Advanced IT Monkey ✭✭✭
    This i great. How to map Extenstion fields wg. "IR_String_01" to save data in incident record?
  • Konstantin_Slavin-BoKonstantin_Slavin-Bo Customer Ninja IT Monkey ✭✭✭✭
    @Marek_Lefek
    You replace IR_String_01, with the internal name of you actual extended property.
  • Brian_WiestBrian_Wiest Customer Super IT Monkey ✭✭✭✭✭
    The example will place all the extensions into one column. Here is an example of how to get two columns.

    customFieldGroupList: [
                            {
                                name: "Extensions",
                                rows:[
                                    {
                                        columnFieldList: [
    { DataType: "String", PropertyDisplayName: "Extension 1", PropertyName: "IRext01", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256 },
    { DataType: "String", PropertyDisplayName: "Extension 2", PropertyName: "IRext02", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                                        ],
                                    },
                                        {
                                            columnFieldList: [
    { DataType: "String", PropertyDisplayName: "Extension 3", PropertyName: "IRext03", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
    { DataType: "String", PropertyDisplayName: "Extension 4", PropertyName: "IRext04", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                                            ],
                                        },
                                        {
                                            columnFieldList: [
    { DataType: "String", PropertyDisplayName: "Extension 5", PropertyName: "IRext05", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
    { DataType: "String", PropertyDisplayName: "Extension 6", PropertyName: "IRext06", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                                            ],
                                        },
                                        {
                                            columnFieldList: [
    { DataType: "String", PropertyDisplayName: "Extension 7", PropertyName: "IRext07", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
    { DataType: "String", PropertyDisplayName: "Extension 8", PropertyName: "IRext08", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                                            ],
                                        },
                                        {
                                            columnFieldList: [
    { DataType: "String", PropertyDisplayName: "Extension 9", PropertyName: "IRext09", Disabled: false , ColSpan: 2, MinLength: 0, MaxLength: 256 },
    { DataType: "String", PropertyDisplayName: "Extension 10", PropertyName: "IRext10", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                                            ],
                                        },
                                        {
                                            columnFieldList: [
                        { DataType: "DateTime", PropertyDisplayName: "Date Extension 1", PropertyName: "IRdate01", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                        { DataType: "DateTime", PropertyDisplayName: "Date Extension 2", PropertyName: "IRdate02", Disabled: false, ColSpan: 2, MinLength: 0, MaxLength: 256  },
                                        ],
                                    }
                                ]
                            },
                        ]
Sign In or Register to comment.