Try our conversational search powered by Generative AI!

How to display a editpanel plugin on only one pagetype

Im trying to create a editpanel plugin and only want to display it on one page type. The same way as the EPiServer Form Data plugin works. How do i do this? /Peter Ragndahl
May 06, 2005 10:21
You can see the source for the Form Data plugin in the SDK, under source\EPiServer\edit\formpostings.ascx.cs. However, the code for the forms plugin do not test for a spesific page type, but rather the presence of any properties of type PropertyForm. You could test CurrentPage.PageTypeID or PageTypeName instead. Steve
May 06, 2005 13:57
It works great. Thanks!
May 09, 2005 15:26
* 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.