Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I just figured out that the node ID's change when transferring the site from the production to staging envoirment. The problem with this is dat a lot of XSLT files use the GetXMLbyNodeID function. When the ID's changes the XSLT isn't working. Is there a way to correct this?
I readed that Courier corrects the ID's automaticly, but becease XSLT won't be transferred automaticly the ID's in the XSLT stay the same.
Has anyone have the same problem? And maybe a solution?
What courier does is extract your content from environment A and deploys it to environment B.
As content uses a incrimental integer in the database this can be different for a number of reasons.
Thanks for your quick response.
I will try to change the GetXmlNodeById function by normal xpath statements.
If you don't get it to work with xpath I recommend storing your id's as appsettings in the web.config.
That way you can easily change it without having different xslt files for each environment that you deploy too.
It is possible to have a way when we deploy by Umbraco Courier between 2 environments to have the same id's for files img, svg and pdf for maintains the same path for them?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted