Skip to main content
5 votes
Accepted

How to use Sharepoint CSR to conditional hide row

First of all, you definitely don't want pre-render because there are no DOM elements there to hide yet. I believe you should be able to set the row's display style setting to "none" right in the code ...
Dylan Cristy's user avatar
  • 12.8k
4 votes
Accepted

SPO Updates to an application on the page are not persistent and all activity resets on page refresh

You need to create a list to store this web part data. When you add a new value, we could create a new item in the list, when you move the option, we could update the list item in list. My test code ...
Amos's user avatar
  • 2,001
3 votes

Unable to set a People or Group field as Read-Only inside our edit form

The following code for your reference. <style> a[id^='ProjectProjectManger'].sp-peoplepicker-delImage{ display:none; } </style> <script src="https://code.jquery.com/jquery-1.12.4....
LZ_MSFT's user avatar
  • 6,249
2 votes
Accepted

Scripts Not Working in Content Editor

You need to add type attribute to your script tag, like given below: <script type="text/javascript">console.log('In.');</script>
Salah's user avatar
  • 364
2 votes

SPO Updates to an application on the page are not persistent and all activity resets on page refresh

What you did so far is the implementation of the user interface to display data in kanban based on data in the list. The way all the current kanban products works are that as soon as you move an ...
Siddharth Vaghasia's user avatar
1 vote

What are the risks (if any) if we install the react-script-editor web part inside our SharePoint online tenant

Allowing scripting opens the doors to potentially malicious activities, so yes, it is not all that safe. I doubt than any script is able to get another user's password. The authentication has already ...
teylyn's user avatar
  • 9,044
1 vote
Accepted

Updating a Script Editor web part's snippet contents via PowerShell & CSOM is failing

The answer appears to be that this is not possible: https://docs.microsoft.com/en-us/answers/questions/581947/unable-to-update-scripteditor-webpart-csom-powersh.html?childToView=582966#comment-582966 ...
n8.'s user avatar
  • 111
1 vote

Is it a bad practice to install the modern script editor web part? since contributors can add custom scripts to modern pages?

The point of using modern script editor web part is to add custom code on modern pages, it can hardly be called “bad practice” if your tenant has such needs on development. It is not possible to set ...
Chelsea_MSFT's user avatar
  • 4,592
1 vote
Accepted

Is it a bad practice to install the modern script editor web part? since contributors can add custom scripts to modern pages?

I wouldn't recommend allowing all users the ability to add the Modern Script Editor Web Part. If any user can add this web part to a page, then it could become a security concern e.g. users could add ...
Callum Crowley's user avatar
1 vote

react-script-editor is not working for external users

From the error message, it seems that external users doesn't have permission to the Client Side Assets library in SharePoint App catalog site: https://***co.sharepoint.com/sites/AppCatalog/...
Michael Han's user avatar
  • 5,211
1 vote
Accepted

Unable to get a github repository either by downloading the Zip file or cloning

From the error msg, it indicates a curl receive an error of CURLE_RECV_ERROR which means there was some issue that prevented the data from being received during the cloning process. Typically this is ...
Baker_Kong's user avatar
  • 1,179
1 vote
Accepted

SharePoint Online Show/Hide multiple fields based on choice

Try using below code: <script type="text/javascript" src="https://code.jquery.com/jquery-1.7.2.min.js"></script> <script type="text/javascript"> $(...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Can I use Modern Script Editor and JSOM to get items from a list?

No, this is impossible. JSOM can only be available in classic experience. Modern Script Editor has limited functionality.
Michael Han's user avatar
  • 5,211
1 vote
Accepted

Grey-out disabled "Managed metadata" & "Multiple-line of text" fields

You can set the column background color to display as greyed out: $("div[title='managedmetadata']").children().prop("contenteditable",false).css('background-color','#F6F6F6'); $("div[title='...
Hellofiona_MSFT's user avatar
1 vote

Script and Content editor web parts missing from SharePoint 2019

What’s the permission of the user who want to add the web parts? Go to site settings->site permissions->check permissions, check what’s the permission level that the user assigned. And check if the “...
Hellofiona_MSFT's user avatar
1 vote

Can You Deploy the Oslo Layout via Script Editor?

Well, any change you make is "permanent" until it's undone by somebody else - an automated job in this case. So here's a possibly nefarious suggestion for you. If you can code, write an automated job ...
Derek Gusoff's user avatar
  • 8,046
1 vote

Using "react-script-editor" is preventing me from saving the team site as template. any workarounds

It’s by design that save site as template with certain custom apps in SharePoint Online or SharePoint server 2013. You can remove the app when save the sub site as template, then re-add it in the new ...
Hellofiona_MSFT's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible