Jun 14 2023 04:07 PM
Hello All
For our customer it's a show stopper that users are able to select other users as authors in news post in the news web part in SharePoint online.
We need to select the actual logged in user or the created by field as author. Does anybody know how we can achieve this? Help is highly appreciated! Thanks!
Jun 14 2023 10:43 PM
Hello @ThomasL41
a show stopper? OK...sounds a little bit to dramatically 😕
Per default it's not possible. You can try to change it after save with Flow, or implent an approval for a double-check before you will be publish the news.
Regards, Dave
Jun 14 2023 11:15 PM
@ThomasL41 You cannot change the default behavior of SharePoint news web part to show Created By user instead of Author byline value.
However, you can set the Author byline field value to any user you want using PnP PowerShell script. Here's a full script: Set Page Author Byline
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Jun 20 2023 03:46 AM
Jun 20 2023 03:48 AM
Jun 20 2023 01:01 PM
Hello @ThomasL41
You can try to change it after save with Flow, or implent an approval flow for a double-check before you will be publish the news.
Best, Dave