Documentation > Word Export Plugin > Create a Custom Property
Create a Custom Property
Introduction.
This Walkthrough will guide you through the process of creating your own properties.
This is necessarily if you for example want to create a bill with a price based on the total number of hours you worked.
walkthrough
- Go to the word configuration.
- Click on the “Custom Properties” button(6) in the Word Configuration Window.
- Click in the Custom Property Window on one of the following buttons :
Custom Property Window
- Edit task custom properties
- Edit Task Category Custom Properties
- Edit Project Custom Properties
- Edit General Custom Properties
Goes to the task position.
Goes to the task category position.
Goes to the project position.
Goes to the general position.
- Click add(2) in the Custom Properties Window
- Fill in the following variables in the Custom Property Window:
Custom Property Window
- Display name
- Display type, Choose here one off the following types how the final value of this property is displayed in the word document:
- default
- hourmin
- currency
The variable is displayed as plain text.
Displays the value in a format “hh:mm”. where “hh” eqauls the number of hours en “mm” the number of minutes. The value is a value in minutes so if the value is 70 it’s displayed as “1:10”.
Displays the value as a number with a precision of 2.
- command name
- Select the type that this property is, currently there are 3 types:
- integer
- double
- calculation
A whole number.
A number with a precision of 15 digits
A calculation, currently the following operations are possible Plus(+),Minus(-), Multiplication (*) and Division(/).
- value
The name of the property , this value will be displayed at the top of a table and thorough out the configuration.
The name that you have to use in a word template or table to indicate that this property value must be displayed at that position.
the value to put in your display. If the calculation type is used this is the place where the formula should be placed. For Example “( #tasktimespend# * 3)”. Look here for a list of the standard variables you can use in your calculation.
- press “Ok”, now your newly created Custom property is visible in the Custom Property List.
Path to the word configuration.
Word Configuration Window
Click here to to learn more about the hierarchical structure and where to add a property.
Custom Properties Window