Page 1 of 1

Page 'Edit Mode' .... Where are these stored?

Posted: Thu Apr 17, 2008 6:04 pm
by jhonrath
I'm confused trying to figure out where something is stored.

If you log in as an administrator, and then browse the 'store' there is a drop down at the bottom.

If you change the mode to 'Edit Page' you can then modify the Active layout, or the contents of a layout part.

Where is thta information stored? The selections themselves? Is a file in the file system updated, or is the database updated?

I can't seem to find this answer and I apologize if it was already on the board, but I cannot find it.

Thanks!

Re: Page 'Edit Mode' .... Where are these stored?

Posted: Fri Apr 18, 2008 1:41 am
by m_plugables
The customized information is placed in the App_Data\Scriptlets\Custom folder.
This folder has same directory structure like the App_Data\Scriptlets\Default folder.
The Default folder contains the standard script lets bundled with AC7.
For every thing you edited like contents etc, the customized version will be placed under the Custom folder in same directory structure as in the Default folder

Re: Page 'Edit Mode' .... Where are these stored?

Posted: Fri Apr 18, 2008 9:52 am
by AbleMods
So where are the settings for the page itself stored? For example, if I set the "Content" dropdown to "Home Page", where is that information stored? Not the scriptlet "Home Page", but the fact the dropdown is set to "Home Page"....

I couldn't find anything in the tables, but it has to be stored somewhere. Wouldn't make sense to store it as file, so it's gotta be in the tables somewhere....... :?:

Re: Page 'Edit Mode' .... Where are these stored?

Posted: Fri Apr 18, 2008 10:15 am
by Logan Rhodehamel
To store that information we use an ASP.NET feature called "Personalization". If you are really interested in some details, this is an MSDN page on the subject:

http://msdn2.microsoft.com/en-us/library/z36h8be9.aspx

We have adapted the feature to our needs. The data itself is stored in ac_SharedPersonalization table. There is also a table called ac_UserPersonalization where user specific page data can be stored. In a future version, I expect to use this table to implement a preview feature so the admin can work on a page in a private context before actually publishing it.

Re: Page 'Edit Mode' .... Where are these stored?

Posted: Fri Apr 18, 2008 10:28 am
by AbleMods
...wondered if that <binary data> storage was the mythical dragon I sought.

Re: Page 'Edit Mode' .... Where are these stored?

Posted: Sat Apr 19, 2008 10:36 pm
by jhonrath
So, here is why I'm asking. We are making a very custom version of able for our clients.

And, as part of the build, we'll be doing a 'default' build. The reason for this, is we''ll have some custom data geared toward our customers, and we want all of the pages set up a very specific way, so I need to capture those particular settings, and implement them into the setup script.

If they are indeed in those tables, in that field that is binary data, is there a way I can capture that, and restore it in a setup script or someting?

Amd I overlooking someting?

I'll read that MSDN article to start off with!

Thanks!

Re: Page 'Edit Mode' .... Where are these stored?

Posted: Sun Apr 20, 2008 11:52 am
by Logan Rhodehamel
I believe you could export the data in the tables from ac_SharedPersonalization and then import it into the install of your choice. You will have to also bring over the related table ac_PersonalizationPaths. The tables for ac_UserPersonalization would mainly apply to the admin dashboard, and it's not as easily portable unless you also import the user accounts.