Load script
Time to complete: 2 minutes
Existing data model
To ensure that the storing of data works smooth it is good practice to wrap your existing data model load into the following if statement.
<Existing data model load script>
Just insert it at the very beginning of your data load and in the end. You can have as many script sections included between the then
and end if
statements as you like.
If you use the autoCalender script you need to have this sit outside the "if not ispartialreload() section". e.g. starting after the "End if" in line 9 in the example above.
Adding Komment fields
Before you start configuring Komment in the User Interface you need to define if any new fields are to be used as an editable field.
Still in the load script:
Find an existing data table for which you want your Komment fields to be related to.
Add new lines for each of these fields using the following notation
null() as Comment
Reload the application after you've added the needed fields.
If you have all the fields you need in your current data e.g. if you want to be able to edit the Severity field and this is already in your data - just load it as you'd normally would.
You can also set a default value instead of Null(). E.g. for a status field you could insert 'Pending' as Status
Last updated