sp-dev-fx-webparts
sp-dev-fx-webparts copied to clipboard
react-news-extension - Missing metadata tags
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
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
@whiteprw
If I understand correctly, some news pages are being shown in a web part even though pages are not tagged with relevant metadata.
- Can you confirm you have your preference saved in the Graph Extension?
- Clear your cache to fetch the fresh preference from Graph
- I have not created any managed property. Instead, I am using the following one which is get created automatically for your metadata site column.
I hope the above helps. Let me know if you still experience any issue
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.
- Can you confirm you have your preference saved in the Graph Extension?
- Clear your cache to fetch the fresh preference from Graph
- 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: @.***>
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