Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > CMSVirtualFiles stored in source control ... template file gone missing View modes: 
User avatar
Member
Member
JAA - 2/11/2014 3:51:38 PM
   
CMSVirtualFiles stored in source control ... template file gone missing
Page templates are stored in source control. When I created a new page template via CMSDesk, I did not check-in the page template via source control. A new build was deployed on top and the template file is gone.

When I logged into CMSDesk it told me the Virtual file was missing. However, I was able to create a new Page utilizing this page template. All seems to be good now.

The issue I am having now is that I cant find the page template virtual file on disk. I have tried checking it out, making changes, checking it in, etc. All of those commands work, but I cant seem to find the file anywhere in "Kentico\CMSVirtualFiles".

Is there something I am missing?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 2/11/2014 6:13:03 PM
   
RE:CMSVirtualFiles stored in source control ... template file gone missing
Unless you specifically turn on the feature to store all virtual files in the file system, you won't find them in the file system. You can turn this on in CMS Site Manager>Administration>System>Virtual Objects.

User avatar
Member
Member
JAA - 2/12/2014 7:55:54 AM
   
RE:CMSVirtualFiles stored in source control ... template file gone missing
FroggEye wrote: Unless you specifically turn on the feature to store all virtual files in the file system, you won't find them in the file system. You can turn this on in CMS Site Manager>Administration>System>Virtual Objects.

Sorry I wasnt clear, but yes we have configured storing all objects except CSS stylesheets in source control.

My issue is that I believe its configured for Page Template Layouts to be stored in source control, but I dont see the page template being written to disk

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 2/12/2014 7:48:01 PM
   
RE:CMSVirtualFiles stored in source control ... template file gone missing
The best thing to do then is turn on check in/out feature in team development in the Settings. This way you are required to check out the current version from the database, then it writes it to the disk, then you edit in your editor, save it and check it back in through the UI.

User avatar
Member
Member
JAA - 2/13/2014 8:33:48 AM
   
RE:CMSVirtualFiles stored in source control ... template file gone missing
FroggEye wrote: The best thing to do then is turn on check in/out feature in team development in the Settings. This way you are required to check out the current version from the database, then it writes it to the disk, then you edit in your editor, save it and check it back in through the UI.

I ended up finding it when I cloned it as a new one. Both files showed up on my local disk. I am all set now.