Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the tag value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 5.2 Yes Yes Yes Yes Yes

MBS( "CURL.SetTag"; Handle { ; Value } )


Parameter Description Example value
Handle The CURL session handle. $curl
Value Optional
The new tag value.


Returns OK or error.


Sets the tag value.
The tag value allows you to store any value related to the CURL transfer here like a RecordID in FileMaker.
In the finished script, you can than use the CURL handle passed as parameter to query your tag value.
See also CURL.SetFinishedScript and CURL.PerformAsync.


Sets tag to be record ID:

Set Variable [$r; Value:MBS("CURL.SetTag"; $curl; Get(RecordID))]

Test tag:

Set Variable [$curl; Value:MBS( "CURL.New" )]
#Set Tag to some value
Set Variable [$r; Value:MBS( "CURL.SetTag"; $curl; "Hello World")]
#Later read back the value
Set Variable [$tag; Value:MBS( "CURL.GetTag"; $curl)]

See also

Example Databases

CURL.SetProgressScript   -   CURL.SetUpdateProgressDialog

Feedback: Report problem or ask question.

MBS Xojo tutorial videos