DynaPDF.GetActionsAsJSON
------------------------

Queries all action as JSON array.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [14.1](newinversion141.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetActionsAsJSON"; PDF ) 

**MBS**( **"DynaPDF.GetActionsAsJSON";** /\* Queries all action as JSON array. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns JSON or error.

### Description

Queries all action as JSON array.  
See various action structure in DynaPDF help, which we convert to JSON for you.  
### Examples

Query JSON:

 Set Variable \[ $JSON ; Value: MBS ( "DynaPDF.GetActionsAsJSON"; PDF ) \]  
### See also

- [DynaPDF.GetAnnotationAsJSON](DynaPDFGetAnnotationAsJSON.md)
- [DynaPDF.GetAnnotationsAsJSON](DynaPDFGetAnnotationsAsJSON.md)
- [DynaPDF.GetDocInfoAsJSON](DynaPDFGetDocInfoAsJSON.md)
- [DynaPDF.GetFieldAsJSON](DynaPDFGetFieldAsJSON.md)
- [DynaPDF.GetFieldsAsJSON](DynaPDFGetFieldsAsJSON.md)
- [DynaPDF.GetFontAsJSON](DynaPDFGetFontAsJSON.md)
- [DynaPDF.GetFontsAsJSON](DynaPDFGetFontsAsJSON.md)
- [DynaPDF.New](DynaPDFNew.md)

### Release notes

- **Version 14.1**
    - Added [DynaPDF.GetActionsAsJSON](https://www.mbsplugins.eu/DynaPDFGetActionsAsJSON.shtml) function.

### Example Databases

- [DynaPDF/PDF JSON](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/PDF%20JSON.shtml#1ScriptAnchor_)

### Blog Entries

- [New in MBS FileMaker Plugin 14.1](https://www.mbsplugins.de/archive/2024-03-19/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 14.1 für Claris FileMaker](https://www.mbsplugins.de/archive/2024-03-12/Neues_MBS_Plugin_141_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 14.1 for Claris FileMaker](https://www.mbsplugins.de/archive/2024-03-12/MBS_Plugin_141_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.1pr2](https://www.mbsplugins.de/archive/2024-02-14/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 13th February 2024 , last changed 13th February 2024

  
[DynaPDF.GetActionCount](DynaPDFGetActionCount.md) - [DynaPDF.GetAnnotColor](DynaPDFGetAnnotColor.md)

[HTML Version](DynaPDFGetActionsAsJSON.shtml)