.DATA GET PARAM VALUE

This subroutine allows you to get the value of a field from the URL. This is only useful when working with the Data API (Release 5.5.0 & higher)


Usage:

      PASS                             FIELD            SHARE? Y
      PASS                        FIELD            SHARE? N
      PASS                        FIELD            SHARE? N
      PASS                        FIELD            SHARE? N
      PASS                        FIELD            SHARE? N
      GOSUB    --- .DATA GET PARAM VALUE
      *        Check for errors
      IF       --- .DATA GET PARAM VALUE      NE

Description:

This subroutine allows you to get the value of a field from the URL.

is the value returned (Required). You must use an Alpha field here and it must be PASSed with Share = Y to receive the value.

is the parameter whose value you want to retrieve (Required).

is the priority to use when retrieving the named parameter (Optional). Valid values are GET, POST and URL. If you don't specify a priority, the subroutine will use POST, GET, URL for POST type requests and GET, URL for all others. You can PASS up to 3 priorities.

Comments


 

-- %USERSIG{JeanNeron - 2020-03-03}%

This topic: APPX > WebHome > FullAPIList > 0LASubrDataGetParamValue
Topic revision: 15 Jun 2026, BrianRyan
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback