Skip to content

SP Field Customizer Does not Load on View Change #2244

@j3rowan

Description

@j3rowan

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

SP Field Customizer loads on demand when switching to a view that contains the field and the view renders/displays.

Observed Behavior

If the initial view loaded contains the custom field then all views that have the custom field render correctly. However, if the initial view does not contain the custom field then when trying to switch to a view that contains the custom column the view does not load. The view id in the query string changes. Views without the custom column will load without a problem.

The following console log is written when clicking the view from the drop down:
sp-client module loader promise does not exist

Steps to Reproduce

  1. Build a field customizer based on https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer
  2. Deploy solution via Office 365 CDN based on https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/hosting-extension-from-office365-cdn
  3. Add app to site
  4. Add custom column to library, do not add it to the default view
  5. Add custom column to a non default view
  6. Navigate to default view in modern ui
  7. Attempt to switch to the view that contains the custom field

Submission Guidelines

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:spfxCategory: SharePoint Framework (not extensions related)status:fixedIssue was fixed in current or prior release.type:bug-confirmedConfirmed bug, not working as designed / expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions