GetLocation Function

Official Content
This documentation is valid for:

To assign an existing location to a Location variable.

Syntax

&data_type = GetLocation( Exp )

Type Returned:
Location

Where:
Exp is the Location name( a Character value). If the location refers to a web services that has been imported to the Knowlege Base as an External object, the External object's name is the location name.

Description

When you have a Location variable, you must assign a location name to it. You do this by using the GetLocation function. The parameter indicates an existing location (that is, a GeneXus  main object must exist with that value in the Location property, or the Name property for Web Services).

Scope

Data Types: Location
Objects: Procedures, Transactions, Web Panels
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Location