Skip to content

SPFx Extension Placeholder Names Changed #805

@thechriskent

Description

@thechriskent

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

The placeholder names for use with an Application Customizer have been PageHeader and PageFooter.

Observed Behavior

On modern pages within a developer tenant these are now Top and Bottom. However, modern list views are still reporting Defined clientSidePlaceholders: DialogContainer,PageHeader,PageFooter. However, these pages are not currently working with Application Customizers giving the following error:

Invalid location: ClientSideExtension.ApplicationCustomizer

Steps to Reproduce

To see the new placeholders, debug an Application Customizer on a modern page and add the following line to the onRender method:

console.log(this.context.placeholders.placeholderNames);

Are these changes part of the breaking changes promised with RC1 or are they an unplanned bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions