dataLoadDefinition

Parent: app

Children: dataProfileColumn

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
The name for the data load definition.

Property Groups:

  • dataProfile
  • target
  • advanced
  • errorHandling
  • subscription
  • comments
dataProfile
PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
formatenumYesjsondata type=string; lov=STATIC
Valid values: csv json xlsx xml
rowSelectorstringNodata type=string; maxLen=255
Applies whenformat in (json)format in (xml)
useRawSelectorsbooleanYesfalsedata type=boolean
Applies whenformat = json
commentsmultiline stringNodata type=multiline string; maxLen=4000
dataProfile {
  name: value
  format: csv
  rowSelector: value
  useRawSelectors: false
  comments: ```
    value
  ```
}
target
PropertyTypeRequiredDefault ValueDetails
typeenumYestabledata type=string; lov=STATIC
Valid values: table collection
tableOwnerstringNodata type=string; maxLen=32767
Applies whentype = table
tableNamestringYesdata type=string; maxLen=128
Applies whentype = table
namestringYesdata type=string; maxLen=128; textCase=UPPER
Applies whentype = collection
loadingMethodenumYesappenddata type=string; lov=STATIC
Valid values: append merge replace
Applies whentype = table
loadingMethodenumYesappenddata type=string; lov=STATIC
Valid values: append replace
Applies whentype = collection
target {
  type: table
  tableOwner: value
  tableName: value
  name: value
  loadingMethod: append
}
advanced
PropertyTypeRequiredDefault ValueDetails
encodingenumNodata type=string; lov=STATIC
Valid values: iso-8859-6 windows-1256 big5 gbk iso-8859-5 koi8-r koi8-u windows-1251 iso-8859-2 windows-1250 iso-8859-7 windows-1253 iso-8859-8-i windows-1255 euc-jp shift-jis euc-kr iso-8859-4 windows-1257 iso-8859-3 tis-620 iso-8859-9 windows-1254 us-ascii utf-16be utf-16le utf-8 windows-1258 iso-8859-1 windows-1252
numericCharsstringNodata type=string; maxLen=2
xmlNamespacesmultiline stringNodata type=multiline string; maxLen=4000
Applies whenformat = xml
csvSeparatorstringNodata type=string; maxLen=5
Applies whenformat = csv
csvEnclosedBystringNodata type=string; maxLen=1
Applies whenformat = csv
commitIntervalintegerNodata type=integer; maxLen=32767
defaultXlsxSheetNamestringNodata type=string; maxLen=255
Applies whenformat = xlsx
skipRowsnumberNodata type=number; maxLen=5
Applies whenformat in (csv)format in (xlsx)
staticIdstringYesdata type=string; maxLen=255
Use the Static ID to reference the Data Load Definition in API Calls.
firstLineContainsHeadersbooleanYestruedata type=boolean
Applies whenformat in (csv)format in (xlsx)
advanced {
  encoding: iso-8859-6
  numericChars: value
  xmlNamespaces: ```
    value
  ```
  csvSeparator: value
  csvEnclosedBy: value
  commitInterval: 42
  defaultXlsxSheetName: value
  skipRows: 42
  staticId: value
  firstLineContainsHeaders: false
}
errorHandling
PropertyTypeRequiredDefault ValueDetails
whenOnErrorenumYesstopdata type=string; lov=STATIC
Valid values: ignore stop logErrorIntoCollection logIntoErrorLog
namestringYesdata type=string; maxLen=128; textCase=UPPER
Applies whenwhenOnError = logErrorIntoCollection
tableNamestringYesdata type=string; maxLen=128
Applies whenwhenOnError = logIntoErrorLog
errorHandling {
  whenOnError: ignore
  name: value
  tableName: value
}
subscription
PropertyTypeRequiredDefault ValueDetails
masterreferenceNodata type=reference; lov=COMPONENT; references=dataLoadDefinition
subscription {
  master: @component
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

dataLoadDefinition sample (
    name: value
    dataProfile {
        name: value
        format: csv
        rowSelector: value
        useRawSelectors: false
        comments: ```
          value
        ```
    }
    target {
        type: table
        tableOwner: value
        tableName: value
        name: value
        loadingMethod: append
    }
    advanced {
        encoding: iso-8859-6
        numericChars: value
        xmlNamespaces: ```
          value
        ```
        csvSeparator: value
        csvEnclosedBy: value
        commitInterval: 42
        defaultXlsxSheetName: value
        skipRows: 42
        staticId: value
        firstLineContainsHeaders: false
    }
    errorHandling {
        whenOnError: ignore
        name: value
        tableName: value
    }
    subscription {
        master: @component
    }
    comments {
        comments: ```
          value
        ```
    }
)