Creating Template Pod

Here, we'll show you how to create a connector template pod package that you'll be able to reuse on job sites. You'll need to have pre-created templates (fst file(s)) that contain all the contents of the template.

Creating Pod

Below are the steps to create a pod:

Example zip with fst's: Here

Example Pod with fst's: Here

Example Zip without fst's: Here

1) io folder

First, the user will want to create an io folder under the project if it doesn't already exist. The path is something like this but with your version and project name: C:\Program Files (x86)\FIN Framework\FIN Framework 5.0.2016\var\proj\demo\io

2) Templates folder

Then the user will want to add/create a folder that contains the following files under the io folder:

End result should look something like below:

3) Folio Query

Then in folio run: finCreateTemplatePackage(`io/equipTemplates/`, {name: "equipTemplates", version: "1.0"}). There are 3 parameters. The first purple highlight parameter is the location of the folder in step 2. The second teal highlight parameter is the name you wish to choose for the pod (camelCase). The last yellow highlight is the version of the pod that you can control as you make changes.  

4) Pod Enable

After running the above query, you will need to restart the FIN Stack service and then enable the new pod extension from Settings (name of pod depends on what you chose to name it in step 3).