Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Stream Page Customization #86

Open
ahmadihsan opened this issue May 13, 2024 · 3 comments
Open

Microsoft Stream Page Customization #86

ahmadihsan opened this issue May 13, 2024 · 3 comments

Comments

@ahmadihsan
Copy link

I have several videos stored in my OneDrive 'My Files' library that I've shared with specific users. Although they can access these videos, I want to restrict their ability to further share them with others inside Microsoft Stream by hiding the share button. I haven't found an out-of-the-box solution to hide the share button on the Stream page. Therefore, I was wondering if it's possible with an SPFx application customizer. However, I've attempted this, but the extension doesn't load within the Stream page. I can see the impact of SPFX extension on SharePoint online modern pages but not on Stream page where users watch videos. Is there any way to prevent users from sharing the video files with others using SPFX?

@cardinalpipkin
Copy link

I'm after something similar - I want to hide the Export to Excel in a SharePoint list.

@ahmadihsan
Copy link
Author

I'm after something similar - I want to hide the Export to Excel in a SharePoint list.

Well in your case, it's possible. Just follow below steps:

  1. Click on Settings Gear >> Choose the “Site Permissions” link.
  2. Click on “Advanced permissions settings.” >> Click on “Permission Levels” from the ribbon.
  3. Select an existing permission level such as Contribute or Read >> Scroll to the bottom of the page >> Click on the “Copy Permission` Level” button.
  4. Provide a name for your new permission level. E.g., “Read without Client Integration”. Under “Site Permissions”, uncheck “Use Client Integration Features – Use features which launch client applications. Without this permission, users will have to work on documents locally and upload their changes.” and click on “Create” button to create the permission level. create permission level without Client Integration Features.
  5. Assign this custom permission level to users and groups who don’t need the “Export to Excel” option. Make sure the users are not part of any other higher permission groups on the site (Because SharePoint permissions work in a cumulative manner!).

Reference: Disable Export-to-Excel

@cardinalpipkin
Copy link

My problem is that I need to disable them by using a site template, which is executed by a powershell script. I looked at the site you showed and have built an spfx extension but the CSS option doesn't work. It's not possible to set permissions using JSON within the PS script either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants