Dictionary.SetTag
-----------------

Sets the tag value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Dictionary](component_Dictionary.md) | [14.3](newinversion143.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Dictionary.SetTag"; DictionaryRef; Value ) 

**MBS**( **"Dictionary.SetTag";** /\* Sets the tag value. \*/  
**$DictionaryRef**; /\* The reference number to the dictionary.e.g. $dic \*/   
**$Value**) /\* The new tag value.e.g. Get(RecordID) \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| DictionaryRef | The reference number to the dictionary. | $dic |
| Value | 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 dictionary here like a RecordID in FileMaker.  
### See also

- [Dictionary.GetTag](DictionaryGetTag.md)
- [Dictionary.Release](DictionaryRelease.md)
- [Dictionary.SetList](DictionarySetList.md)

### Release notes

- **Version 14.3**
    - Added [Dictionary.GetTag](https://www.mbsplugins.eu/DictionaryGetTag.shtml) and [Dictionary.SetTag](https://www.mbsplugins.eu/DictionarySetTag.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin 14.3 News](https://www.mbsplugins.de/archive/2024-07-17/MBS_FileMaker_Plugin_143_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.3pr4](https://www.mbsplugins.de/archive/2024-06-19/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 15th June 2024 , last changed 15th June 2024

  
[Dictionary.SetQuickList](DictionarySetQuickList.md) - [Dictionary.SetValueForKey](DictionarySetValueForKey.md)

[HTML Version](DictionarySetTag.shtml)