-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
type:invalid-not-dev-issueThis repo+issue list is for SharePoint development topics. Non-dev issues will be closed.This repo+issue list is for SharePoint development topics. Non-dev issues will be closed.
Description
Category
Bug
Expected or Desired Behavior
Using the 'Send by email' function should preserve existing query string parameters.
Observed Behavior
The 'Send by email' function removes all existing query string parameters when generating the link used in the email notification.
Steps to Reproduce
- Deploy a SPFX web part which utilises custom query string parameters to a SharePoint Online page
- Load the page and select the 'Send by email' action
- Copy or follow the link in the resulting email
Our scenario
We've built a SPFX application with around 12 custom web parts. Most of them rely on query string parameters to load data from a specific record in a SharePoint list. The 'Send by email' action is stripping out these parameters, resulting in broken links being emailed to users.
Example original URL:
/sites/our_site/SitePages/Manage-Record.aspx?recordId=123
After using 'Send by email':
/sites/our_site/SitePages/Manage-Record.aspx?from=SendByEmail&e=BAHit3hdbEKp8eqxC5vFLw&at=9
Note that the recordId parameter is missing.
Metadata
Metadata
Assignees
Labels
type:invalid-not-dev-issueThis repo+issue list is for SharePoint development topics. Non-dev issues will be closed.This repo+issue list is for SharePoint development topics. Non-dev issues will be closed.