I have a Java (Spring MVC) app with DD4T 2 and SDL Web 8. I'm trying to get XPM to work. What's working so far:
XPM javascript is loaded correctly
XPM Comments are generated
Page and CPs are editable
Inline editing works (content gets changed in the CM database)
I have a wrapper in the
cd_storage_conf.xml
of the session-enabled content serviceThe
preview-session-token
cookie is setAmbient is enabled on the web application (and the
preview-session-token
cookie is present in thetaf.request.cookies
claim)I have added cookie configuration to the
cd_storage_conf.xml
of the session-enabled content service as explained by Rick Pannekoek (How to send XPM preview-session-token cookie to Session Content Service?)When I click on the Update preview button, content is pushed to the Preview database
This is the Cookie stuff I put in the cd_storage_conf
:
<Cookies>
<CookieClaim DefaultValue="true" Name="CookieClaim"/>
<Cookie Type="ADF" Name="TAFContext" />
</Cookies>
It feels like I'm very close, but I cannot connect the final dots. Any help is appreciated.