Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

CURL.SetTag

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"; curl { ; Value } )   More

Parameters

Parameter Description Example value
curl The CURL session handle. $curl
Value Optional
The new tag value.
Get(RecordID)

Result

Returns OK or error.

Description

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.

Examples

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

Created 12nd July 2015, last changed 11st May 2016


CURL.SetProgressScript   -   CURL.SetUpdateProgressDialog

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins