Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
397 views
in Technique[技术] by (71.8m points)

kentico - Content Staging - missing document references

I'm working with Kentico EMS 12's content staging feature. I have a number of pages I've attempted to sync to a new environment. It seems everything goes well except in circumstances where I have a page type that has a reference to another document (e.g. I might have a page with a web part containing a reference to a particular form that shows in a modal popup). It seems those references are blank in the destination environment, and I'm forced to re-select them across the board. Is there any particular approach to using the staging feature that would prevent this from happening?

question from:https://stackoverflow.com/questions/66064835/content-staging-missing-document-references

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Welcome to SO Mike!

FYI, no need to cross post questions on SO AND the DevNet. As long as you tag your SO posts with kentico they will automatically be brought into DevNet.

You need to have the objects (page types, transformations, templates, widgets, page templates, etc.) in the new environment first before you can successfully sync pages over. Pages have far too many dependencies on objects. The sync mechanism does not automatically sync those objects over based on a page so many reasons. So make sure any objects associated/related with that page are actually created/synced to the new environment FIRST. Once they exist in that new environment, then you should be set. If you make updates to those objects, no worries simply because the IDs already exist and that's what the page is looking for.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...