Skip to main content

SFAnalysisSetting

The SFAnalysisSetting function is supported in Studio ONLY. When given a configuration parameters, it returns the associated attribute. The function allows you to write abstract analytics, without having to know the attributes names. Abstract analytics can be ported over different servers and databases, as they don't contain fixed attribute references.

Prototype

    SFAnalysisSetting(Name)

Arguments

  Name      String      By value

A valid string containing the analysis setting parameter name.

Returns

    String
The associated attribute name, a null string is returned if the analysis parameter is not configured

Exception

    Undefined

Undefined is returned if no analysis is configured.

Examples 

  SFAnalysisSetting('ReconciledSolvabilityAttribute')

This will return a string containing the associated attribute name.