Difference between revisions of "Delete Redirect Template"
(Created page with 'The Delete Redirect Template allows users to customize the landing page after an entity has been deleted. This include UTA level 1s, 2s and 3s, as well as company and contact …') |
(Deleted details around formatting with HTML as no longer appropriate) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | __TOC__ | |
− | This | + | The ''Delete Redirect Template'' allows users to personalize the landing page after an entity has been deleted. |
+ | |||
+ | This includes deletion of {{UTA}} {{l1}}s, {{l2}}s and {{l3}}s, as well as [[organization|company]] and [[contact]] records. | ||
The deletion must occur from within the record itself, using the Delete button, rather than from a list view. | The deletion must occur from within the record itself, using the Delete button, rather than from a list view. | ||
+ | |||
+ | ==Default Messages== | ||
+ | If there is no Delete Redirect Template defined then the system provide default messages specific to each [[Entity|entity]] as follows .. . | ||
+ | |||
+ | * ''Company'': You have successfully deleted [ Company Name] | ||
+ | * ''User'': You have successfully deleted [First / Last Name] | ||
+ | * ''Level 1'': You have successfully deleted - ( [ [[Terminology Settings|UTA settings > General > Level 1 Name]] ] ) [Deleted Application Name] | ||
+ | * ''Level 2'': You have successfully deleted - ( [ [[Terminology Settings|UTA settings > General > Level 2 Name]] ] ) [Deleted Activity Name] | ||
+ | * ''Level 3'': You have successfully deleted - ( [ [[Terminology Settings|UTA settings > General > Level 3 Name]] ] ) [Deleted Sub-Activity Name] | ||
+ | |||
==Delete Redirect field== | ==Delete Redirect field== | ||
− | Enter the text in the Delete Redirect field and click Save. | + | Enter the text in the Delete Redirect field and click Save.<br/> |
− | [[Image:DeleteRedirect1.png]] | + | [[Image:DeleteRedirect1.png|border]] |
− | Once you delete one of the corresponding entities (e.g. delete a | + | Once you delete one of the corresponding entities (e.g., delete a {{l1}} record), it will check that the Delete Redirect Template is populated and, if so, it will display whatever you have in the template.<br/> |
− | [[Image:DeleteRedirect2.png]] | + | [[Image:DeleteRedirect2.png|border]] |
==Using Variables== | ==Using Variables== | ||
− | The template will also run through the variable processor, so you can reference variables based on the deleted object or anything attached to it including the parent. | + | The template will also run through the [[variable processor]], so you can reference [[variables]] based on the deleted object or anything attached to it, including the parent. |
+ | |||
+ | Enter the text, including the variable references, in the Delete Redirect field and click Save. In the example below the name of the deleted record will be included in the message. <br/> | ||
+ | [[Image:DeleteRedirect3.png|border]] | ||
+ | |||
+ | Once you delete one of the corresponding entities (e.g., delete a {{l1}} record), it will check that the Delete Redirect Template is populated and, if so, it will be processed via the variable processor and display the text and the variable value in the template.<br/> | ||
+ | [[Image:DeleteRedirect4.png|border]] | ||
+ | |||
+ | |||
+ | |||
+ | ==Conditional message== | ||
+ | If you need to show different content based on a value within the record (e.g. [[status]], [[template]] type, [[organization category]]), or based on the current user's [[role]], you can use [[sslogic]]. | ||
+ | |||
+ | Enter the text, including the sslogic, in the Delete Redirect field and click Save. In the example below the first message is displayed when the Template type is "Contract," and the second message displayed in all other cases. <br/> | ||
+ | [[Image:DeleteRedirect7.png|border]] | ||
− | + | Once you delete one of the corresponding entities (e.g., delete a {{l1}} record), it will check that the Delete Redirect Template is populated and, if so, it will display the text including the appropriate message based on the validation within the sslogic.<br/> | |
− | [[Image: | + | [[Image:DeleteRedirect8.png|border]] |
− | |||
− | |||
− | |||
− | |||
− | + | ==See Also== | |
− | [[ | + | * [[Company & Account Settings]] |
+ | * [[User & Contact Settings]] | ||
+ | * [[UTA Settings - Entity]] | ||
− | + | [[Category:Global Settings]] [[Category:UTA Settings]] | |
− | [[ |
Latest revision as of 11:33, 19 January 2018
Contents
The Delete Redirect Template allows users to personalize the landing page after an entity has been deleted.
This includes deletion of Level 1s, Level 2s and Level 3s, as well as company and contact records.
The deletion must occur from within the record itself, using the Delete button, rather than from a list view.
Default Messages
If there is no Delete Redirect Template defined then the system provide default messages specific to each entity as follows .. .
- Company: You have successfully deleted [ Company Name]
- User: You have successfully deleted [First / Last Name]
- Level 1: You have successfully deleted - ( [ UTA settings > General > Level 1 Name ] ) [Deleted Application Name]
- Level 2: You have successfully deleted - ( [ UTA settings > General > Level 2 Name ] ) [Deleted Activity Name]
- Level 3: You have successfully deleted - ( [ UTA settings > General > Level 3 Name ] ) [Deleted Sub-Activity Name]
Delete Redirect field
Enter the text in the Delete Redirect field and click Save.
Once you delete one of the corresponding entities (e.g., delete a Level 1 record), it will check that the Delete Redirect Template is populated and, if so, it will display whatever you have in the template.
Using Variables
The template will also run through the variable processor, so you can reference variables based on the deleted object or anything attached to it, including the parent.
Enter the text, including the variable references, in the Delete Redirect field and click Save. In the example below the name of the deleted record will be included in the message.
Once you delete one of the corresponding entities (e.g., delete a Level 1 record), it will check that the Delete Redirect Template is populated and, if so, it will be processed via the variable processor and display the text and the variable value in the template.
Conditional message
If you need to show different content based on a value within the record (e.g. status, template type, organization category), or based on the current user's role, you can use sslogic.
Enter the text, including the sslogic, in the Delete Redirect field and click Save. In the example below the first message is displayed when the Template type is "Contract," and the second message displayed in all other cases.
Once you delete one of the corresponding entities (e.g., delete a Level 1 record), it will check that the Delete Redirect Template is populated and, if so, it will display the text including the appropriate message based on the validation within the sslogic.