Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Page Type

Vote:
 

Hi,

Is it possible to create a PageType without background aspx page. Pagetype without fileName.But available in Edit Mode.

#44915
Oct 20, 2010 16:10
Vote:
 

You could before, but nowadays you have to provide an .aspx-page. BUT, the .aspx-file does not need to exist.

Otherwise you could create a "/Templates/Pages/Empty.aspx" and use that one.

#44916
Oct 20, 2010 16:24
Vote:
 

Erik is right -- you have to input it, but it doesn't have to exist.  But then it throws a 404.

We usually create an ASPX file called "null.aspx" which does...nothing ("blank.aspx" would probably be a better name).  It displays nothing but a blank screen.  We map a handful of types to this if they have no reason to display anything.

#44919
Oct 20, 2010 17:51
Vote:
 

Beware that you probably have input a valid, albeit non-existent, path. A colleague accidently pasted a string containing more text than the path, and when saved the page type could no longer be opened to edit the path again. I think he later removed it from the database directly. The string he accidently pasted caused some unhandled exception when the VPP tried to resolve it to a physical path.

#44921
Oct 20, 2010 18:19
Vote:
 

Hi,

Thanks for the reply...............:)

#44929
Oct 21, 2010 12:04
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.