When we deploy a document from a lower environment to a higher environment, its ID is getting changed. Due to this, constant points to invalid/wrong a document.
We are using direct deployment (Compare & Deploy)
Is it expected behavior?
Discussion posts and replies are publicly visible
Yogi Patel This is expected behaviour to maintain environment isolation and prevent conflicts.I would recommend you put that document into a constant and use that constant.
Yes, replaced the document ID with a document in constant.
Thanks for your reply.