5 Replies Latest reply on Feb 11, 2016 4:24 PM by user19752

    Using "mergeplugin.fmx" in an existing solution - looking for documentation

    forsythem

      Hello!

       

      I'm working on an existing database project.  A dataset is created in FileMaker (currently version 14), and then a script is called to export some of this data into a Word document, via a plugin.

       

      The plugin was already in place in the database when I started on it, and nobody who owns or manages the database knows the origin of the plugin.  The plugin is embedded in the FM database, with a "MergePlugin.fmplugin" for Mac, and a "MergePlugin.fmx" plugin for Windows.

       

      The script obtains the required data from FM, and assigns it to variables, eg. "ContactFullName" via plugin calls.

       

      The FM database then has a container for the Word document to merge to.  In the document are references to the variables assigned from FM, in the form "<<ContactFullName>>"

       

      The variables are output in HTML format.  I've been able to work out enough to be able to modify the text being output to the word document, including building some HTML tables with the data.

       

      I'm now also trying to export images that are saved in container files in the FM database into a table in the word document, but not having any success.

       

      Does anybody know this plugin?  I'm trying to find any documentation on how to use it, specifically for exporting images from FM into the resulting word documents.

       

      The description on the Plugin under preferences is "Merge Plug-In v0.13 extends FileMaker applications by adding external functions."

       

      I was able to pull the information below from the plugin by opening it as text:

       

      M e r g e   P l u g - I n P M e r g e   P l u g - I n   v 0 . 1 3   e x t e n d s   F i l e M a k e r   a p p l i c a t i o n s   b y   a d d i n g   e x t e r n a l   f u n c t i o n s .   0 . 1 3                         PA            M e r g e _ V e r s i o n (   v e r s i o n F o r m a t   ) 3 M e r g e _ M e r g e F i l e (   o p t i o n s   ;   m e r g e F i l e   ;   s o u r c e F i l e   ) 1 M e r g e _ M e r g e D a t a (   o p t i o n s   ;   s o u r c e   ;   d e s t i n a t i o n   ) , M e r g e _ A d d F i e l d (   o p t i o n s   ,   f i e l d N a m e   ,   d a t a   ) ( M e r g e _ D e l e t e F i e l d (   o p t i o n s   ,   f i e l d N a m e   ) ) M e r g e _ G e t F i e l d D a t a (   o p t i o n s   ;   f i e l d N a m e   )   M e r g e _ G e t F i e l d L i s t (   o p t i o n s   )   M e r g e _ G e t F i e l d C o u n t (   o p t i o n s   ) X M e r g e _ I n s e r t I m a g e (   o p t i o n s   ;   f i l e P a t h   ;   i m a g e P a t h   ;   f i e l d N a m e   ;   t y p e   ;   w i d t h   ;   h e i g h t     ) : M e r g e _ I n s e r t D a t a (   o p t i o n s   ;   f i l e P a t h   ;   p a r a m e t e r s   ;   d a t a   ) * M e r g e _ G e t D a t a (   o p t i o n s   ;   f i l e P a t h   ;   t e x t   ) 0 M e r g e _ M o v e D a t a (   o p t i o n s   ;   f i l e P a t h   ;   f r o m   ;   t o   ) 7 M e r g e _ C r e a t e D o c u m e n t (   o p t i o n s   ;   f i l e P a t h   ;   p a r a m e t e r s   )                             PAL 4   V S _ V E R S I O N _ I N F O     ½ ïþ         

            

      ?                           ª     S t r i n g F i l e I n f o   †     0 4 0 9 0 4 e 4   X     C o m p a n y   U R L     h t t p : / / w w w . y o u r c o m p a n y . c o m /   :

         C o m p a n y N a m e     Y o u r   C o m p a n y     N     F i l e D e s c r i p t i o n     M e r g e   P l u g - I n   0 . 1 3     2   F i l e V e r s i o n     0 . 0 . 1 3 . 0     <     I n t e r n a l N a m e   M e r g e   P l u g - I n   D     L e g a l C o p y r i g h t   C o p y r i g h t   © 2 0 1 4   V    M o r e   I n f o     T h i s   f i l e   i s   a   F i l e M a k e r   a p p l i c a t i o n s   p l u g - i n .   T o   m a k e   t h i s   f i l e   e f f e c t i v e ,   d r o p   i t   i n t o   F i l e M a k e r ' s   E x t e n s i o n s   f o l d e r   a n d   l a u n c h   t h e   F i l e M a k e r   a p p l i c a t i o n .     H     O r i g i n a l F i l e n a m e   M e r g e P l u g i n . f m x   6   P r o d u c t V e r s i o n   0 . 0 . 1 3 . 0     D     V a r F i l e I n f o     $     T r a n s l a t i o n    

       

      Any suggestions appreciated, thanks!

      Michael.