Skip to content

About

This add-on is a part of the SaXML delivery toolchain. It helps to automate the seamless generation of SaXML files for your FileMaker databases.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fm-saxml-delivery-addon

Version 0.1.12

This add-on is a part of the SaXML delivery toolchain. It helps to automate the seamless generation of SaXML files for your FileMaker databases.

Installation

Per developer workstation:

Per FileMaker database file:

  • Install add-on in the database file by going to layout mode (any layout) ➜ Add-ons tab ➜ Install Add-on (at bottom).
    • Installing the add-on will create:
      • SaXMLDelivery table with xmlFile and other fields
      • SaXMLDeliveryExecutionContext layout with xmlFile and other fields
        • This layout will be used by a git pipeline to generate SaXML.
        • The layout name must be SaXMLDeliveryExecutionContext.
        • The layout must contain an xmlFile field.
        • The layout table does not need to contain any records.
      • saxmlDelivery family of scripts
  • Create a privilege set that can be used to call the saxmlDelivery_createXml script with the Data API
    • Suggested name: 'SaXML Delivery'
    • Custom record privileges
      • SaXMLDelivery table: View + Edit + 'modifiable' for xmlFile field ('no access' for all other fields)
      • All other tables: No access
    • Custom layout privileges
      • SaXMLDeliveryExecutionContext layout: View only (layout), Modifiable (records)
      • All other layouts: No access
    • Value lists
      • All no access
    • Custom script privileges
      • saxmlDelivery_createXml script: Executable only
      • All other scripts: No access
    • Extended privileges
      • fmrest
  • Create an account that uses that privilege set
    • Suggested name: 'saxml'

Per server:

  • Install a valid SSL certificate (required by the Data API)
  • Enable the Data API

Git Configuration

  • Set up a repository with a pipeline that calls fm-saxml-delivery
  • You'll need to set up the appropriate repository variables in the repository
    • FM_HOST=https://fm.example.com
    • FM_USERNAME=user
    • FM_PASSWORD=password
    • FM_FILES=file,anotherFile,yetAnotherFile
  • Run the pipeline on a schedule and/or ad hoc to have SaXML files created

Upgrade Instructions

  • Uninstall the add-on
    • This will remove the table, layout, and scripts
  • Install the new add-on
    • This will add the necessary table, layout, and scripts

About

This add-on is a part of the SaXML delivery toolchain. It helps to automate the seamless generation of SaXML files for your FileMaker databases.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors