Changes

Jump to: navigation, search

Advanced Custom Fields

102 bytes added, 17:54, 10 September 2018
no edit summary
{{ Banner-UnderConstruction }}
 
==Overview==
In this article, <!--you will add some additional [[Custom Fields|custom fields]] to the employee -->you will learn about adding [[Custom Fields|custom fields]] to a [[Role|role]]. The types of fields are widely used within [[SmartSimple]] and provide for versatile processing options.
* '''Calculated Field''' – Executes an expression to calculate a value and store the result in the field.
* '''Web Page View Field''' – Creates a document based on values stored in the underlying [[Entity|entity]] or entities.* '''Multiple Document Files Storage Field''' – Stores a document either created through the [[Custom Field Type: Display Only – Web Page View|Web Page View]] field or uploaded.
==Calculated Field==
* Calculated field formulas are executed in the same order that the calculated fields are displayed on the page – left to right and top to bottom.
* You must not place fields that perform summary calculations based on other calculated fields ABOVE the subordinate calculations.
* If the fields are ordered in this manner , saving the page will not update the summary calculation, as summary formula will be executed BEFORE the subordinate calculations are performed.
===Arithmetic Operators===
All values are treated as strings. For arithmetic operations, the PARSEINT and PARSEFLOAT function functions are used to convert the string value to a numeric value.
For example:
1. Add a [[Custom Field]] Type named '''Total Compensation''' to the '''Compensation''' tab.
2. Set the '''Field Type''' to '''Computed - Calculated Value'''.
3. Add the following formula:
==Web Page View Field==
The [[Custom Field Type: Display Only – Web Page View|Web Page View]] field provides the ability to display a fully formatted document or web page. In constructing this type of field , HTML is used in conjunction with the following variables.
In this example you will create a simple letter of offer , displaying the employee’s name and address plus details of their compensation.
1. Edit the '''Letter of Offer''' field – currently set to a '''Link Single File''' field.
==Using the Link – Multiple Files Field==
The final [[Custom Fields|custom field]] type will be the '''Multiple Files Storage Field'''. This field stores multiple files into a single field and is used to store:
* Uploaded documents.
2. Set the '''Display Order''' to '''95''' to ensure the field appears in the correct location.
3. Set the field type to '''Link – Multiple FilesStorage'''.
[[Image:Advs13.png]]
===Multiple Files Storage Field Options===
The following options are available for this field type:
Smartstaff, administrator
421
edits

Navigation menu