Comment on page
Deploy Meta-Forms (IIS)
To install Cinchy Meta-Forms you will need:
- A deployed Cinchy platform on IIS. These instructions are specific to an IIS deployment.
Ensure that you download the latest version.
- 1.Create a C:/Cinchy Applets folder if it doesn't exist and check in the App Experience code.
- 2.If you have multiple instances, create a folder that corresponds to the name of your Cinchy instance (C:/CinchyApplets/DXdemo) and place the extracted App Experience folder here.
- 3.Open your IIS Manager.
- 4.Navigate to IIS Connections.
- 5.Right Click the Cinchy Server name.
- 6.Expand Sites such that “Default Web Site” is visible.
- 7.Navigate to the site containing your Cinchy application and select Add Virtual Directory.
- 8.Name the Alias of this directory DX.
- 9.Input the path to Cinchy Applets directory in the Physical Path field.
- 10.Right click on the meta-forms folder under the DX virtual directory and select Convert to Application.
- 1.Locate "\assets\config.json" and input your Cinchy domain as specified below.
If you haven't deployed Cinchy at the root of your domain on IIS, then you need to complete the steps below.
- 1.Specify the path to your 'meta-forms' application as instructed below.
- 2.Locate the "C:\CinchyApplets\<Cinchy Environment>\Meta-Forms-App-Experience\index.html" file and update the base HREF to the path to your edit-form application on IIS and save.
- 1.Navigate to the Meta-Forms-Data-Experience package.
- 2.Open "\post-install\post-install-1.sql" and replace the below with your own URLs.SET @CinchyURL = 'https://pilot.cinchy.net/DXdemo/Cinchy'SET @MetaFormsURL = 'https://pilot.cinchy.net/DXdemo/dx/metaforms'
- 3.Open an instance of PowerShell or similar terminal from within the Meta-Forms-Data-Experience.
- 4.Run the below command, using the table as a guide and inputting your own parameters.
./CinchyDXD.ps1 install -s "cinchy.com/cinchy" -h -sso "cinchy.com/sso" -u user -p pass -c "C:\Users\Downloads\Cinchy Connections v5.5.3\Cinchy Connections CLI\Cinchy Connections CLI (win-x64)" -d "C:\sometempdirectory" -e
Once you have installed the experience, your environment will be populated with these tables and queries:
- Forms table
- Forms Sections table
- Form Fields table
- Get Form Metadata query
- Get Form Sections Metadata query
- Get Form Fields Metadata
Forms Table: This table houses all the existing forms in your environment. Adding an entry to this table, will add a form to the complete list of forms. The table is used to link form fields and form sections to one specific form, and it connects to the table which contains all of the form responses/data.
Form Sections Table: Use this table to create separation between parts of the form. For instance, when creating a quiz based on compliance, you can use this table to create a section for the technological questions, one for the policy based questions, and one for any possible quiz feedback. A new form section can be created by adding a new entry to this table. The form sections need to be connected to the form created in the Forms table.
Form Fields Table: Use this table to create all the possible data entry fields associated with the form sections within the form. To create a new form field, simply add an entry to the table and connect it to the form section. In the example of the quiz, add an entry for every question and link it to the appropriate form section.
Get Form MetaData Query: This query will return the metadata of your form, using the form ID present in the Forms table. The resulting metadata shows whether a form field is mandatory or not, the choices present for each question, the column names and types in the table containing your form data, the form fields and sections, and the JSON data.
Get Form Sections Query: This query uses the form ID, present in the Forms table, to return all the form sections present within the form.
For any users who want to access forms/want forms to execute properly, they need to have access to all the following tables and queries. These include the three tables and two queries shown above, as well as the Tables, Table Columns, and Domains tables within that user's specific environment.