ConfigUtility

Version:
Current
Last modified: June 12, 2020

The ConfigUtility class constructs configuration XML for a RecordInfo object and assesses if the XML is different from the provided XML.

Methods

MakeAndCompareMetaInfo

Constructs a configuration XML string and compares it against the specified configuration XML string. Returns a new configuration XML string.

static WString MakeAndCompareMetaInfo(const RecordInfo & recordInfo, const wchar_t *strOutputConnection, WString strSortConfig, WString strOldConfig, bool &r_bMetaInfoDifferent)

recordInfo: A reference to the RecordInfo object you are evaluating.

strOutputConnection: The name of the output connection pertaining to the RecordInfo object.

strSortConfig: The sort configuration XML for the output connection. The XML string should be in the format below. If the data connection is not sorted, an empty <SortInfo> element should be used.

<SortInfo> <Field field="SortField1" order="Asc" /> <Field field="SortField2" order="Desc" /> ... </SortInfo>

strOldConfig: The configuration XML used to compare against the sort configuration.

r_bMetaInfoDifferent: A reference to a boolean value the describes if the configuration has changed:

  • True: The new configuration differs from the old configuration.
  • False: The old and sort configurations match.
Was This Page Helpful?

Running into problems or issues with your Alteryx product? Visit the Alteryx Community or contact support. Can't submit this form? Email us.