Skip to content

SPFx library component not displaying the assets location #8883

@gautamdsheth

Description

@gautamdsheth

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

When deploying an SPFx library component to the app catalog, it doesn't display the location from which assets are loaded.

Steps to reproduce

  1. Create an SPFx library component and ensure that includeClientSideAssets is set to false
  2. Upload the files needed for the library component to external resource like Azure storage or some other CDN.
  3. Upload the component to the app catalog.
  4. It shows up like this:

image

  1. Notice the lack of this text:

image

Expected behavior

It displays the location from where assets are being loaded.

Works fine if its a webpart or an extension.

It should be displayed like this and show the content location of the assets which are being loaded :

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋Original poster responded to request for feedback, awaiting attention from Microsoft / community.area:spfxCategory: SharePoint Framework (not extensions related)type:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions