Salesforce Field Service Dispatcher Console 會依序載入四個階段:驗證權限、載入使用者設定、載入服務區域範圍與資源,以及載入服務區域範圍成員。當 Field Service 使用者設定記錄 (FSL__UserSetting__c) 上的「我的最愛區域範圍」欄位 (FSL__FavoriteTerritories__c) 包含損毀或格式錯誤的值時,主控台會無限期在階段 4 中暫留,而不會顯示錯誤訊息。
本節說明如何解決由於使用者 Field Service 使用者設定記錄 (FSL__UserSetting__c) 中「我的最愛區域範圍」欄位 (FSL__FavoriteTerritories__c) 中的值損毀或格式錯誤而在階段 4 (「載入服務區域範圍成員」) 中無限暫停的 Salesforce Field Service Dispatcher Console。
在「階段 4」期間,Dispatcher Console 會從使用者的 Field Service 使用者設定記錄 (FSL__UserSetting__c) 讀取「我的最愛區域範圍」欄位 (FSL__FavoriteTerritories__c)。此欄位會儲存 JSON 格式字串,將「服務區域範圍」記錄識別碼對應至布林值,例如:{"0HhXXXXXXXXXXXXX": true}。此 JSON 會告知主控台要載入為我的最愛的區域範圍。
當欄位包含格式錯誤的值 (損毀的 JSON、非預期的字元、截斷的內容或結構不正確的字串) 時,主控台的 JavaScript 剖析器會靜默失敗。載入程序會無限期暫停,而不會產生使用者可見的錯誤。
由於失敗發生於資料剖析層 (非存取控制層),因此權限集、共用規則或設定檔變更的組合無法解決問題。
true 值。如果值為空白 JSON ({})、包含非 JSON 字元、遭截斷,或具有非預期的格式,則值會損毀。005388477

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.