-
Notifications
You must be signed in to change notification settings - Fork 2
Converting Forms
Next step is to convert the Online Forms. The upgrade tool will stop the upgrade if it detects any portal engine Online Forms, so they must be converted over.
The Upgrade Operations -> UI is pretty simple, and just provides a way to determine the Component code name for the elements used on the Forms. You can add in missing Component Names as you wish and create them later.
The Default Form Components in the UI matches attempts to match the Default Kentico provided form components where provided, but it uses the ClassName, not the identifier (ex "DropDownComponent" instead of "Kentico.DropDown")
There is also a bug where it seems to be adding a new line character and carriage return to the identifier, which invalidates it.
To fix, run the following SQL script after conversion:
update CMS_CLass set ClassFormDefinition = REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( Replace(ClassFormDefinition, 'CheckBoxComponent', 'Kentico.CheckBox'), 'ConsentAgreementComponent','Kentico.ConsentAgreement'), 'DropDownComponent','"Kentico.DropDown'), 'EmailInputComponent','Kentico.EmailInput'), 'FileUploaderComponent','Kentico.FileUploader'), 'MultipleChoiceComponent','Kentico.MultipleChoice'), 'IntInputComponent','Kentico.IntInput'), 'RadioButtonsComponent','Kentico.RadioButtons'), 'RecaptchaComponent','Kentico.Recaptcha'), 'TextAreaComponent','Kentico.TextArea'), 'TextInputComponent','Kentico.TextInput'), 'USPhoneComponent','Kentico.USPhone'), CHAR(13)+char(10)+'', '') where ClassName like '%BizForm.%'
Introduction
- Tips & Tricks
-
General Processes
- Cleaning up Site Prior to Split
- Cleaning up Site After Split (Workflow/Page Types)
- Go through Template Configuration
- Go through Section Configuration
- Go through Widget Configurations
- Checking Conversions
- Converting Page Types
- Converting Forms
- Final Database operations
- Preserving Navigation Redirects
- Upgrade Procedure