重複値エラーは、以前に項目から値が削除されている場合や、記事「新しい一意な選択リスト値の「重複値」エラー 」に記載されている問題の結果として発生することがあります。この記事には、システム管理者または開発者がメタデータ API で選択リスト値を再有効化してこの動作を修正するための手順が記載されています。
Salesforce Extensions to VS Code や移行ツール などのメタデータリリースツールに精通している場合、これらのツールを使用して、対象の項目のメタデータを取得できます。次に、対象の選択リスト値と属性を追加して、生成された XML を手動で更新します。
| 警告! 以下の内容の詳細は暗黙に提供されるものであり、この解決策を本番環境に実装する前に Sandbox 環境で徹底的にテストし、確認する必要があります。Metadata API は、正しく使用されない場合、潜在的に破壊的で元に戻せない変更を組織に加える可能性があるため、サポートが責任を負うことはできません。細心の注意を払ってください。 |
「Retrieve (取得)」機能および「Deploy (リリース)」機能を使用して、対象の選択リスト値を、次の手順に従って Metadata API を使用して更新できます。
| 特殊文字 | 次の値で置き換え |
| & | & |
| < | < |
| > | > |
| " | " |
| ' | ' |
000382802

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.