jsonDualityView

Parent: app

Children: dataProfileColumn

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
Enter a name of the JSON Duality View Source.

Property Groups:

  • dataProfile
  • source
  • advanced
  • remoteCache
  • 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
  ```
}
source
PropertyTypeRequiredDefault ValueDetails
locationenumYesdata type=string; lov=STATIC
Valid values: localDatabase restEnabledSql
remoteServerreferenceYesdata type=reference; lov=COMPONENT; references=restEnabledSqlDatabase
Applies whenlocation = restEnabledSql
tableOwnerstringNodata type=string; maxLen=32767
Select the schema that owns the data source.
tableNamestringYesdata type=string; maxLen=128
Enter the case-sensitive JSON duality view name. You can type in the name or pick from the list.
source {
  location: localDatabase
  remoteServer: @component
  tableOwner: value
  tableName: value
}
advanced
PropertyTypeRequiredDefault ValueDetails
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
staticIdstringYesdata type=string; maxLen=255
Use the Static ID to reference the JSON Duality View Source in API Calls.
defaultXlsxSheetNamestringNodata type=string; maxLen=255
Applies whenformat = xlsx
skipRowsnumberNodata type=number; maxLen=5
Applies whenformat in (csv)format in (xlsx)
firstLineContainsHeadersbooleanYestruedata type=boolean
Applies whenformat in (csv)format in (xlsx)
advanced {
  xmlNamespaces: ```
    value
  ```
  csvSeparator: value
  csvEnclosedBy: value
  staticId: value
  defaultXlsxSheetName: value
  skipRows: 42
  firstLineContainsHeaders: false
}
remoteCache
PropertyTypeRequiredDefault ValueDetails
cachingenumNodata type=string; lov=STATIC
Valid values: allUsers user session
Applies whenlocation = restEnabledSql
timeoutmultiline stringNodata type=multiline string; maxLen=255
Applies whenlocation = restEnabledSql and caching is set
remoteCache {
  caching: allUsers
  timeout: ```
    value
  ```
}
subscription
PropertyTypeRequiredDefault ValueDetails
masterreferenceNodata type=reference; lov=COMPONENT; references=jsonDualityView
subscription {
  master: @component
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

jsonDualityView sample (
    name: value
    dataProfile {
        name: value
        format: csv
        rowSelector: value
        useRawSelectors: false
        comments: ```
          value
        ```
    }
    source {
        location: localDatabase
        remoteServer: @component
        tableOwner: value
        tableName: value
    }
    advanced {
        xmlNamespaces: ```
          value
        ```
        csvSeparator: value
        csvEnclosedBy: value
        staticId: value
        defaultXlsxSheetName: value
        skipRows: 42
        firstLineContainsHeaders: false
    }
    remoteCache {
        caching: allUsers
        timeout: ```
          value
        ```
    }
    subscription {
        master: @component
    }
    comments {
        comments: ```
          value
        ```
    }
)