Working with Plugins
Linx include various pre-built plugins that can easily be added to your solutions to perform a range of tasks:
Programming tasks, e.g creating variables of different types, using IfElse statements, conditional and iterative looping, etc
Automating workflows by using services like Timer, Cron, DirectoryWatch, RabbitMQService, RESTWebService, etc
Integrating to 3rd party API's, including various AWS API's (e.g. S3, EC2, SNS, SQS), Xero, FinSwitch and QuickBooks
Publishing or consuming SOAP and REST Web Services
Connecting to databases to execute SQL queries, stored procedures and perform other DB tasks
Working with text, XML and JSON data
Reading from or writing to files of various formats, including text, CSV, PDF and Excel files
Compressing and decompressing files
Managing remote files and directories, using FTP
Working with message queues, using MSMQ
Working with images, using GraphicsMagick
Reading and sending emails, using POP3, IMAP and SMTP
Using cryptography to, for example, encrypt and decrypt data
and much more from a continuously expanding list of Linx plugins
Plugins contain specific Functions, Types and/ or Services. For example, the Email plugin contains two functions: ReadEmail and SendEmail.
Functions, Types and Services have specific properties which must be set with specific values to ensure the required and correct functioning of the Function, Type or Service.
How to work with Plugins in Linx
- Add a plugin to your Solution
- To add a plugin to your solution, click the Add Plugins button at the top of the Plugins section
- From the list of available plugins, click the Add button of the required plugin
- Add a Function, Type or Service to a Process
- When adding a Function or Type, first select the relevant Process in the Solution Explorer section by clicking on it.
- Then, from the Plugin section, select from the applicable plugin the required Function or Type, and drag and drop it onto the main canvas to add it to the selected Process.
- When adding a Service, select the required Service from the applicable plugin, then drag and drop it onto the Solution Explorer section.
- In the Properties section, set the properties that are associated with the Function, Type or Service event.
- Debug the Process.
- If a Solution contains both a Service and a Process (which is typical), and the Process contains the functions to execute when the Service's event is triggered, then the Process must be linked to the Service:
- select the Service event in the Solution Explorer section by clicking on it
- from the Solution Explorer section, drag and drop the applicable Process onto the main canvas (thereby linking the Process to the Service event)
- Deploy the Solution to Linx Application Server.
- Start the Service on Linx Application Server.