Questions tagged [script-editor-webpart]
The script-editor-webpart tag has no summary.
35 questions
0votes
1answer
69views
Conditionally Show Hide 3 fields not working for others
I am having an odd experience. While using the following code in a SP2016 Script Editor above an EditForm, the functionality works for me in Chrome, but does not work for other users using Chrome and ...
0votes
1answer
194views
Script Editor , working fine on my end but everyone else can't see changes
I have a SharePoint site with 3 webpart pages + 1 wiki page ( HOME ) and client asked me to remove "Recycle Bin" and "Page Title" for every page. I did this by using a script ...
0votes
0answers
843views
How to pass user information from Sharepoint to iframe embedded within
We are trying to pass user information from SharePoint (user email) to an iframe embedded within it. We have no problem getting the information to populate on the SharePoint page itself, but we can't ...
0votes
1answer
70views
Trying to set up SP Framework - Can't get past Command Prompts
I'm trying to take the plunge into getting SP Framework set up so that I can add the modern script editor (frustrating that it isn't an easy process to set up). I've followed numerous tutorials, but ...
0votes
1answer
324views
What are the risks (if any) if we install the react-script-editor web part inside our SharePoint online tenant
I am working on a new SharePoint online tenant, and one of the requirements is to have a modern web part that is similar to the popular on-premises/classic Script Editor web part. so i found this SPfx ...
0votes
0answers
73views
SharePoint online - mass edit of script editor snippet in subsites
Note - wasn't sure how to display a tag with brackets as plain text. So, I have a Site with a bunch of subsites. Within the subsites There is a page with a script editor, and within the script editor ...
0votes
1answer
391views
Video Should not Play every time when page loads and page reloads in a SharePoint page
In SharePoint default page I add script editor web-part and in this added below script <video width="100%" autoplay="false" controls="true" style="width: 100%;&...
0votes
1answer
581views
Updating a Script Editor web part's snippet contents via PowerShell & CSOM is failing
I used code from this site, which updates the title of a web part, so the change needed is perhaps minor. The code that isn't working: Write-Output $webPartDefinition.WebPart.Properties.FieldValues....
1vote
1answer
560views
I'm trying to run a javascript script through the script editor in sharepoint online, but nothing happens
In the script editor I have this code to disable some buttons: <script> document.getElementById(id="Status_c15b34c3-ce7d-490a-b133-3f4de8801b76_$DropDownChoice_Aprovado").disabled = ...
1vote
1answer
120views
Issues with links with url parameters in Sharepoint modern UI( I have to click link twice)
I'm using the modern script editor. What i'm experiencing is if i use the below <div><a href="/sites/Mysite/SitePages/People.aspx">People</a></div> it works But when ...
3votes
2answers
4kviews
Is it a bad practice to install the modern script editor web part? since contributors can add custom scripts to modern pages?
There is the old way to add custom script to SharePoint is by allowing custom script on the sites and adding the build in script editor web parts, where only users with ""Add and Customize ...
0votes
2answers
801views
react-script-editor is not working for external users
I added the modern script editor web part to a modern page @ https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor .. now the web part is working well for internal users ...
0votes
0answers
117views
Can you add a button or link to a Custom action to a display form page using script Editor
I would like to trigger a custom action via a link or button on the form page. Yes, I have already created a button/icon in the ribbon. But what I want to do is create a button on the page front and ...
0votes
1answer
135views
Unable to get a github repository either by downloading the Zip file or cloning
I want to install the Script Editor Webpart from this url @ https://github.com/pnp/sp-dev-fx-webparts.. but if i try to download the zip file it will break in the middle + i tried to use the GitHub ...
2votes
2answers
91views
SPO Updates to an application on the page are not persistent and all activity resets on page refresh
I am trying to create a Kanban/task manager that allows users to move 'Cards' from one status to another in order to reflect the current status of a task. Below is the code, but the problem is that ...