Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [content-editor-web-part]

You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.

0
votes
1answer
2k views

Unable to edit content editor web part even with full control

In SharePoint 2010. Two users are having the same permission (full control) and one of them is able to edit the CEWP without any issues. However, the other user is unable to edit the CEWP and doesn'...
0
votes
0answers
25 views

What is this unwanted files in SharePoint Online when we keep debugger?

I am facing very strange issue in SharePoint Online. I have a kept some JavaScript code to a Content Editor Web Part on a SharePoint Online Page. When I try to debug the JavaScript file, instead of ...
2
votes
1answer
39 views

SharePoint online TextEditor Option for Javascript and other code no longer available

I have noticed a recent dramatic change in SharePoint online. I have multiple java script and html scripts that control content editor webparts on my SharePoint site. Previously I could view and ...
10
votes
3answers
341 views

webpart hidden when in webpart zone

So I have a webpart that I have put into a webpart zone, when it is in the webpart zone it does not show but when I put it outside the zone it appears, what am I doing wrong? Code below: <...
0
votes
1answer
33 views

How to add a content link to a modern SharePoint site

In the classic site one could link a html file via the content link on the content editor webpart, as seen in the screenshot below- How can one do the same on a modern site? I tried adding the Modern ...
3
votes
2answers
78 views

Referencing javascript library in content editor webpart

So i have added content editor webpart in NewForm.aspx and reading the code to javascript file called HideFields.ps1. SO the script as below: HideFields.ps1 <script type="text/javascript" src="...
3
votes
1answer
858 views

Content Editor Web part missing office 365 - enabled Custom script

I have enabled the custom script in office 365, but still i cannot view the content editor part in my site collection (Publishing). However after enabling the custom script, the newly created site ...
0
votes
1answer
629 views
0
votes
1answer
652 views

Repeating section in SharePoint 2013

Just wondering has anyone ever found a solution for creating a repeating section on a SharePoint 2013 built in SharePoint designer and NOT Infopath. All resources online point to using the repeating ...
0
votes
0answers
22 views

Get Folder name when clicked on specific folder in picture library without using rest api

I want to get the Folder name when user clicks on a specific folder in picture library without using rest api. Is there any way I can achieve this? Please help me?
1
vote
1answer
702 views

Add a separator between certain columns on New/Edit Form on SharePoint 2013 OOTB

I have the following modified version of Curtis Weir's field hiding script from dmcinfo.com which I want to run using the SharePoint OOTB Script Editor: <script src="//code.jquery.com/jquery-...
0
votes
1answer
25 views

CSS list-style-image in Content Editor?

Anybody ever successfully used list-style-image css property in a ul list embedded in a SharePoint Content Editor web part? list-style-type works, but whenever I try to get an image instead of the ...
0
votes
0answers
6 views

SP 2013 Content Editor Web Part Repeats in Document Library sub folders

SP 2013, I created Content Editor Web Part above Document Library. When I click on sub folders, the CEWP remains unchanged. Is there a way to edit/change the CEWP in individual sub folders?
0
votes
1answer
15 views

List Column Width won't change

Here's what I'm trying to do: I have a list where I'm trying to enlarge the width of two particular columns. Here's the JS that I'm attempting to put into use: <script type="text/javascript" src="...
8
votes
4answers
3k views

Get selected items from JavaScript in the document library view

I have a page in which I have placed XsltListView web part to show the view of the picture library. Above that view I have placed a link using Content Editor Web Part which redirects to other web ...
0
votes
1answer
35 views

How Add Tab ability to Content Editor Web Part?

Hope you're well; I would like to know how I can add tabs in Content Editor web part in SharePoint Online. What is best solution to this. kind regards, Anees
4
votes
2answers
3k views

How to use html code in modern UI

This may be a rookie question but I just entered the world of SharePoint after a long time. I used to use the content editor web part to include custom html into my SharePoint pages, but now on the ...
2
votes
1answer
936 views

Line spacing on wrapped text

I am currently building content in share point, media & Content webpart, using Calibri, font size 12pt. I notice that when text wraps it creates a spacing. I would like to have 0pt spacing between ...
1
vote
2answers
190 views

Content editor webpart not available in newly created Team sites in Office 365

Content editor is not becoming available in newly created Team sites in office 365. I enabled SharePoint Server Publishing Infrastructure in site collection features and SharePoint Server Publishing ...
1
vote
0answers
12 views

Using ClientContext can we change the url of text file linked to content editor webpart?

Is there any way to change the url property of content editor webpart using Javascript function ? I found solution to change the title of the webpart not the url properties of the web part. ? ...
0
votes
2answers
88 views

JS script only throws error when used in SharePoint in Internet Explorer 11

I'm experiencing this strange issue. I have a basic valid javascript app (Vue.js + Vuetify framework) which works fine in any browser (without SharePoint, so run from any hosted environment). Next I ...
0
votes
1answer
44 views

Displaying List Item in CEWP on another Page

I have a SharePoint with several calendars named for their store number, I also have a list named Store Addresses which has the store numbers and their addresses. I am trying to display the address ...
0
votes
1answer
1k views

Add a “add Link” to a Content Editor Web part

I have used a Content Editor web part to display a scroll-down list of links. The code I use is similar to this: <select id="mySelect" jquery110205452414735412181="1" ...
0
votes
1answer
1k views

sp.ui.rte.js is not working in Internet Explorer 11 Version

We implemented custom Content Editor Web Part, inside that we are using the sp.ui.rte.js file. It is working fine up to IE10. Our project users upgraded from IE10 to IE11. When we edit the content ...
1
vote
1answer
38 views

Scripts Not Working in Content Editor

I have a generic out of box web part page. I have added a content editor web part on that page that links to a HTML file because I want to build my own custom form via HTML. Here is the HTML file. &...
5
votes
3answers
2k views

Remember filter value using jquery and cookies

I am looking for a solution for the following problem: I have a large list that is related to a second list. The two list web parts are on one page, when you select an item in the first list, the ...
2
votes
2answers
75 views

Single Page application without Content Editor Web Part [closed]

Right now my sharepoint site consists of one page, which has only a web part placeholder containing a content editor web part that links to my Vue.JS app. So basically I've created some sort of SPA in ...
1
vote
1answer
1k views

Set Style for Content Editor Web Part in Sharepoint Designer 2010

I have created a new page layout and added a web part zone. In this web part zone I have also added a content editor web part. When users go into edit mode on the page and add content to the CEWP, i ...
3
votes
1answer
29 views

How to persist data that is entered into a Content Editor Web Part

I've created a table where users can add/remove rows containing past employment history Code here I'm using a Content Editor Webpart which points to an html file that contains both the code and html. ...
4
votes
1answer
181 views

Content editor web part issue not rendering HTML

I'm having an issue w/ a Content Editor Web Part. I would like to add an HTML table that gives users the ability to add and remove rows from a table. How should I add the following code to the CEW? ...
2
votes
2answers
8k views

Connecting an html form to a sharepoint list

I am trying to build a customer feedback form in sharepoint. I have created a sharepoint list, which I was hoping to serve as the place where the feedback(s) will be collected. I have also made an ...
3
votes
3answers
3k views

Adding Font Awesome Icons to Quick Launch Links

When customizing the Quick Launch Links Navigation, I got stuck with adding Font Awesome Icons. How do I go about it so that it appears like the ones in the picture below? And the code is as below: ....
1
vote
1answer
40 views

Does one script override another script in sharepoint 2013?

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name ...
0
votes
1answer
9 views

How do I access a specific category of documents across libraries by clicking a web part tile?

Wondering if there's a way to accomplish this task: I've created separate categorized SharePoint libraries (i.e., Legal, HR, Business, etc.) which contain documents with a column-view based on ...
0
votes
1answer
50 views

How to remove close button, created by and last modified by from display form of list?

Using script editor/content editor web-part on the display form of list, I am able to get the list item to print. However it also prints close button, created by and last modified by from the display ...
0
votes
1answer
178 views

SharePoint Cross Domain REST Call from content Editor Web Part error

How to call cross domain rest call using SharePoint rest API 2013 posting data in SharePoint list from https://qa.sp.scb.org/en/whoweare/diversity/Pages/Admin.aspx To http://qa.sp.scb.org/fr/...
1
vote
5answers
10k views

ContentEditor WebPart Edit Permissions

I have a publishing site. A user is in the visitors group. On a certain page I have given the user Full control. They can edit the body of the page but cannot edit the content of a ContentEditor ...
0
votes
2answers
152 views

Get current user name into the single line of text field for newform.aspx using Javascript in New Item form

newitem.aspx opening into the popup, so where do I need to add Content editor webpart. While opening newitem form, I need to autopopulate current user Name into sigle line text field?
4
votes
1answer
404 views

Credentials popup issue while adding a user to SharePoint group with REST API

I am using SharePoint 2013 On-premise, We have two SharePoint groups(Group-A, Group-B) in a SharePoint site. Group-A is owner group of Group-B, Generally Group-A users can add,delete users from Group-...
2
votes
1answer
134 views

Online - Opening documents in client application keep asking for credentials

I've made a CEWP using REST API and Javascript where I create some links to documents that are stored in a document library. These documents must open in the client application (eg: Word) and not in ...
0
votes
2answers
801 views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
0
votes
1answer
155 views

HTML WebPart dropdown a custom list

I have a content editor web part that is referencing an html page. How can I fill a dropdown on that html page with the contents of a sharepoint custom list column?
1
vote
0answers
19 views

SharePoint WebPart forcing to fill out required fields to edit page

A sharepoint page created by my predecessor which is a content viewer web part has some HTML "required" tags to fill out a form. When trying to checkout and edit this in the browser, it just hangs on "...
0
votes
2answers
2k views

not able to see Content editor web part in communication site

I do have a web part page in my communication site. I did activated the publishing feature of both site collection and site feature. But, I am not able to see content editor web part. Users want to ...
1
vote
1answer
52 views

Retrieve anonymous link on creating item of a list

I have a classic sharepoint online list, when I create some item in list(create view) I want to retrieve a link of that item I'm currently creating to send email with that link to anonymous person. ...
2
votes
5answers
20k views

Hide Content Editor webpart title

I have a Custom Page Layout and I have placed a Content Editor Webpart to display some introductory text. I want to hide the title as there was this chrome type property in webpart which appears blank ...
2
votes
1answer
38 views

How to retrieve list item from the custom list, on a content editor with some texts?

As described from the question, i want to retrieve a list item and display it on a content editor. This should be most likely be using a javascript or jquery perharps? UPDATES: Here is an example: ...
0
votes
0answers
36 views

Very slow loading with 2 CEWP referring to different html files which load the same commons.js

I stumbled on a rather strange issue in SharePoint 2013 On-Prem. Case: Home.aspx has two CEWP's: Has a content link to /SiteAssets/CustomPages/tableOfContents.html Has a content link to /SiteAssets/...
2
votes
1answer
196 views

Form Validation fires even If I click outside content editor web part

I am trying to create custom content Editor webpart with HTML and JS code. I am simply adding item in list using REST API. I've given validation to textboxes using JQuery. Here is the code: JS $(...
1
vote
2answers
349 views

Unable to directly Edit html in the browser in SharePoint Online

From yesterday onwards, am Unable to directly Edit html in the browser in SharePoint Online env. i have created a folder called htmfiles in my siteassets librray on my SPO site, and i have a html file ...