Dynamic blocks: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
Line 5: Line 5:
|description=Dynamic blocks
|description=Dynamic blocks
}}
}}
'''Dynamic blocks''' are special blocks in task descriptions with variables and formulas that are calculated each time a task is opened. You can use dynamic blocks to display values of:
'''Dynamic blocks''' are special blocks in [[Main task information |task descriptions]] with variables and formulas that are calculated each time a task is opened. You can use dynamic blocks to display values of:
*variables;
*formulas using time;
*formulas that refer to long chains of Planfix objects that frequently change;
*counterparty or project fields.


variables
formulas using time
formulas that refer to long chains of Planfix objects that frequently change
counterparty or project fields
Dynamic blocks can be added to task descriptions when editing or creating a task:
Dynamic blocks can be added to task descriptions when editing or creating a task:


Line 20: Line 20:
   
   


Dynamic block settings
== Dynamic block settings ==
*Click the three dots in curly brackets to add a variable or formula to the block:
<screenshot>


Click the three dots in curly brackets to add a variable or formula to the block:
*Here you can also select [[Calculated task fields| the type of result]] you'd like to see and the background color it will be displayed on.
<screenshot>
<screenshot>
Here you can also select the type of result you'd like to see and the background color it will be displayed on.
   
   
 
*Generate a variable:
Generate a variable:
<screenshot>
<screenshot>


   
   
 
*Or create a formula using variables:
Or create a formula using variables:
<screenshot>
<screenshot>


Line 41: Line 38:


<screenshot>
<screenshot>


To edit a dynamic block, click the three dots.
To edit a dynamic block, click the three dots.
Line 49: Line 45:
<screenshot>
<screenshot>




Important


Only variables and formulas without text can be added to dynamic blocks.
== Important ==
Dynamic blocks help in cases where calculated fields can't get the job done.
*Only variables and formulas without text can be added to dynamic blocks.
*Dynamic blocks help in cases where calculated fields can't get the job done.
   
   


More
== Go To ==
 
*[[Main task information]]
Planfix blog: Dynamic blocks in task descriptions
*[[Tasks]]
*[[Feature Description]]

Revision as of 07:44, 13 July 2023

Dynamic blocks are special blocks in task descriptions with variables and formulas that are calculated each time a task is opened. You can use dynamic blocks to display values of:

  • variables;
  • formulas using time;
  • formulas that refer to long chains of Planfix objects that frequently change;
  • counterparty or project fields.

Dynamic blocks can be added to task descriptions when editing or creating a task:

<screenshot>


Dynamic blocks can also be added to task templates.


Dynamic block settings

  • Click the three dots in curly brackets to add a variable or formula to the block:

<screenshot>

  • Here you can also select the type of result you'd like to see and the background color it will be displayed on.

<screenshot>

  • Generate a variable:

<screenshot>


  • Or create a formula using variables:

<screenshot>


Here's how a dynamic block would be displayed in a table when editing a task description:

<screenshot>

To edit a dynamic block, click the three dots.

When you open a task, the data in any dynamic blocks in it are recalculated, and the result is shown:

<screenshot>


Important

  • Only variables and formulas without text can be added to dynamic blocks.
  • Dynamic blocks help in cases where calculated fields can't get the job done.


Go To