Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

拡張メタデータ (XMD) の検証ルールとエラー

公開日: Jul 22, 2021
説明

拡張メタデータ検証

データセット構造の更新作業に伴い、影響を受けるデータセットについて、ユーザ生成拡張メタデータ (ユーザ XMD) の定義が検証されます。それぞれの検証ルールついて、ルールに違反した場合に対応するエラーのセットが存在します。
エラーの XMD を検討するときに、関連するルールエラーを比較し、XMD がルールに準拠していることを確認してください。

XMD 検証エラーの修正

この状況のトラブルシューティングを行うには、次の手順に従います。

1.ユーザ XMD を取得します。
2.影響を受けるディメンションまたは基準に関連付けられたパラメータを確認し、欠落しているデータや修正が必要なデータを判断します。
3.XMD 構文に修正を加えます。XMD 定義から「errorMessage」パラメータとそれに関連付けられている値を削除します。修正したファイルをアップロードします。
4.検証は [データセットを更新] がクリックされたときに実行され、失敗した場合はエラーメッセージで表示されます。 

解決策

XMD 検証ルールおよび関連するエラー

 
ルールエラーメッセージ
日付は一意のエイリアスを指定する必要があるFound a date with no 'alias' specified. (「alias」が指定されていない日付が見つかりました。)
╙►Found multiple dates with the same 'alias' value: [alias] (「alias」値が同じ複数の日付が見つかりました: [alias])
派生ディメンションカスタムアクションには必須項目があるFound a Custom Action in a derived dimension [derived-dimension-name] which does not have 'name' set. (「name」が設定されていないカスタムアクションが派生ディメンジョン [derived-dimension-name] で見つかりました。)
╙►Found a Custom Action in a derived dimension [derived-dimension-name] which does not have 'enabled' set. (「enabled」が設定されていないカスタムアクションが派生ディメンション [derived-dimension-name] で見つかりました。)
派生ディメンション項目名はシステムディメンションに存在しないFound a Derived Dimension which has the same field name as a non-derived Dimension: [derived-dimension-name] (派生していないディメンションと項目名が同じ派生ディメンションが見つかりました: [derived-dimension-name]) 
派生ディメンションのリンクテンプレートは、/、http://、https:// で始まる必要がある'linkTemplate' [" + linkTemplate + "] is invalid. ('linkTemplate' [" + linkTemplate + "] が無効です。)
派生ディメンションメンバーには必須項目があるFound a Member in Derived Dimension [derived-measure-name] which does not have 'member' set.); (「member」が設定されていないメンバーが派生ディメンション [derived-measure-name] で見つかりました。);)
╙►Found a Member [member-name"] in Derived Dimension [derived-measure-name] which does not have 'color' or 'label' set. (At least one of these fields must have a value.) (「color」または「label」が設定されていないメンバー [member-name] が派生ディメンション [derived-measure-name] で見つかりました。(これらの項目のうち、少なくとも 1 つに値を設定する必要があります。))
派生ディメンションレコード表示項目は基準またはディメンションを参照するFound a derived dimension [derived-dimension-name] with a recordDisplayField [recordDisplayField] which does not reference a valid dimension, derived dimension, measure or derived measure. (有効なディメンジョン、派生ディメンジョン、基準、または派生基準を参照していない recordDisplayField [recordDisplayField] を持つ派生ディメンジョン [derived-dimension-name] が見つかりました。)
派生ディメンジョンレコード ID 項目は実際のディメンションを参照するFound a derived dimension [derived-dimension-name] with a recordIdField [recordDisplayField] which does not reference a valid dimension or derived dimension. (有効なディメンジョンまたは派生ディメンジョンを参照していない recordIdField [recordDisplayField] を持つ派生ディメンジョン [derived-dimension-name] が見つかりました。)
派生ディメンション Salesforce アクションには必須項目があるFound a Salesforce Action in a derived dimension [derived-dimension-name] which does not have 'name' set. (「name」が設定されていない Salesforce アクションが派生ディメンジョン [derived-dimension-name] で見つかりました。)
╙►Found a Salesforce Action in a derived dimension [derived-dimension-name] which does not have 'enabled' set. (「enabled」が設定されていない Salesforce アクションが派生ディメンション [derived-dimension-name] で見つかりました。)
派生ディメンションには一意の項目があるFound a derived dimension with no 'field' specified. (「field」が指定されていない派生ディメンションが見つかりました。)
╙►Found multiple derived dimensions with the same 'field' value: [fieldName] (「field」値が同じ複数の派生ディメンションが見つかりました: [fieldName])
派生基準項目名はシステム基準に存在しないFound a Derived Measure which has the same field name as a non-derived Measure: [fieldName] (派生していない基準と同じ項目名を持つ派生基準が見つかりました: [fieldName])
派生基準は一意の項目を持ちますFound a derived measure with no 'field' specified. (「field」が指定されていない派生基準が見つかりました。)
╙►Found multiple derived measures with the same 'field' value: [fieldName] (「field」値が同じ複数の派生メ基準が見つかりました: [fieldName])
ディメンションカスタムアクションには必須項目があるFound a Custom Action in a dimension [dimension-name] which does not have 'name' set. (「name」が設定されていないカスタムアクションがディメンジョン [dimension-name] で見つかりました。)
╙►Found a Custom Action in a dimension [dimension-name] which does not have 'enabled' set. (「enabled」が設定されていないカスタムアクションがディメンション [dimension-name] で見つかりました。)
ディメンション項目はシステム項目のサブセットであるCannot override 'dimensions' when the System XMD has none. (システム XMD に「dimensions」がない場合は「dimensions」を上書きできません。)
╙►Found Dimensions in User XMD which are not present in System XMD: fieldsInUserWhichArentInSystem (システム XMD に存在しないディメンションがユーザ XMD で見つかりました: fieldsInUserWhichArentInSystem)
ディメンションメンバーには必須項目があるFound a Member in Dimension [dimension-name] which does not have 'member' set. (「member」が設定されていないメンバーがディメンション [dimension-name] で見つかりました。)
╙►Found a Member [member-name] in Dimension [dimension-name] which does not have 'color' or 'label' set. (At least one of these fields must have a value.) (「color」または「label」が設定されていないメンバー [member-name] がディメンション [dimension-name] で見つかりました。(これらの項目のうち、少なくとも 1 つに値を設定する必要があります。))
ディメンションレコード表示項目は基準またはディメンションを参照するFound a dimension [dimension-name] with a recordDisplayField [recordDisplayField] which does not reference a valid dimension, derived dimension, measure or derived measure. (有効なディメンジョン、派生ディメンジョン、基準、または派生基準を参照していない recordDisplayField [recordDisplayField] を持つディメンジョン [dimension-name] が見つかりました。)
ディメンションレコード ID 項目は実際のディメンションを参照するFound a dimension [dimension-name] with a recordIdField [recordIdField] which does not reference a valid dimension or derived dimension. (有効なディメンジョンまたは派生ディメンションを参照していない recordIdField [recordIdField] を持つディメンション [dimension-name] が見つかりました。)
ディメンション Salesforce アクションには必須項目があるFound a Salesforce Action in a dimension [dimension-name] which does not have 'name' set. (「name」が設定されていない Salesforce アクションがディメンション [dimension-name] で見つかりました。)
╙►Found a Salesforce Action in a dimension [dimension-name] which does not have 'enabled' set. (「enabled」が設定されていない Salesforce アクションがディメンション [dimension-name] で見つかりました)
ディメンションには項目があり一意であるFound a dimension with no 'field' specified. (「field」が指定されていないディメンションが見つかりました。)
╙►Found multiple dimensions with the same 'field' value: fieldName (「field」値が同じ複数のディメンションが見つかりました: fieldName)
基準項目はシステム項目のサブセットですCannot override 'measures' when the System XMD has none. (システム XMD に「measures」がない場合は「measures」を上書きできません。)
╙►Found Measures in User XMD which are not present in System XMD: fieldsInUserWhichArentInSystem (システム XMD に存在しない基準がユーザ XMD で見つかりました: fieldsInUserWhichArentInSystem)
基準は項目を持ち、一意ですFound a measure with no 'field' specified. (「field」が指定されていない基準が見つかりました。)
╙►Found multiple measures with the same 'field' value: fieldName (「field」値が同じ複数の基準が見つかりました: fieldName)
新規の日付は必須項目を持ちますFound a Date [alias] in user which does not exist in system and is missing the required 'fields' entry. (システムに存在せず、必要な「field」エントリがない日付 [alias] がユーザで見つかりました。)
╙►Found a Date [alias] in user which does not exist in system and is missing the required 'year' entry in 'fields'. (システムに存在せず、「field」に必要な「year」エントリがない日付 [alias] がユーザで見つかりました。)
╙►Found a Date [alias] in user which does not exist in system and is missing the required 'month' entry in 'fields'. (システムに存在せず、「field」に必要な「month」エントリがない日付 [alias] がユーザで見つかりました。)
╙►Found a Date [alias] in user which does not exist in system and is missing the required 'day' entry in 'fields'. (システムに存在せず、「field」に必要な「day」エントリがない日付 [alias] がユーザで見つかりました。)
組織は実際の組織 ID を持ちますFound an Organization which does not have a valid 'id' [orgId]. (有効な「id」[orgId] がない組織が見つかりました。)
組織は必須項目を持ちますFound an Organization which does not have 'id' set to a value. (「id」に値が設定されていない組織が見つかりました。)
╙►Found an Organization which does not have 'label' set to a value. (「label」に値が設定されていない組織が見つかりました。)
╙►Found an Organization which does not have 'instanceUrl' set to a value. (「instanceUrl」に値が設定されていない組織が見つかりました。)
[詳細の表示] デフォルト項目は有効な項目ですFound Dimension and/or Measures in User XMD.showDetailsDefaultFields which are not valid: fieldsInUserWhichArentValid (有効でないディメンション/基準がユーザ XMD.showDetailsDefaultFields で見つかりました: fieldsInUserWhichArentValid)
ナレッジ記事番号

000383919

 
読み込み中
Salesforce Help | Article