DynaPDF.CreateGoToActionEx
--------------------------

Creates a go-to action which uses a named destination to open the target page.

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

MBS( "DynaPDF.CreateGoToActionEx"; PDF; NamedDest ) 

**MBS**( **"DynaPDF.CreateGoToActionEx";** /\* Creates a go-to action which uses a named destination to open the target page. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$NamedDest**) /\* The index of the named destination. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| NamedDest | The index of the named destination. |  |

### Result

Returns an action number or error.

### Description

Creates a go-to action which uses a named destination to open the target page.   
A named destination can be used if the destination should be accessible from another PDF file. See also [DynaPDF.CreateNamedDest](DynaPDFCreateNamedDest.md).   
See also [CreateGoToActionEx](https://www.monkeybreadsoftware.com/DynaPDF-Manual/CreateGoToActionEx.shtml) function in DynaPDF manual.

### Examples

Adds a go-to action for a cell in the table:

 Set Variable \[ $NamedDest ; Value: MBS ( "[DynaPDF.CreateNamedDest](DynaPDFCreateNamedDest.md)"; $pdf ; "test"; 2; "Fit") \]   
Set Variable \[ $Action ; Value: MBS ( "DynaPDF.CreateGoToActionEx"; $PDF ; $NamedDest ) \]   
Set Variable \[ $r ; Value: MBS ( "[DynaPDF.Table.SetCellAction](DynaPDFTableSetCellAction.md)"; $Table ; $rowNum ; 0; $action ; "Invert" ) \]  
### See also

- [DynaPDF.CreateGoToAction](DynaPDFCreateGoToAction.md)
- [DynaPDF.CreateGoToEAction](DynaPDFCreateGoToEAction.md)
- [DynaPDF.CreateGoToRAction](DynaPDFCreateGoToRAction.md)
- [DynaPDF.CreateGoToRActionEx](DynaPDFCreateGoToRActionEx.md)
- [DynaPDF.CreateJSAction](DynaPDFCreateJSAction.md)
- [DynaPDF.CreateNamedDest](DynaPDFCreateNamedDest.md)
- [DynaPDF.CreateResetAction](DynaPDFCreateResetAction.md)
- [DynaPDF.CreateURIAction](DynaPDFCreateURIAction.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.Table.SetCellAction](DynaPDFTableSetCellAction.md)

### Release notes

- **Version 10.0**
    - Added [DynaPDF.CreateGoToAction](https://www.mbsplugins.eu/DynaPDFCreateGoToAction.shtml), [DynaPDF.CreateGoToActionEx](https://www.mbsplugins.eu/DynaPDFCreateGoToActionEx.shtml), [DynaPDF.CreateGoToRAction](https://www.mbsplugins.eu/DynaPDFCreateGoToRAction.shtml) and [DynaPDF.CreateGoToRActionEx](https://www.mbsplugins.eu/DynaPDFCreateGoToRActionEx.shtml) functions.

### Example Databases

- [DynaPDF/Book Creation](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Book%20Creation.shtml#3ScriptAnchor_)
- [DynaPDF/Merge PDFs](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Merge%20PDFs.shtml#5ScriptAnchor_)

### Blog Entries

- [Things you can do with DynaPDF](https://www.mbsplugins.de/archive/2021-07-02/Things_you_can_do_with_DynaPDF/monkeybreadsoftware_blog_filemaker)
- [Merge PDF with table of contents](https://www.mbsplugins.de/archive/2020-02-25/Merge_PDF_with_table_of_conten/monkeybreadsoftware_blog_filemaker)
- [New in the MBS FileMaker Plugin 10.0](https://www.mbsplugins.de/archive/2020-01-23/New_in_the_MBS_FileMaker_Plugi/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.6pr2](https://www.mbsplugins.de/archive/2019-12-10/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 5/2021, Seite 28](https://filemaker-magazin.de/neuigkeit/4158-Appetithappen-FMM_202105)

This function checks for a license.

Created 5th December 2019 , last changed 5th December 2019

  
[DynaPDF.CreateGoToAction](DynaPDFCreateGoToAction.md) - [DynaPDF.CreateGoToEAction](DynaPDFCreateGoToEAction.md)

[HTML Version](DynaPDFCreateGoToActionEx.shtml)