Try our conversational search powered by Generative AI!

How to create a package in EPIServer to make it deployable in client side

Vote:
 

Hi All,

I have written a code in EPIServer for creating a pagetype from code . Now I want to deploy it in client side with the help of package like things. For this the client prefer .episerverdata file . Now my question is that how to build that file and how to use that file in the client side.

Please help I am very new in this EPIServer world.

Thanks

Utpal Maity

#82934
Mar 21, 2014 14:30
Vote:
 

Hi!

I assume that you're using PageTypeBuilder to create your PageType from code since you posted in the EPiServer 6 forum. Normally what you would do is deploy your new code to the server, switch the <pageTypeBuilder disablePageTypeUpdation="true" /> flag from true to false in your web.config, and make a request to the site. This will make PageTypeBuilder write the new PageType to the EPiServer database. When that is done, switch the flag back to true to avoid unwanted updation being triggered.

The .episerverdata files are export files (actually compressed zip archives containing a bunch of xml and so forth) created in EPiServer admin mode; Admin mode ==> Admin-tab ==> Tools-section ==> Export Data ==> Export page types. However, if you have created a page type in your own environment through code, exported it this way and then send the episerverdata file to the client, they will not have your code to go with it; which may cause complications.

Hope things are a bit clearer with this answer.

Have a good weekend!

Mathias

#82953
Mar 22, 2014 0:12
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.