Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetTag
Sets the tag value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 5.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| curl | The CURL session handle. | $curl | |
| Value | The new tag value. | Get(RecordID) | Optional |
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 then 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
Blog Entries
Created 12nd July 2015, last changed 12nd March 2020
CURL.SetProgressScript - CURL.SetUpdateProgressDialog
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins