SharingPanel.Item
-----------------

Queries item at index.

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

MBS( "SharingPanel.Item"; Index ) 

**MBS**( **"SharingPanel.Item";** /\* Queries item at index. \*/  
**$Index**) /\* The index of the item.  
Zero based.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Index | The index of the item.   Zero based. | 0 |

### Result

Returns number or error.

### Description

Queries item at index.  
When sharing is done, you may get new items if the activity changed an item.  
Depending on content we may return text, styled text, URL, image or file container.  
### See also

- [SharingPanel.Clear](SharingPanelClear.md)
- [SharingPanel.ItemCount](SharingPanelItemCount.md)
- [SharingPanel.SetScript](SharingPanelSetScript.md)

### Example Databases

- [iOS/Examples/SharingPanel](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/SharingPanel.shtml#2ScriptAnchor_)

This function checks for a license.

Created 28th August 2021 , last changed 17th July 2022

  
[SharingPanel.IsPresented](SharingPanelIsPresented.md) - [SharingPanel.ItemCount](SharingPanelItemCount.md)

[HTML Version](SharingPanelItem.shtml)