We currently have a project where we want to use a different list name for the Alert list. When changing the starter-kit template to create a list with different naming, the Alert Notification extension stops working, as the extension is getting the list by calling hubSiteUrl + '/_api/web/lists/getByTitle(\'Alerts\')/items?.
Describe the solution you'd like
Why use the title for getting the list? I think there are a lot of situations where you need a different list name. In my opinion it would be much better to use the url instead, as this is much more unlikely to be changed.
Describe alternatives you've considered
Use /_api/web/GetList('/Lists/Alerts') instead of /_api/web/lists/getByTitle(\'Alerts\')
Category
Is your feature request related to a problem?
We currently have a project where we want to use a different list name for the Alert list. When changing the starter-kit template to create a list with different naming, the Alert Notification extension stops working, as the extension is getting the list by calling
hubSiteUrl + '/_api/web/lists/getByTitle(\'Alerts\')/items?
.Describe the solution you'd like
Why use the title for getting the list? I think there are a lot of situations where you need a different list name. In my opinion it would be much better to use the url instead, as this is much more unlikely to be changed.
Describe alternatives you've considered
Use
/_api/web/GetList('/Lists/Alerts')
instead of/_api/web/lists/getByTitle(\'Alerts\')