sp-dev-fx-webparts icon indicating copy to clipboard operation
sp-dev-fx-webparts copied to clipboard

react-news-extension - Missing metadata tags

Open whiteprw opened this issue 1 year ago • 4 comments
trafficstars

Disclaimer

Yes

Sample

react-news-extension

Contributor(s)

@ejazhussain

Question

Hi, web part deploys and pulls through, metadata filters show. Can even occasionally get the news to show however they are never tagged with the relevant metadata properties. Are there particular settings the Managed property needs to make this work?

Thanks image

whiteprw avatar Jan 19 '24 06:01 whiteprw

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Jan 19 '24 06:01 ghost

@whiteprw

If I understand correctly, some news pages are being shown in a web part even though pages are not tagged with relevant metadata.

  1. Can you confirm you have your preference saved in the Graph Extension?
  2. Clear your cache to fetch the fresh preference from Graph
  3. I have not created any managed property. Instead, I am using the following one which is get created automatically for your metadata site column.

image

I hope the above helps. Let me know if you still experience any issue

ejazhussain avatar Jan 24 '24 09:01 ejazhussain

Thanks for getting back to me - using any property in this area doesn't bring the item through into search.

Whats the best way to debug this?

[image: image.png] [image: image.png]

Thanks again Cheers Peter

On Wed, Jan 24, 2024 at 5:02 PM Ejaz Hussain @.***> wrote:

@whiteprw https://github.com/whiteprw

If I understand correctly, some news pages are being shown in a web part even though pages are not tagged with relevant metadata.

  1. Can you confirm you have your preference saved in the Graph Extension?
  2. Clear your cache to fetch the fresh preference from Graph
  3. I have not created any managed property. Instead, I am using the following one which is created automatically for your metadata site column.

image.png (view on web) https://github.com/pnp/sp-dev-fx-webparts/assets/19267065/428518cd-8d98-4fe4-be4f-cf346c7f0026

I hope the above helps. Let me know if you still experience any issue

— Reply to this email directly, view it on GitHub https://github.com/pnp/sp-dev-fx-webparts/issues/4681#issuecomment-1907681056, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQ2ZBNR7JN7EKVNXNIMYEDYQDEZDAVCNFSM6AAAAABCBO7QPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXGY4DCMBVGY . You are receiving this because you were mentioned.Message ID: @.***>

whiteprw avatar Jan 25 '24 02:01 whiteprw

I would suggest to SharePoint Search Query tool to confirm that your data is available in the search and tagged properly. See below link

https://github.com/pnp/PnP-Tools/releases/tag/v2.10.0-Search-QueryTool

Once your content is available within the Search then you can construct the Search query within the react-news-extension sample.

I hope this helps

ejazhussain avatar Jan 28 '24 22:01 ejazhussain