Skip to content

Content Type name not showing #5517

@machaire

Description

@machaire

Disclaimer

Yes

Sample

https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-list-search

Contributor(s)

@albegut

What happened?

The webpart seems to work for most part but i have an issue when trying to list the Content Type names. It returns blank. Content Type ID does return the correct ids but the Content Type names always come back blank and filtering will not work.

Steps to reproduce

1.Install webpart to site
2.Setup webpart to search specific library and setup the columns to search
3.

Expected behavior

I would expect to see the Content Type names and be able to type into filter box and return the corresponding type.

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

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

What version of Node.js is currently installed on your workstation?

18.18

What version of Node.js is required by the sample?

18

Paste the results of SPFx doctor

Image

And you can see the Content Type ids when grouped

Image

Additional environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug-suspectedSuspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions