FileMaker version 12 or higher.
When 360Plugins are intialized for the first time, they will automatically download all required support files
Drag the plugin from the MAC or WIN folder into your FileMaker extensions, and restart FileMaker.
If the plugin does not load correctly, please send an email to support@360works.com
Install plug-ins for use with WebDirect by dragging the appropriate plugin to FileMaker Server/Web Publishing/publishing-engine/cwpc/Plugins
You do not need to do this step unless you plan on using the plugin with Instant Web Publishing with FileMaker Server Advanced. You will need an Enterprise license to use this feature.
For installing into the Web Publishing Engine with FileMaker Server or FileMaker Server Advanced, drag the plugin from the MAC or WIN(.fmx) folder into the FileMaker Server/Web Publishing/publishing-engine/wpc/Plugins folder. If there is no Plugins folder inside the wpc folder, then create it manually. Restart FileMaker Web Publishing, and now the plugins should be ready to go.
The easiest way to test whether the plugin is working is to call the version function of the plugin, and display that on an IWP layout. If it shows "?", then the plugin is not working. If it shows a number, then the plugin has been installed successfully.
If you are using FileMaker Server 12.0v1, you can follow the same procedure as detailed above for custom web publishing. However, in FileMaker Server 12.0v2 and later, custom web publishing now runs as a 64-bit application and requires the 64-bit version of the plugin You will need an Enterprise license to use this feature.
For Mac, the single plug-in file in the MAC directory contains both 32-bit and 64-bit versions. For Windows, look for the plug-in that has the extension .fmx64 and use it in exclusively in custom web publishing.
To install 64-bit plug-ins, install either the .fmx64 or the .fmplugin to the following directory:
FileMaker Server / Web Publishing / publishing-engine / cwpc / Plugins
If it does not exist, create the Plugin folder manually. Restart FileMaker Web Publishing, and then you can then test a script that contains a plug-in and see if it returns the correct values.
You do not need to do this step unless you plan on using the plugin with scheduled script triggering. You will need an Enterprise license to use this feature.
360Works has created an AutoUpdate helper database which makes setting up AutoUpdate much easier. This file includes pre-configured plugin files which you can place on your server, and an AutoUpdate script for each of our plugins which you can paste into your own solution.
You can get the AutoUpdate360Works file here Follow the instructions included in the file to either host your own Auto Update server or pull the files from ours.
Plugins will run in demo mode until they are registered. While running in Demo mode, the product will run for 2 hours every time you launch FileMaker / FileMaker Server / FileMaker Web Publishing Engine. The 2 hour time limit will reset every time you relaunch FileMaker. There is no expiration date when Demo mode stops working. There are no feature differences between the Demo version and the licensed version.
Once you have purchased the plugin, you can register it with the license key. Once a valid license key is entered, the product will run for as long as FileMaker is running. After FileMaker starts up with the plugin installed, open FileMaker preferences, click on the Plug-ins tab, select the plugin from the list, and click the Configure button. Enter your license key and company name in this dialog. You will only need to do this once on a given machine. Alternately, you can use the registration function to register the plugin during a startup script.
Note: If you are running the plugin with FileMaker Server / FileMaker Web Publishing Engine, you must use the registration function to register the plugin, since there is no preferences dialog on FileMaker Server to enter the license key and company name. You will need to call the register function at the beginning of any script that is going to call plugin functions. This will ensure that you do not get demo mode errors.
We love to hear your suggestions for improving our products! If you are experiencing problems with this plugin, or have a feature request, or are happy with it, we'd appreciate hearing about it. Send us a message on our website, or email us!
When calling plugin functions as script steps, you will handle errors in the same manner you would any other FileMaker script step. Please see the FileMaker documentation for how to handle errors appropriately. Generally, if there is an error, our plugins will return an error code of 1552 when Get(LastError) is called. However, some plugin functions will return different error codes. If a function can return an error code other than a 1552, it will be documented with the description of the function below. In addition to the error code, you can also get the description of the error by calling Get(LastExternalErrorDetail). Please note that if you are using FileMaker 19.6 or later then this function has been renamed to Get(LastErrorDetail)
You can also call our functions in a calculation dialog. In this case, error handling is done differently. If you decide to call plugin functions in a calculation dialog and you want to capture errors, see this page page for instruction on how to do so
let()
function is used to do
the setup for the chart, and then the pieChartShowGraphic
is called at the end to set the actual value of
the container to the chart image.
Set Variable [ $result = Let( debug = pieChartCreate( "Quoted Hours Worked" ) and pieChartSetDataPoint( Name 1 ; Quoted 1 ) and pieChartSetDataPoint( Name 2 ; Quoted 2 ) and pieChartSetDataPoint( Name 3 ; Quoted 3 ) and pieChartSetDataPoint( Name 4 ; Quoted 4 ) and pieChartSetDataPoint( Name 5 ; Quoted 5 ); pieChartShowGraphic( 360; 360 ) )
64,128,255
64,128,255
{0}
is replace with the item name, {1}
is the numeric amount, and {2}
is the percent amount.Set Variable [$result = Let( debug = pieChartCreate( "Quoted Hours Worked" ) and pieChartSetDataPoint( Name 1 ; Quoted 1 ) and pieChartSetDataPoint( Name 2 ; Quoted 2 ) and pieChartSetDataPoint( Name 3 ; Quoted 3 ) and pieChartSetDataPoint( Name 4 ; Quoted 4 ) and pieChartSetDataPoint( Name 5 ; Quoted 5 ) ; pieChartShowGraphic( 360 ; 360 ; "explodeSeries=" & Name 1 ; // explode the first series "backgroundColor=100,100,255") ; // light-blue background "outline=false" // don't show an outline "legend=false" // don't show the legend ) ) ]
#create the bar chart Set VariableBarChartCreate("Total Hours Worked";"Employee";"Hours";"isVertical=1")] #Set the data points for each group for the Hourly category BarChartSetDataPoint[Group:"Hourly";Category:"Sam";Value:"11"] BarChartSetDataPoint[Group:"Hourly";Category:"Jesse";Value:"11.7"] BarChartSetDataPoint[Group:"Hourly";Category:"Dave";Value:"4.2"] BarChartSetDataPoint[Group:"Hourly";Category:"Max";Value:"6.8"] BarChartSetDataPoint[Group:"Hourly";Category:"Brian";Value:"5"] #Set the data points for each group for the Quoted category BarChartSetDataPoint[Group:"Quoted";Category:"Sam";Value:"12"] BarChartSetDataPoint[Group:"Quoted";Category:"Jesse";Value:"9.7"] BarChartSetDataPoint[Group:"Quoted";Category:"Dave";Value:"5"] BarChartSetDataPoint[Group:"Quoted";Category:"Max";Value:"12"] BarChartSetDataPoint[Group:"Quoted";Category:"Brian";Value:"11"] #Set the data points for each group for the Unbillable category BarChartSetDataPoint[Group:"Unbillable";Category:"Sam";Value:"7.2"] BarChartSetDataPoint[Group:"Unbillable";Category:"Jesse";Value:"2"] BarChartSetDataPoint[Group:"Unbillable";Category:"Dave";Value:"5"] BarChartSetDataPoint[Group:"Unbillable";Category:"Max";Value:"1"] BarChartSetDataPoint[Group:"Unbillable";Category:"Brian";Value:"4"] #Show the graph Set Field[myTable::myContainer;barChartShowGraphic(500,500)]
name
- the optional name of the chartcategoryAxisLabel
- the optional label for the category axis of the chartvalueAxisLabel
- the optional label for the value axis of the chartisVertical
- Whether to orient the chart horizontally (0) or vertically (1)use3d
- whether to apply a three-dimensional effect to the chart.BarChartSetDataPoint[Group:"Hourly";Category:"Sam";Value:"11"]
group
- unique group name identifier.category
- category name identifier. Typically, the same categories are repeated for each group.value
- the numeric value for the group/category combinationBarChartSetSeriesColor[Category:"Hourly";Red:255;Green:0;Blue:0;Alpha:255]//set color to Red with no transparency
category
- a category which was set in a previous call to barChartSetDataPoint.red
- a number between 0-255green
- a number between 0-255blue
- a number between 0-255alpha
- a number between 0-255 indicating the transparency of the color. 0 is completely transparent.
See the Custom Parameters section for a list of parameters which this function accepts.
Set field[myTable::myContainer; barChartShowGraphic(500;500)]//shows the bar chart at 500x500 in the specified container
width
- the width of the resulting imageheight
- the height of the resulting imageadditionalParams
- additional parameterswidth
- licenseKey
- a valid license key string, or the literal string "DEMO" to run in demo mode.registeredTo
- the company name for the license key used.emailAddress
- The user's email address to allow for support contactproblemDescription
- A description of the current issueerrorCapture
- set to true to suppress the default popups.#create the line chart Set Variable[$create;Value:lineChartCreate("Hours Jan-May";"Month";"Hours";"isVertical=1")] #Set the data points for the Hourly series lineChartSetDataPoint[Series Name:"Hourly";Category:"January";Value:"60"] lineChartSetDataPoint[Series Name:"Hourly";Category:"February";Value:"77"] lineChartSetDataPoint[Series Name:"Hourly";Category:"March";Value:"60"] lineChartSetDataPoint[Series Name:"Hourly";Category:"April";Value:"40"] lineChartSetDataPoint[Series Name:"Hourly";Category:"May";Value:"73"] #Set the data points for Quoted series lineChartSetDataPoint[Series Name:"Quoted";Category:"January";Value:"10"] lineChartSetDataPoint[Series Name:"Quoted";Category:"February";Value:"12"] lineChartSetDataPoint[Series Name:"Quoted";Category:"March";Value:"10"] lineChartSetDataPoint[Series Name:"Quoted";Category:"January";Value:"15"] lineChartSetDataPoint[Series Name:"Quoted";Category:"January";Value:"7"] #Set the data points for the Unbillable series lineChartSetDataPoint[Series Name:"Unbillable";Category:"January";Value:"10"] lineChartSetDataPoint[Series Name:"Unbillable";Category:"February";Value:"15"] lineChartSetDataPoint[Series Name:"Unbillable";Category:"March";Value:"25"] lineChartSetDataPoint[Series Name:"Unbillable";Category:"April";Value:"17"] lineChartSetDataPoint[Series Name:"Unbillable";Category:"May";Value:"10"] #show the line graph Set Field[Chart::LineChart;lineChartShowGraphic(500;500)]
name
- The title of the chartcategoryAxisLabel
- The label for the category axisvalueAxisLabel
- The label for the value axisisVertical
- Whether to orient the line chart vertically or horizontally (pass a 1 for vertical)use3d
- whether to apply a three-dimensional effect to the chartseriesName
- the name of the series (or line) that this data point will apply to.category
- category name identifier. This appears in the category axis of the line chart.value
- the numeric value for the group/category combinationlineChartSetSeriesColor[Category:"Hourly";Red:255;Green:0;Blue:0;Alpha;255]//sets series color to red with no transparency
category
- a category which was set in a previous call to lineChartSetDataPoint.red
- a number between 0-255green
- a number between 0-255blue
- a number between 0-255alpha
- a number between 0-255 indicating the transparency of the color. 0 is completely transparent.
The additionalParams
are optional parameters which can be used to customize the chart display.
See the Custom Parameters section for a list of parameters which this function accepts.
Set field[Chart::LineChart;lineChartCreateGraphic(500;500)
width
- width
- the width of the resulting imageheight
- the height of the resulting imageadditionalParams
- additional parameters#create the pie chart pieChartCreate[Name:"Quoted Hours Worked"] #set the data points pieChartSetDataPoint[Category:"Sam";Value:11] pieChartSetDataPoint[Category:"Jesse";Value:11.7] pieChartSetDataPoint[Category:"Dave";Value:4.2] pieChartSetDataPoint[Category:"Max";Value:6.6] pieChartSetDataPoint[Category:"Brian";Value:5] #show the chart Set Field[Chart::PieChart; pieChartShowGraphic(500,500)
name
- The optional name of the chart.use3d
- whether to use a three-dimensional effect on the chart.pieChartCreate
function.
Calling this twice with the same category name will overwrite the previously set value. See pieChartCreate for example usage
category
- category namevalue
- The numeric value for the category.pieChartSetSeriesColor[Category:Sam;Red:0;Green:255;Blue:0;Alpha:255] //sets the series color to green with no transparency
category
- a category which was set in a previous call to pieChartSetDataPoint.red
- a number between 0-255green
- a number between 0-255blue
- a number between 0-255alpha
- a number between 0-255 indicating the transparency of the color. 0 is completely transparent.
The additionalParams
are optional parameters which can be used to customize the chart display.
See the Custom Parameters section for a list of parameters which this function accepts.
width
- height
- additionalParams
- additional parameters which customize how the chart is generatedThe valid properties are:
Set Variable[$reg; Value: timeSeriesChartAddRegression("Sales";"color=red")] //Sets the "Sales" series line to red
seriesName
- the name of the series to add the regression to. If blank, the first series is used.properties
- optional arguments#create the time series chart timeSeriesChartCreate[Name:"Yearly Sales"; Time Axis Label: "Month"; Value Axis Label: "Sales in Thousands" ] #set the data points timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"01/01/2019"; Value: 100] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"02/28/2019"; Value: 350] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"03/30/2019"; Value: 260] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"04/30/2019"; Value: 650] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"05/31/2019"; Value: 700] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"06/30/2019"; Value: 800] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"07/31/2019"; Value: 733] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"08/30/2019"; Value: 400] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"09/30/2019"; Value: 368] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"10/31/2019"; Value: 350] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"11/20/2019"; Value: 500] timeSeriesChartSetDataPoint[Series Name:"Sales"; Date Or Time:"12/31/2019"; Value: 550] #show the time series chart Set Field[Charts::TimeSeriesChart;timeSeriesChartShowGraphic(1200;700)]
name
- The optional name of the chart (this will be displayed in the chart header)timeAxisLabel
- the optional label for the time axisvalueAxisLabel
- the optional label for the value axisseriesName
- The series name (or line) whose value is being set.date
- the date whose value is being set.value
- the value of the series on the specified datetimeSeriesChartSetSeriesColor[Series Name:"Sales"; Red: 255; Green:0;Blue:0; Alpha: 255] //sets series color to Red with no transparency
seriesName
- a seriesName which was set in a previous call to timeSeriesChartSetDataPoint.red
- a number between 0-255green
- a number between 0-255blue
- a number between 0-255alpha
- a number between 0-255 indicating the transparency of the color. 0 is completely transparent.
The additionalParams
are optional parameters which can be used to customize the chart display.
See the Custom Parameters section for a list of parameters which this function accepts.
width
- width
- the width of the resulting imageheight
- the height of the resulting imageadditionalParams
- additional parameters