DynaPDF.CreateGoToRAction
-------------------------

Creates a go-to-remote action.

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

MBS( "DynaPDF.CreateGoToRAction"; PDF; FileName; PageNum ) 

**MBS**( **"DynaPDF.CreateGoToRAction";** /\* Creates a go-to-remote action. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$FileName**; /\* File path to external PDF file. \*/   
**$PageNum**) /\* Destination Pagee.g. 5 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| FileName | File path to external PDF file. |  |
| PageNum | Destination Page | 5 |

### Result

Returns action index or error.

### Description

Creates a go-to-remote action.   
A go-to-remote action opens an external PDF file and jumps to the page defined by the parameter PageNum. If the destination page does not exist the first page will be displayed.   
The path to the external PDF file should be defined as relative path. Actions must be added to a PDF object with [DynaPDF.AddActionToObj](DynaPDFAddActionToObj.md). This function is also implemented in a wide version that accepts an Unicode file path. However, Unicode file path are supported since PDF 1.7 (Acrobat 8). Earlier Acrobat versions will fail to open the file if the path contains non-Ansi characters.   
If the function succeeds the return value is the action handle, a value greater or equal zero.   
See also [CreateGoToRAction](https://www.monkeybreadsoftware.com/DynaPDF-Manual/CreateGoToRAction.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.CreateGoToActionEx](DynaPDFCreateGoToActionEx.md)
- [DynaPDF.CreateGoToEAction](DynaPDFCreateGoToEAction.md)
- [DynaPDF.CreateGoToRActionEx](DynaPDFCreateGoToRActionEx.md)
- [DynaPDF.CreateJSAction](DynaPDFCreateJSAction.md)
- [DynaPDF.CreateNamedDest](DynaPDFCreateNamedDest.md)
- [DynaPDF.CreateResetAction](DynaPDFCreateResetAction.md)
- [DynaPDF.CreateSubmitAction](DynaPDFCreateSubmitAction.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.

### Blog Entries

- [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)

This function checks for a license.

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

  
[DynaPDF.CreateGoToEAction](DynaPDFCreateGoToEAction.md) - [DynaPDF.CreateGoToRActionEx](DynaPDFCreateGoToRActionEx.md)

[HTML Version](DynaPDFCreateGoToRAction.shtml)