Field-Map Scripting

4.2.4.4 GetLookupListContentAsXML

GetLookupListContentAsXML function


Prototype:

function GetLookupListContentAsXML(const AttributeName: string; const OnlyActiveItems, IncludingConditionalLookupLists: boolean): string;

Description:

The GetLookupListContentAsXML function makes all items of a specified lookup list easily available for further manipulation.

Syntax:


variable := Layer.GetLookupListContentAsXML(AttributeName,OnlyActiveItems, IncludingConditionalLookupLists);



Part

Description


variable

A variable declared as a string


Layer

A reference to a Field-Map layer as defined in Field-Map Project Manager


AttributeName

A reference to a Field-Map attribute as defined in Field-Map Project Manager


OnlyActiveItems

A parameter specifying whether or not only active items will be included


IncludingConditionalLookupLists

A parameter specifying whether or not to include conditional lookup lists

Return value:

content (items) of the specified lookup list as an XML formatted string



See also:

AddDataToXML; GetRecordAsXML; GetRecordsAsXML; GetLookupListContentAsXML; GetLookupListsContentAsXML