9

There's a hotfix for that... (this is fixed in SP1). If you're on SQL Server (I think with Oracle it is exactly the same fix), run this on the preview database: IGNORE THIS, SEE UPDATE 2 UPDATE Now that I think of it... run this on all your Content Delivery Databases... UPDATE 2 Fixed with cumulative hotfix CD_2013.0.0.86156


9

Session Preview works off the Session Preview Broker DB and inherently through the Session Preview Odata service. Despite your "code" components being regular CPs on a regular statically published page, when in Session Preview mode pages and CPs go to the session preview broker db and get served up via odata. So you should check the mime type settings of ...


7

This should happen automatically if the staging site's app pool identity is setup correctly. In IIS you need to set the app pool identity to NETWORK SERVICE, and then give NETWORK SERVICE file system permissions to write and delete. Assumes a dotnet implementation of XM but same concept applies for a jsp/Tomcat setup.


6

Both sites will need the Wrapper element in their cd_storage_conf.xml I believe. Albert wrote a great guide to help here: http://albertromkes.com/2013/01/24/troubleshooting-the-sdl-tridion-experience-manager-with-session-preview/ The reason for it is something along the lines of both applications need to know the location of the session preview database, ...


6

The preview cartridge (cd_preview_ambient.jar) manages your sessions -- ensuring that you have a valid token that hasn't expired, creating a new sessions as necessary, etc. The footprint cartridge just adds some standard claims about the session. I think this one is mostly there for backwards-compatibility and to provide some claims out-of-the-box for the ...


6

If you are certain that your dynamic preview content is deployed to your preview database (and your list of steps suggests that you are) you will want to focus on the configuration of your staging web application: wrapper and storage dao bundle configuration in cd_storage_conf cartridges in cd_ambient_conf preview and ambientdata filter in web.xml You will ...


5

From your link to the docs, you are using Tridion 2011 SP1. There was a hotfix that addressed this issue and it should be part of the Hotfix Rollup 2 release.


5

You will need to configure the path to your site in the cd_dynamic_conf.xml file of your website. <Publication Id="99"> <Host Domain="your-website.com" Port="80" Protocol="http" Path="/jp/ja" /> </Publication> There is an excellent question on this by Dominic here: What contribution does cd_dynamic_conf make to the workings of ...


5

Here is the answer of the steps Experience Manager goes through so that you get a better idea of which modules to troubleshoot: https://stackoverflow.com/a/10802033/1284894. The issue is usually due to a bad configuration of the Ambient Data Framework including the Request Filter and cd_ambient_conf.xml, or the cd_storage_conf.xml files on either the ...


5

As mentioned, yes, you do need the wrapper on both stacks, and here's the why. If you look at the data flow (see the diagram at the bottom of this post), after you commit changes, the Content Manager will package and send the updates to the Content Delivery Web Service. The WebService will understand that this is temporary data, and store it in the database ...


5

On your first question I'm unsure, a resolver is called on publishing, but I'm unaware if a resolver is also called by the Session Preview/Fast Track Publishing indeed. That would be worth a test I'd say. However your second question I can confirm, once you edit your DCP in XPM, its changes will already be published automatically once you check the ...


5

Yes, you can configure how long these files remain in your webserver's file system, and it is the same setting. If you are not seeing these files being removed it means that you forgot to set some cartridges in cd_ambient_conf.xml: <Cartridges> <Cartridge File="cd_webservice_preview_cartridge.xml" /> <Cartridge File="...


5

Your question is: Is there some setting that we am missing which would overcome the above scenario? The answer to that simply is: Yes you missed setting up Session Preview, i.e. you deliberately disabled it for whatever reason. Without a working Session Preview, you will not see the up to date content on a Page after its content has been changed, ...


4

In the 2013 Broker database there should be a table PUBLICATION_MAPPINGS, so maybe you don't have the correct Broker database? Check the TDS_DB_INFO table, that should have one record with the following data: DB_VERSIONDESCRIPTION                   INSTALLATION_TYPE             &...


4

You can have both in the same application. However you will need to configure both the CD Web Service (including session preview settings) and the application (including session preview settings). You can find all of it documented here: Adding the Experience Manager Web site extension to a JSP Web site.


