0

We have installed WFFM on a Content delivery server and we were following the official documentation the Sitecore website. After installation we saw that the index.cshtml was not deployed in the views folder on the Content delivery server.

We checked the installation package for the CD role and found out the index.cshtml was not in the package also.

The package we are using is: Web Forms for Marketers 9.0 rev. 171209_cd.scwdp

How to fix the issue of the missing index.cshtml?

6
  • How did you install the WFFM module? Did you use the module zip package or the wdp files for Azure AppService?
    – jammykam
    Aug 22, 2018 at 14:21
  • I vaguely remember seeing this when installing using the zip package. If I am not mistaken, we copied the v8.2 index.cshtml file and used it which worked well. Did you give this method a try? Aug 22, 2018 at 19:27
  • @jammykam added the package name in the description (Web Forms for Marketers 9.0 rev. 171209_cd.scwdp) Aug 23, 2018 at 5:10
  • @navneet pisharodi, we thought of such solution but it would be a work-around for the real issue. Aug 23, 2018 at 5:16
  • And to confirm, you are running your CD servers on Azure PaaS?
    – jammykam
    Aug 23, 2018 at 11:37

1 Answer 1

1

This is an error with the Azure wdp packages that are available for download from the Sitecore Developer site.

If you open up the downloaded zip, e.g. Packages for XM Scaled.zip, and inspect the contents using an application such as 7-zip you will notice that the Content\Website\Views\Form folder is empty and contains no files:

WFFM CD wdp

For the exact same version of WFFM, if you check the cswdp.zip package for the CM instance then you will see that the Views exists as would expect.

WFFM CM wdp

To resolve the error, you can repacked the CD wdp with the missing files (you should be able to replace the entire Content folder) and use that for your deployments.

You should also raise this issue with Sitecore Support to fix since the original packages have been generated incorrectly.

2
  • Can you confirm this is an error, is there any information available from the side of sitecore? Aug 24, 2018 at 13:40
  • 1
    This is the error, but I don't have anything official from Sitecore I'm afraid, which is why I suggested raising a Support ticket. If you read the installation guide (which i grant is for the regular zip) then that also talks about extracting/copying all the files from the Files folder to Website
    – jammykam
    Aug 24, 2018 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.