Official Content

Gets the stored value for the given key.

Syntax

ClientStorage.Get(<Key>)

Where:

<key> is the identifier of the value that we want to get, it has to be Strings.

Type returned

Character

Example

Event 'ConfirmHomeGeolocation'
  Composite
     ClientStorage.Set('HomeGeolocation', &Geolocation)
     CustomerPanel()
  EndComposite
EndEvent

Event ClientStart
  Composite
     &Geolocation = ClientStorage.Get('HomeGeolocation')
     If not &Geolocation.IsEmpty()
          CustomerPanel()
     EndIf
  EndComposite
EndEvent

Availability

This feature is available as of GeneXus X Evolution 3.

Scope

See also



Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant