Salesforce Field Service 派遣人控制台分四个顺序阶段加载:验证权限、加载用户设置、加载服务区域和资源以及加载服务区域成员。当 Field Service 用户设置记录 (FSL__UserSetting__c) 上的收藏夹区域字段 (FSL__FavoriteTerritories__c) 包含损坏或格式错误的值时,控制台将在阶段 4 无限期挂起,而不会显示错误消息。
本节说明如何解决 Salesforce Field Service 派遣人控制台在阶段 4(“加载服务区域成员”)无限期挂起,原因通常是用户的 Field Service 用户设置记录 (FSL__UserSetting__c) 上的收藏夹区域字段 (FSL__FavoriteTerritories__c) 中的值损坏或格式错误。
在阶段 4 期间,派遣人控制台从用户的 Field Service 用户设置记录 (FSL__UserSetting__c) 中读取收藏夹区域字段 (FSL__FavoriteTerritories__c)。此字段存储 JSON 格式的字符串,将服务区域记录 ID 映射到布尔值,例如:{"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.