SharingPanel.SetEvaluate
------------------------

Sets the expression to call when sharing panel is done.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SharingPanel](component_SharingPanel.md) | [11.4](newinversion114.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "SharingPanel.SetEvaluate"; Expression ) 

**MBS**( **"SharingPanel.SetEvaluate";** /\* Sets the expression to call when sharing panel is done. \*/  
**$Expression**) /\* The expression to evaluate. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Expression | The expression to evaluate. |  |

### Result

Returns OK or error.

### Description

Sets the expression to call when sharing panel is done.  
In the script you can check with [SharingPanel.Result](SharingPanelResult.md), [SharingPanel.ErrorText](SharingPanelErrorText.md) and [SharingPanel.ErrorCode](SharingPanelErrorCode.md) what happened.  
### See also

- [SharingPanel.ErrorCode](SharingPanelErrorCode.md)
- [SharingPanel.ErrorText](SharingPanelErrorText.md)
- [SharingPanel.GetEvaluate](SharingPanelGetEvaluate.md)
- [SharingPanel.GetFileName](SharingPanelGetFileName.md)
- [SharingPanel.Result](SharingPanelResult.md)

This function is free to use.

Created 28th August 2021 , last changed 28th August 2021

  
[SharingPanel.SelectedType](SharingPanelSelectedType.md) - [SharingPanel.SetExcludedActivityTypes](SharingPanelSetExcludedActivityTypes.md)

[HTML Version](SharingPanelSetEvaluate.shtml)