Changes

Delete Redirect Template

1,392 bytes added, 16:33, 19 January 2018
Deleted details around formatting with HTML as no longer appropriate
The Delete Redirect Template allows users to customize the landing page after an entity has been deleted. __TOC__
The ''Delete Redirect Template'' allows users to personalize the landing page after an entity has been deleted.  This includes deletion of {{UTA level 1s}} {{l1}}s, 2s {{l2}}s and 3s{{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.
 
==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==
Enter the text in the Delete Redirect field and click Save.<br/>
[[Image:DeleteRedirect1.png|border]]
Once you delete one of the corresponding entities (e.g. , delete a level one {{l1}} record) , it will check that the Delete Redirect Template is populated and, if so, then it will use display whatever you have in the template.<br/>[[Image:DeleteRedirect2.png|border]]
==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. <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]]   ==Using VariablesConditional message==The template will also run through the variable processor, so If you can reference variables need to show different content based on a value within the deleted object record (e.g. [[status]], [[template]] type, [[organization category]]), or anything attached to it including based on the parentcurrent user's [[role]], you can use [[sslogic]].
Enter the text, including the variable referencessslogic, 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:DeleteRedirect3DeleteRedirect7.png|border]]
Once you delete one of the corresponding entities (e.g. , delete a level one {{l1}} record) , it will check that the Delete Redirect Template is populated and, if so, then it will be processed via the variable processor and display the text and including the appropriate message based on the variable value in validation within the templatesslogic.<br/>[[Image:DeleteRedirect4DeleteRedirect8.png|border]]
==Using formatting==
The template will also allow for formatting using HTML.
Enter the text, including the HTML, in the Delete Redirect field and click Save.<br/>==See Also==* [[Image:DeleteRedirect5.pngCompany & Account Settings]]* [[User & Contact Settings]]* [[UTA Settings - Entity]]
Once you delete one of the corresponding entities (e.g. delete a level one record) it will check that the Delete Redirect Template is populated and, if so, then it will display the text including any HTML formatting.<br/>[[ImageCategory:DeleteRedirect6.pngGlobal Settings]] [[Category:UTA Settings]]
Smartstaff, administrator
4,478
edits