4

You can also verify the configs setting from below link for website, session webservice. https://code.google.com/p/kickstart-tridion-environment/source/browse/#svn%2FCreateAnEnvironmentForMe%2FCreateAnEnvironmentForMe%2FConfigSamples%253Fstate%253Dclosed after verifying config, please also verify the JAR files using following link http://docs.sdl.com/...


4

Yes, and that's why in your cd_storage_conf.xml you'll find a section for the "WrapperDB". This is where you store the credentials for the session preview database. <Wrappers> <Wrapper Name="SessionWrapper"> <Storage Type="persistence" Id="sessionDb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory"> ...


3

This is how XPM works in a non-dd4t environment; it tries to push a file with random filename in the weboot and uses a filter to redirect the user there. In a dd4t situation, you simply don't use the servlet filter prescribed by XPM. Instead, in your front controller, you check the taf:session:preview:preview_session token in the ambient data store; if that'...


3

It was actually a DNS issue: the CM could not reach the session preview webservice because the host name could not be resolved. Once we fixed that and restarted the CM, the session preview cookie showed up in our web app.


3

Though it might work, it was designed (and tested) to be used with separate webapps. The only worry I have is in the storage config, not 100% sure how the system will cope with it.


3

The way XPM figures out the destination for publishing is by mapping the URL you are on to the URL settings for the Publication Target (not the ones for Session Preview but the ones specifically for republishing purposes). Please check that those are configured and it is possible to map one of the Targets to your URL. It is (very briefly) described on a ...


3

On the subject of whether resolvers are triggered: the answer is No. From the online docs [login required]: When Experience Manager users add or modify content, Experience Manager uses a different mechanism than regular publishing to update the content on the staging Web site. This mechanism is called Session Preview. For performance optimization ...


3

The answer depends on whether you're on .net or on java. Microsoft.NET You can do this by configuring the folder which holds your (published) binaries separately from the main application. Let's say your binaries are in the subfolder 'binaries'. The Web.config in the root of your site should NOT have the PreviewContentModule enabled. Just create a new ...


3

One idea would be to implement a 'soft' notification system where somebody could get notified if a Global Component is modified and also published in any site. (ie. it's ready for prime time). The publisher role would get a link to the staging item and component, and also their local page (with the outdated component). Maybe there is also a link in the ...


2

We had the exact same error. When the call was made to GetPreviewToken, we were not sending the TCM id of the publish target like it was asking for. We were sending the parameter publishingTargetId as the current path of the page within the site...and that is why we were getting the error. Check the call for GetPublicationTargetFromUrl. It should return a ...


2

In the 'File Types' area of the CMS do you correctly have the CSS mime type created? I'd check and add it... also check text/html files etc to see if the 'css' extension found it's way into one of those File Types, if it has for example ended up in the 'Html document' the CMS is likely publishing the file with the incorrect mime type. Thanks John


2

This may not be the issue, but it's burned me in the past: Goto Administration > Multimedia Types Open Cascading Style Sheet Is it called Cascading Style Sheet, or Cascading Style Sheets ? is the MIME Type text/css? Also: Is the title attribute being applied to any of your <link/> elements? If so, remove it. Another thing you could do to see if ...


2

There was a defect in 2013 GA where it would still attempt to use Session Preview in some cases. That has been fixed in the upcoming service pack. For now, I guess you'll need to work around it by having at least one working OData web service. You might be able to get away with not configuring a session database and such, I don't know.


2

Curiously this issue appears to have been resolved. I'm not sure if it was through a number of successive changes without testing each independently or if I wasn't thorough enough in restarting services each time. But XPM is working fine now. I did however notice issues with the speed of XPM when using IE within my VM (acronym overload!). I later switched ...


2

Short answer: no you cannot; ADF resides in your web application and relies on having direct access to the request object. Your solution approach essentially makes it impossible to use lots of extensions in an out-of-the-box manner (SmartTarget, Experience Manager, SDL Mobile, etc). Long answer: yes you can... but you will have to do everything these ...


Only top voted, non community-wiki answers of a minimum length are eligible