{ "text": "File Upload", "formats": [{
  "screen": { "record format name": "rec" },
  "items": [
    { "id": "Layout1", "field type": "layout", "left": "5px", "top": "5px", "template": "css panel", "header text": "File Upload Example", "header theme": "B - Blue", "body theme": "C - Gray", "height": "485px", "width": "755px", "z index": "8", "center horizontally": "true" }, 
    { "id": "HtmlContainer1", "field type": "html container", "left": "20px", "top": "25px", "html": "This example demonstrates usage of the file upload widget. The widget is configured to allow uploading up to two files of 10MB or less (each) to the pjssamples directory on the file system. The files can be of any type.<br /><br />  Please note that the PUIUPLEXIT.js exit program must be configured to allow the upload to proceed.   <br /><br />  See the file upload widget documentation <a href=\"http://www.profoundlogic.com/docs/display/PUI/File+Upload\" target=\"_blank\">here</a> for more information.", "white space": "normal", "width": "722px", "height": "130px", "layout": "Layout1", "container": "1" }, 
    { "id": "FileUpload1", "field type": "file upload dnd", "css class": "pui-file-upload", "left": "0px", "top": "160px", "width": "750px", "height": "200px", "size limit": "10", "number of files": "2", "overwrite files": "false", "target directory": { "fieldName": "directory", "dataLength": "256", "trimLeading": "false", "trimTrailing": "true", "blankFill": "false", "rjZeroFill": "false", "dataType": "char", "formatting": "Text", "textTransform": "none" }, "upload response": { "fieldName": "UPLOAD0001", "dataLength": "771", "trimLeading": "false", "trimTrailing": "true", "blankFill": "false", "rjZeroFill": "false", "dataType": "char", "formatting": "Text", "textTransform": "none", "longName": "upload_info" }, "required": "true", "z index": "9", "auto submit": "true", "layout": "Layout1", "container": "1" }, 
    { "id": "CssButton2", "field type": "css button", "value": "Quit", "left": "5px", "top": "380px", "width": "90px", "theme": "G - Red", "small button": "true", "response": { "fieldName": "quit", "customTrue": "", "customFalse": "", "dataType": "indicator", "formatting": "Indicator", "indFormat": "1 / 0" }, "bypass validation": "true", "layout": "Layout1", "container": "1" }
  ]
},{
  "screen": { "record format name": "winctl", "show as window": "true", "center window": "true" },
  "items": [
    { "id": "Grid1", "field type": "grid", "css class": "crystal-grid", "left": "65px", "top": "100px", "number of rows": "7", "number of columns": "1", "column widths": "508", "column headings": "Heading 1,Heading 2,Heading 3", "header height": "26", "row height": "26", "height": "182px", "width": "509px", "has header": "false", "record format name": "winsfl", "clear subfile": { "fieldName": "CLEAR_0001", "customTrue": "", "customFalse": "", "dataType": "indicator", "formatting": "Indicator", "indFormat": "true / false", "longName": "clear_subfile" } }, 
    { "id": "Panel1", "field type": "css panel", "value": "Files Uploaded", "left": "65px", "top": "60px", "width": "510px", "height": "270px", "z index": "8", "header theme": "B - Blue", "body theme": "C - Gray" }, 
    { "id": "CssButton1", "field type": "css button", "value": "OK", "left": "70px", "top": "290px", "width": "90px", "theme": "F - Green", "small button": "true", "z index": "10", "shortcut key": "Enter" }, 
    { "id": "OutputField1", "field type": "output field", "css class": "outputField", "value": { "fieldName": "uploaded", "dataLength": "512", "trimLeading": "false", "trimTrailing": "true", "blankFill": "false", "rjZeroFill": "false", "dataType": "char", "formatting": "Text", "textTransform": "none", "designValue": "[uploaded]" }, "left": "5px", "top": "5px", "grid": "Grid1", "column": "0" }
  ]
}], "keywords": ["INDARA"], "long name aliases": true }