Nonprofit Success Pack (ノンプロフィット・サクセス・パック、NPSP) の一部のユーザーには、NPSP データインポートウィザードの使用中に次のエラーが表示される場合があります: 「Update failed. the First exception on row 0 with id ‘<record Id>'; first error:INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: []」。これはユーザーが一括アップロードレコードのサブセットのみのアクセス権を持っていることが原因です。
また「処理するデータインポートレコードの数」に誤ったレコード数が表示されます。この背景にある原因は公開共有に設定されているデータインポート VF ページの数値を表示する Apex クラスです。ユーザーがインポートレコードのサブセットへのアクセス権のみを持つ場合、実際に処理されるレコードの数より少なく表示されます。ユーザーが「データインポート処理」を開始すると、アクセス権を付与されているレコードではなく、すべてのレコードが一括処理されます。一括処理はバックグラウンドで実行される非同期プロセスです。処理中はセキュリティモデルを使用してレコードを絞り込むことはできません。
このシナリオはユーザーがすべてのレコードを処理するのではなく、特定のレコードの一括処理のみを希望する場合に発生する可能性が高くなります。
NPSP では NPSP データインポートウィザードを使用してレコードをインポートする場合、NPSP データインポートオブジェクトおよび項目へのアクセス権をすべてのプロファイルに付与する必要があります。データをインポートするユーザーが参照、作成、編集、削除などのフルアクセスを持っていない場合、「オブジェクト ID に対するアクセス権が不十分です」というエラーが表示されます。
NPSP データインポートオブジェクトおよび項目へのアクセス権を付与するには
1. Salesforce Lightning(セールスフォース・ライトニング) では、右上のギアアイコンに移動し、[設定] をクリックします。
Salesforce Classic(セールスフォース・クラシック) では、右上隅の [設定] に移動します。設定が見つからない場合は、ユーザーのドロップダウンをクリックします。
2.左側にある [クイック検索] ボックスで、「プロファイル」を検索します。
3. アクセス権を付与するプロファイルの名前をクリックします。
4.[オブジェクト設定] に移動し、NPSP データインポートオブジェクトに移動します。
5.[オブジェクト権限] セクションで、「参照」、「作成」、「編集」、「削除」のアクセス権を選択します。
6.[項目権限] セクションで、すべての項目名について [参照アクセス権] と [編集アクセス権] のチェックボックスをオンにします。
7.[保存] をクリックします。
注意: 共有設定で NPSP データインポートオブジェクトの、組織の共有設定 (OWD) が [公開/参照・更新可能] に設定されていることを確認してください。
000389539

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.