How to Set and Get Value on RichText Control

var controlName = “richtext1";
appStudioWizard.setControlValue(controlName, "<h2>Can set the value.</h2>");

var controlValue = appStudioWizard.getControlValue(controlName);
appStudioWizard.showSuccessMessage(controlValue);
//Control Value: <h2>Can set the value.</h2>