發表文章

目前顯示的是有「id」標籤的文章

Salesforce 常見ID開頭一覽表 Prefix Id List

001: Account 002: Note 003: Contact 005: User 006: Opportunity 500: Case 701: Campaigns 007: Activity 00B: ListView / View 00D: Organization 00E: UserRole 00G: Group 00I: Partner 00O: Report 00P: Attachment 00Q: Lead 00T: Task 00U: Event 00X: EmailTemplate 00e: Profile 00i: Pricebook 00j: Product 00k: OpportunityLineItem 00l: Folder 00v: CampaignMember 01Z: Dashboard 01a: DashboardComponent 01s: Pricebook2 01t: Product2 02c: Sharing Rule 

在 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 的地方,請手動修改。謝謝。