Changes to avoid server call for rendering preview of form in CSD