Setup Instructions

for CalendarPLUS

We’ve created a series of videos and instructions so that you can get your calendar set up. Follow the steps below in order to get your calendar up and running.

Part 1

1. Locate your database tokens.

Database tokens are sent in an email upon purchasing Calendar Plus.  If you have purchased Calendar Plus and do not have your database tokens, enter a support ticket here or email support at support@nioxus.com.

2. Download the Calendar Plus template database by clicking the button below

Part 2 - Desktop Application

1. Import template database into the Ninox Desktop App

a. Open the desktop application and go to “My Databases” in the team menu
b. Click “Import archive” and open the calendar-plus-template.ninox file downloaded in Part 1
c. Ensure “Local” is selected and click “Import Database”

2. Import the tables from the template database into your database

a. In the desktop app, Navigate to the team and database where you would like to install Calendar Plus
b. Click import data, select Ninox, select calendar-plus-template, and click next
c. Ensure that all three of the tables have a check in the “Data model” column, and that the target is “New Table”
d. Click “Import”, then “Import now”
e. Navigate back to the calendar-plus-template database, click the “Calendar Plus Entries” table and go to edit fields
f. Click on the trigger after update function and copy the script
g. Go back to your database and paste the script into the trigger after update function in the Calendar Plus Entries table there.

3. Insert Your Token

Part 2 - Web Application (Browser)

1. Import the template database into your team

a. In the Ninox Web Application, navigate to your team and click “Import archive”, then “choose file”
b. Locate and select the template database file named calendar-plus-template.ninox, click “Open”, then “Import Database”

2. Create the Calendar Plus Entries table based on the one in the template database

a. In your database, enter edit mode, and create a new table named CALENDAR PLUS ENTRIES
b. Enter the new table, and click “Edit fields”
c. For each of the fields found in the CALENDAR PLUS ENTRIES table in the template database, create a field of the same type and same name in the new table in your database
d. In the CPEDATA field, click “more options”, and enter false into the “display only if” function to hide the field.
e. In the RECURRING field, enter false into the “writable if” function to make the field read only
f. (optional) Resize the fields to match the layout in the template database.
g. Copy the code found in the “trigger after update” function in the template database, and paste it in the “trigger after update” function for the new table in your database

3. Create the Calendar Plus Table and Connect Calendar

a. Enter edit mode, and create a new table named “Calendar Plus”
b. Create a formula field called “Calendar Plus” in the table
c. In the Formula field options, choose “Hidden” for the label position, and set the background color to white under “style”
d. Go to the template database and open the CALENDAR PLUS table
e. Click edit fields, click on the formula field, and copy the code in the formula function
f. Paste the code into the formula function of the formula field you created in your database
g. Replace INSERT TOKEN HERE with your database token located in Part 1
h. Create a new form view called “Calendar Plus”
i. Click the new record button
j. Expand the formula field to fill the page
k. Delete the (all) view at the top of the page

4. Create the Calendar Plus Settings Table

a. Create a new table named CALENDAR PLUS SETTINGS and make the table hidden
b. Create a text field called “EVENTES TABLE NAME”
c. Now create a new form view named “Calendar Plus Settings”
d. create a new record, making sure this is the only record in the table
e. Delete the (all) view
f. Enter “CALENDAR PLUS ENTRIES” in the “EVENTS TABLE NAME” field

Part 3

Renaming the Calendar Plus Entries Table

1. In the CALENDAR PLUS ENTRIES table, change the table name to the new table name
2. In the CALENDAR PLUS SETTINGS table, change the value of EVENTS TABLE NAME to the new table name

Customizing the Fields in the Calendar Plus Entries Table

1. Dynamic fields (labeled with a (D) at the end of the field name) can be customized by:

a. Renaming the fields
b. Deleting the fields
c. Adding any number of fields of the same field type

2. Non Required fields can be deleted if not needed. Required fields are: START DATE, END DATE, START TIME, END TIME, CPEDATA, and DESCRIPTION

en_USEN