在 Sandbox 新建的 Document,Deploy 到 Production後,Id 會改變嗎?
背景說明
若我在 formula field 引用了一張 document 的圖,是以 Id 方式參照的。
例如:
IMAGE("/servlet/servlet.FileDownload?file=01559000000000XXXX", "Yellow", 17 , 58)
那我可以用 change set 直接 deploy 這個 formula field 以及這個 document嗎?
這個 Id 參照能持續保持有效嗎?
結論
會失效、會壞掉。
Id會變。
新的 Id 要在 deployment 完成後才能得知。
如果有 hard code Id 的地方,請手動修改。謝謝。
留言
張貼留言