Last modified: Mon, 04/03/2017 - 12:50
You need to add the right magic to the UI configuration, the right magic to the list of operations the product server understands, you need to write a Ferret script that uses the incoming symbols to create the product and put it in the right place and you need an output template to display the results of all your hard work to the user.
- Adding the Operation Definition
The XML definition of the operation is the first step to setting up a custom operation for your LAS.
- Adding Options for the new Operation
You can associate a variety of options with an operation. The value of the options are transmitted with the request and can be used by your script to change the way the product is created.
- Create the Ferret Script that makes the product
You need some Ferret logic to create the product for your new operation. The main secret is finding the information you need in the Ferret symbols.
- Create an output template
Finally you need to get your great work in front of the user. Here's a simple template that will do the job.
- Setting the MIME Type of your output template.
If your output template creates something besides an HTML document you might want to set the MIME type so the client knows what to do with the response.