In the back-end if I "Change Document Type" of a Content Item, then all seems to work well, all seems to work well, on the properties panel the "Document Type" is listed correctly, can publish etc .. however when accessinging this node with the changed document type in a template, using code like @item.NodeTypeAlias then it returns the old value not the new value. Have tried rebuilding the indexes but doesnt help ... ?
Changing DocumentType problem
In the back-end if I "Change Document Type" of a Content Item, then all seems to work well, all seems to work well, on the properties panel the "Document Type" is listed correctly, can publish etc .. however when accessinging this node with the changed document type in a template, using code like @item.NodeTypeAlias then it returns the old value not the new value. Have tried rebuilding the indexes but doesnt help ... ?
version 7.1.8
Hi Tom
A long shot here - Have you tried selecting "Republish entire site" when you right click the "Content" node? This will refresh the XML cache.
Does that help?
/Jan
Oh yes that has worked! very good thanks!! .. I had tried republishing its parent all children but that had not had any affect!
thanks a lot!
Hi Tom
Glad it worked :) Would you mind marking the issue as solved so others who may come across this can jump straight to the solution?
/Jan
is working on a reply...