Skip to main content

1E 9.x (on-premises)

Storage.GetRemote

Method

GetRemote

Module

Storage

Library

Core

Action

Retrieve the requested datum directly from the Platform central repository.

Parameters

Name (string): The key of the datum to retrieve. Case is significant.

TimeoutSecs (integer; optional, default 60): If the operation has not completed within the specified time period, it will fail with an error.

Return values

Value (table): Contents of the value retrieved as a string, which may be empty, either because the value is empty or because the key does not exist.

Example

@token = Storage.GetRemote(Name: "Api.Token");

Platforms

  • Windows

  • Linux

  • MacOS

Notes

It is not an error if the datum named by the key does not exist, but an empty result is returned.

This method does not return a value in TIMS because it requires a Tachyon Switch.