Loading
시스템 관리자에 대한 피싱 방지 MFA 및 전 직원사용자 MFA 적용 안내 더 많이 읽기

"Add More Participants" Button Saves Silently With No Record Created in Program Management Module (PMM)

게시 일자: Jul 30, 2026
상세 설명

Symptoms:

  • The "Add More Participants" button opens its modal normally.
  • The user adds one or more student records and clicks Save.
  • The modal closes (or appears to do nothing). No Student Record is created, and no error is displayed on screen.
  • Existing Student Records created through other paths (data import, manual entry) are unaffected, because those paths populated the custom field.

Root-cause chain:

  1. The "Add More Participants" button runs a packaged Lightning component from the Program Management Module that inserts Student Record rows.
  2. A custom lookup field was added to the Student Record object in the org (in this case Course__c, a lookup to Program) and was set to field-level Required ("Always require a value in this field in order to save a record").
  3. The packaged component has no awareness of the org-specific custom field, so it never sets a value for it.
  4. Each Student Record insert fails the required-field validation at save time.
  5. The packaged code does not surface that failure to the UI, so the modal closes with no record and no visible error — a silent Save.

Note: this is org-specific custom configuration interacting with packaged code, not a defect in the managed package itself. A validation rule that enforces the same field at save time reproduces the identical silent failure, for the same reason.

솔루션

Part 1 — Remove the field-level Required setting on the custom field

  1. Click the gear icon and choose Setup.
  2. Open Object Manager and select the Student Record object.
  3. Click Fields and Relationships, then open the custom field (e.g. Course).
  4. Click Edit.
  5. Under General Options, uncheck Required ("Always require a value in this field in order to save a record").
  6. Click Save.

The "Add More Participants" button will now save normally. Confirm by clicking the button, adding a student, and clicking Save.

Part 2 — Keep the field required for manual entry, safely

Do not re-enforce the field with a field-level required flag or a save-time validation rule; either will silently break the packaged button again. Instead, mark it Required on the page layout, which only applies to the manual edit screen:

  1. In Object Manager for Student Record, click Page Layouts.
  2. Open the layout your staff use to create or edit Student Records.
  3. Hover over the field on the layout and click the wrench (Properties) icon.
  4. Check Required, then click OK.
  5. Click Save. Repeat for each layout where the requirement should apply.

Manual creation now requires the field, while the packaged button continues to work.

Knowledge 기사 번호

005390224

 
로드 중
Salesforce Help | Article