Forum Discussion
Anonymous
Mar 27, 2020Current login user from modern sharepoint online page
Current login user from modern sharepoint online page ?
Sudharsan K
Mar 28, 2020Iron Contributor
Hi,
As of now its not possible via out-of-box. Maybe you can add a script editor web part, add the code to replace the control with the current logged in the user info. Then, save the page as a template and then create a new page using that template.
As of now its not possible via out-of-box. Maybe you can add a script editor web part, add the code to replace the control with the current logged in the user info. Then, save the page as a template and then create a new page using that template.
- AnonymousMar 28, 2020
I have added my script in code snipped webpart but it is not working. after re publishing page it shows only code.
there is no script editor webpart available on modern UI.
- Sudharsan KMar 28, 2020Iron ContributorHi,
Please refer the below article on script editor for modern page.
https://medium.com/niftit-sharepoint-blog/add-the-script-editor-webpart-back-to-sharepoint-modern-experience-688a7b7208e4