pnp / sp-dev-fx-extensions

Code samples and developer content targeted towards SharePoint Framework client-side extensions. https://aka.ms/spfx-extensions
MIT License
644 stars 833 forks source link

(react-application-news-ticker) If I wanted to use a List with a different name 'News', where would I need to make a change? #561

Open superhotfireman opened 2 years ago

superhotfireman commented 2 years ago

Sample

https://github.com/pnp/sp-dev-fx-extensions/tree/main/samples/react-application-news-ticker

Author(s)

@arigunawan3023

Question

Hello everyone,

In some a site that we use the ticker extension on, users wanted to create a new List called 'Announcements" and use that as a source for the Ticker extension app (because we already have a List called News for other purpose).

To accommodate that, I have made changes to the following location but when I checked on Chrome's 'Inspect' tab, I can see that it's still looking for a List called 'News' instead of 'Announcement' list.

So the places I made changes to are below. After making changes, I re-deployed the app (by using gulp build, bundle --ship, and package-solution --ship) by adding the new spkg file to App Catalog.

  1. serve.json
  2. element.xml

Could someone who's more experienced advice how I can go around this?

ghost commented 2 years ago

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