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

learn more… | top users | synonyms

0
votes
1answer
4 views

jQuery script for new list item form only works in edit mode

Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded ...
0
votes
0answers
11 views

Determine all sites with active script editors sharepoint #CEWP

Can somebody help me to determine all the sites which have content editor web parts active on the SharePoint Farm?? Both publishing and non publishing sites.Is there a script? I found one at ...
1
vote
3answers
565 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 ...
1
vote
1answer
47 views

Content editor webpart code to add a background image in SharePoint 2013?

I have the following code to add a bg image on my Subsite home page. It does'nt seem to work and I have a solid feeling its the way I'm referring the image (stored under a picture library named 'Image ...
1
vote
1answer
58 views

Sharepoint 2010 web part & IE 11 - targets document mode 8… APIs may not be available

I am running some javascript (d3.js, sp.js) in a web part on a sharepoint 2010 site. Everything runs fine when I use chrome or firefox, however when I open the page in IE 11 it does not load correctly ...
2
votes
1answer
2k views

Setting ContentEditorWebPart ContentLink property to absolute path

To avoid adding some static HTML to my custom masterpage, and allow the end-user to easily change it by just changing an HTML file instead of the masterpage, I'm trying to embed a static ...
3
votes
1answer
1k 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
572 views

400 (Bad Request) ERROR while trying to use JS files in Content Editor Web Part

So, I added some code in Content Editor Web Part and code is started like this: <script src="/<MyURL>/_layouts/15/SP.Runtime.js" type="text/javascript"></script> <script ...
0
votes
0answers
41 views

sharepoint content editor editing issue in IE on adding max-width

I tried adding a default content editor webpart in one of the pages. When I add few lines to it, it keeps selecting the whole paragraph when i click on the content editor to edit the content. How ...
1
vote
1answer
651 views

Grabbing a filter value via CEWP code behind

I have employed a Query String Filter to parse a value and send it to a chart web part. now I would like to use this value in a CEWP to provide an explaination/clarification for the chart, but the ...
0
votes
2answers
37 views

<FORM> tags are not supported in custom page layout

I am creating a custom page layout (I am also using a custom masterpage). I have created a CEWP and linked it to a notepad file, the file is just HTML and Javascript <table border="0" width="200" ...
1
vote
1answer
29 views

Make a content editor web part “expire” after a certain date

Is there any chance of setting up an end or expiry date to content editor web part, so that it automatically go off when it passes the set date? I am using SharePoint 2007.
0
votes
0answers
19 views

Create Template for Page with List and CEWP

In our portal we have a List that acts as a signup sheet, and above it we have inserted a CEWP to provide some directions. Is there a way that I can save the combination as a template of some kind? ...
0
votes
1answer
76 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 ...
3
votes
1answer
27 views

Adding a Content Editor Content Link causes other Web Parts to have a truncated title

In SharePoint 2013, I added a Content Editor Web Part and then specified a Content Link. After I did that, other Web Part titles were truncated on the left hand side. This side effect even extended ...
0
votes
0answers
22 views

Script to link image and YouTube video

I know how to link a YouTube video to a graphic image to play the video on a separate page, but how can I get the video to play on the same web part/page when clicked on the image in 2007?
1
vote
3answers
5k views

Javascript in content editor web part not working after publishing the page

I have a publishing page in which I have placed content editor web part which contains the link to redirect the user to application page. Code in the content editor web part is: <script ...
1
vote
3answers
5k 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 ...
0
votes
2answers
67 views

Looking for count down clock in CEWP using html/jquery [duplicate]

I am looking to insert a count down clock in content editor web part using html / jQuery. Did any one ever do this? I am unable to figure out how to start as am not a pro in scripting.
1
vote
2answers
131 views

Programmatically create fields in a SPList using Client Side OM

Has anyone tried with creating some 20+ Single line of text SPField using Client Side OM, like within a Content Editor Web Part. Because creating a SPList with these many number of columns using ...
4
votes
1answer
2k views

How to retrieve all choice field values using ecmascript – SharePoint 2010 and bind to html dropdown in the content editor webpart

I need to bind the SharePoint 2010 choice column in the HTML dropdown of the content editor webpart.. I have followed this blog but it could not achieve my requirement. I have replace my listname, ...
8
votes
4answers
5k views

SP2010 - Edit in Sharepoint Designer open in Word

I'm completely stuck on this issue that keeps reoccuring for my organizations Sharepoint Administrators. On a Site Page under Site Actions, selecting the option 'Edit in Sharepoint Designer' opens ...
0
votes
1answer
74 views

SharePoint Content Editor HTML textbox Enter key leading to Edit mode of Page

While using HTML Textbox in content editor and from Chrome or Mozilla User presses Enter key leading to edit mode of the page. Issue with SharePoint 2010 and SharePoint 2013
3
votes
1answer
39 views

Remove content editor name when page has been published

I have a content editor webpart in Office 365. When I publish the page the content editor name is still there. How can I remove this?
0
votes
2answers
1k views

Content Editor Web Part not loading Content Link

I have a Content Editor Web Part, pointing to an html file at the web app's root (Content Link = "/Style Library/MyCollaborationWebParts/MyCollaborationLinks.html"). The content showed by the CEWP ...
0
votes
2answers
46 views

How to put Script Editor inside Content Editor?

I have a javascript and in order to work, I have to use Script Editor. The reason why I want to put Script Editor inside Content Editor is because Content Editor are filled with tables, and 1 of the ...
0
votes
2answers
31 views

Migrated sites don't allow edits

We've migrated all of our sites to SP 2013, but now many of them (still with the 2010 UI) don't allow editing to pages. If you click "Edit this Page" it blinks, but you can't edit the content. Is ...
0
votes
3answers
348 views

referring to files in style library from content editor web part

I have a content editor webpart I am referring a html file to the content link of the webpart the contentLink looks something like the one below sites/ImageList/Style Library/Page/ImageList.html ...
0
votes
0answers
24 views

Is there a way to get a Provider-Hosted app hosted on a page to access Excel Web Parts also hosted on the same page?

Currently I use a content-editor web part (CEWP) on the same page as an excel web part. The CEWP points to an html file in a document library on the same SharePoint site. As such, JavaScript in ...
0
votes
0answers
29 views

Sharepoint 2010 iFrame question

I'm looking for some help on a problem I've encountered, I've built a SharePoint site and I have 3 separate content editor parts (2 parts for header and footer banners and a 3rd linked to a text file) ...
0
votes
0answers
21 views

content editor reverting back to old data

I have a content editor in SharePoint 2010 and I have updated and saved it, which seems to have worked fine. But say I come back a day after and it has reverted back to the old data. Any ideas?
0
votes
1answer
60 views

Jquery UI not loading

I have a standard web part page and am reading items from a list and then displaying then under jquery tabs. I have downloaded the jquery UI (minified) and placed them in the site assets library of ...
0
votes
1answer
49 views

SP2010 - CEWP not executing javascript until page refresh

The CEWP is loading a HTML page stored in the Site Assets library. The HTML contains a few inputs and some Javascript. Javascript is: Function myInit(){ console.log("here"); Ctx = new ...
0
votes
0answers
30 views

How to save data locally to a webpart?

So, here's my scenario. I have a webpart which has a textbox. I want to save the contents of the textbox specifically tied to the webpart (there would additional controls but I don't want to save ...
0
votes
2answers
106 views

Relative Paths in Content Editor Web Part

I have a relatively complex html-structure in a document library, which I want to display in a web part. The web part refers to site.com/library/index.htm, from which other pages are called. Problems ...
0
votes
1answer
31 views

Tooltips or Popups from List/Reusable Content

A customer would like to insert descriptions on words in his text on a page. Two possibilities to show them: 1. You hover a special word and a tooltip shows up with the description of the word. 2. ...
3
votes
1answer
885 views

Why Do My Content Editor Web Parts Have “noindex” Class?

When i create a content editor web part on a publishing page in SharePoint 2010, the following code is created: <div WebPartID="151e7c56-689b-48ef-ab7e-7f8ed3958cb5" HasPers="false" ...
0
votes
1answer
240 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" ...
1
vote
1answer
41 views

Creating a modeless dialog box that appears automatically after 5 mins

I have a sharepoint site. On it I want to apply modeless dialog box , that will appear after 5 mins when user has open the site. Please suggest. I have written javascript code in CEWP that opens a ...
0
votes
1answer
69 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
0answers
20 views

List views disappearing when navigate to a different page and back

One of the pages on my website I would like a place where I have a quick summary of all of my lists. I made another list and under site settings I added web parts of the lists that I would like to ...
0
votes
1answer
454 views

JavaScript code block messing with drop-downs in Menu

I am using SharePoint 2010 and I need to place the following JavaScript code on a page to give me time in Rome <SCRIPT LANGUAGE="JavaScript"> function GetTime() { var dt = new Date(); ...
1
vote
0answers
40 views

Client-Side Save Event in Edit Mode

Is there any client-side event I can listen to when a user saves a page? I know how to detect the edit mode and I could add event listeners to save/check-in buttons, but it would be better to listen ...
1
vote
4answers
6k 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
0answers
65 views

Span Image within content editor webpart across whole page

I have a sharepoint 2013 online site and am adding an image to the home page underneath the navbar. I am adding the image by adding via a content editor webpart which references a html file code ...
1
vote
1answer
338 views

Get the list of all webparts IDs in a page using REST/CSOM

I have few content editor web parts in my page I need to get the GUID of all the web parts that are there in the page I am able to get the list of all webparts in the page by navigating to ...
0
votes
0answers
98 views

Add SharePoint form fields in content editor web part

I have one Feedback list with columns like category, contact name,contact email, comments and I want to create one feedback form. First of all I need to use Content Editor Web Part only for that with ...
0
votes
1answer
76 views

jQuery validation on date field

I have 2 date fields in SharePoint list Deferral Raised Date and Original Dispatch to date. I want to put formula in jQuery such that value of Original Dispatch to date should be less than Deferral ...
0
votes
1answer
302 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 ...
0
votes
2answers
126 views

Unable to execute javascript user function within Content Editor

Trying to implement some javascript functions within the content editor. I have more advanced code to implement, but am not able to even execute the following code. The user defined function will not ...