Cannot open Hardware Asset Form after Portalupgrade to 8.2.1.2012
A Default template is required. When creating a JSON template for HarwareAsset you must add a template with the key of Default. This is used for fallback if a specific template is not found.
Could anyone plaese help....
Regards Margret
Best Answer
-
john_doyle Cireson Support Ninja IT Monkey ✭✭✭✭Hi @Margarete_Jussen
We changed the Asset Management forms in the most recent versions to bring them into line with the work item form. Edit your custom form and add these two lines to the beginning:{<br> "Default":
and then add a closing curly brace at the end. Save the file and it should load without issue.
Alternatively you could back up the custom copy of the HardwareAsset.js file from the CustomSpace folder, and then replace that file with a new copy from the Scripts\forms\templates folder.
Once you have copied the new version of the template to the CustomSpace folder you can edit it and replace the content of the "Default" section with the custom definitions from your original custom form.
5
Answers
We changed the Asset Management forms in the most recent versions to bring them into line with the work item form. Edit your custom form and add these two lines to the beginning:
and then add a closing curly brace at the end. Save the file and it should load without issue.
Alternatively you could back up the custom copy of the HardwareAsset.js file from the CustomSpace folder, and then replace that file with a new copy from the Scripts\forms\templates folder.
Once you have copied the new version of the template to the CustomSpace folder you can edit it and replace the content of the "Default" section with the custom definitions from your original custom form.