Try our conversational search powered by Generative AI!

How to create the first page? All options grayed out, and "new item" missing.

Vote:
 

I could not find any tutorials, but I have tried following the "gettings sarted" documenation section, which has a "create starter project" guide. I cant link to it, as this forum page always crashes when I submit the page with the link.

I created a blank project, and now I need to create a page.  The above article says:

  1. In Visual Studio, go to the Models folder, and right-click on Pages.
  2. Select Add > New Item, then Episerver and Page Type. 

The problem is under add there is no "New Item". There is only:

  •   Controller (Greyed out)
  •   Existing Item (greyed out)
  •   New scaffolded item (greyed out)
  •   New folder (greyed out)
  •   Add ASP.net folder
  •   REST api client
  •   Client side library
  •   New Azure wep project
  •   Existing project as Azure web job
  •   Class (greyed out).

Any idea how I create a new page?

NOTE: I cant access the /episerver CMS ui, as I dont know the login.

#209279
Edited, Nov 13, 2019 9:44
Vote:
 
#209285
Nov 13, 2019 10:06
johnv - Nov 13, 2019 10:25
Hi, same problem, there is no "new item" under add.
Ravindra S. Rathore - Nov 13, 2019 10:27
I think because you have one item so it is not giving option of pages
Ravindra S. Rathore - Nov 13, 2019 10:27
Can you please share the screenshots
Vote:
 

OK, I have found a solution. I created a new episerver empty project, the same as I did before, and this project does have the new item option. No idea why the last one I created in the same way was missing the option.  Both projects "run" an episerver site.

#209292
Edited, Nov 13, 2019 10:30
Ravindra S. Rathore - Nov 13, 2019 11:08
might be something missing in the first project creation
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.