DialogModifications.Set
-----------------------

Adds an entry to the replacements list.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DialogModifications](component_DialogModifications.md) | [4.3](newinversion43.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "DialogModifications.Set"; Key; Value ) 

**MBS**( **"DialogModifications.Set";** /\* Adds an entry to the replacements list. \*/  
**$Key**; /\* The item to look for. Text must match exactly.e.g. "Sichern" \*/   
**$Value**) /\* The new text to use.e.g. "Daten sichern" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Key | The item to look for. Text must match exactly. | "Sichern" |
| Value | The new text to use. | "Daten sichern" |

### Result

Returns OK.

### Description

Adds an entry to the replacements list.  
See also [DialogModifications.Clear](DialogModificationsClear.md).  
Be aware that match is exactly byte per byte, so different variants of quotes like " and " or " can make a big difference.  
Also you may need to provide several variants of text to cover all variants in different FileMaker localizations or versions.  
  
Added iOS support for MBS Plugin in version 12.2.  
### Examples

Replaces a text:

 MBS ("DialogModifications.Set"; "Wollen Sie den GESAMTEN Datensatz löschen?"; "Wollen Sie den Kontakt löschen?")  
### See also

- [DialogModifications.Clear](DialogModificationsClear.md)
- [DialogModifications.Install](DialogModificationsInstall.md)
- [DialogModifications.List](DialogModificationsList.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.3pr11](https://www.mbsplugins.de/archive/2014-09-14/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 20th April 2022

  
[DialogModifications.List](DialogModificationsList.md) - [DialogModifications.Uninstall](DialogModificationsUninstall.md)

[HTML Version](DialogModificationsSet.shtml)