GetLocation function

Official Content
This documentation is valid for:

Assigns an existing location to a Location variable.

Syntax

&data_type = GetLocation( Exp )

Where:

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

Type Returned:
Location

Scope

Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3), Apple, Android, Angular

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).

See Also

Location