Converting Custom Forms from ALVAO 8.2 and Older
When upgrading from ALVAO 8.2 or older versions, it is necessary to edit the existing custom new request forms. Follow these steps to edit the .cshtml files of the forms:
- At the beginning of the file, set the Layout variable to
Layout = "~/Views/Shared/_NewTicketCustomFormLayout.cshtml";
- Delete the row "
@Html.DisplayFor(m => m["HdSection1"], "Section") " if used on the page.
- Delete the row "
@Html.Partial("_NewsAndKnowledgeBaseFAQ", Model.FAQModelWrapper, new ViewDataDictionary(){}) " if used on the page.
- Move the page title to the end of the file and envelope it with the section
CustomHeading . Example:@section CustomHeading { <h1>Form title</h1> }
- Change the class of the external div element from "col-md-8 col-sm-8 no-col-padding" to "col-md-12 no-col-padding form-col".
- Change the row "
@section scripts " to "@section customScripts " if used on the page.
Did not find what you were looking for? Ask our technical support team.
|