Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Custom Product field added to Product Detail page is not displayed for all products for External Buyer Users for B2B Commerce

게시 일자: Apr 16, 2025
상세 설명

The issue happens for products which were inserted into database prior to Field Accessibility being added for these fields for the External User/Buyer Profile.

Changes to FLS do not invalidate Cache entries for Product2 records due to which the data will not be visible to External Buyer Users unless the old cache becomes invalid and new cache with updated data becomes effective.

Steps to Reproduce:
1) Add a new custom field to Product2 (Do not set FLS/Visible checkbox for the external Buyer User's Profile)
2) Add the new custom field on the Product Detail page in Builder
3) Publish changes in Builder
4) If field requires data, populate data for some number of Product records. (Now Establish field-level security for the field to Buyer User)
5) Login to the Store as a Buyer User
6) Access a Product Detail page for a Product with data populated for the custom field
7) As System Admin, set Field Level Security for to Visible for the Buyer Profile
8) As the Buyer User, reload the same Product Detail page 

솔루션

You can follow either of the following workarounds. If neither approach is taken, the issue will resolved when the bad cache entry eventually becomes invalid(30 days after it was first added to database).

  1. Make some change to the Product2 object Schema (e.g. make a trivial change to a custom field Label).
  2. Invalidate individual cache entries by updating the affected Product2 records using API or from UI.
Knowledge 기사 번호

000393874

 
로드 중
Salesforce Help | Article