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

8
votes
4answers
6k 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 ...
6
votes
2answers
1k views

Can I Use SharePoint's Web Services to Edit a Content Editor Web Part?

Is it possible for me to change both the properties & the HTML of a content editor web part on a publishing page using SharePoint 2010's web services? If so, would you mind pointing me in the ...
6
votes
1answer
532 views

Multicast playing of video inside SharePoint

If I use the Flow Player (http://flowplayer.org/) to play videos (which is stored on a network storage) using the Content Editor Web Part in SharePoint 2007, will the videos operate in a multicast way ...
5
votes
5answers
7k views

Copy and paste for images in SharePoint

It seems that whether it's a content editor web part or publishing page, copying and pasting images is a poor user experience in SharePoint. The user needs to upload the image somewhere first, then ...
4
votes
4answers
5k views

jQuery and SharePoint 2010 - How can I tell is the page is in edit mode, using javascript?

I have some javascript in a CEWP that I want to execute only when the page is in display mode. I've used firebug to scour the page for some "msEditMode" type of variable or something I can rely on. ...
4
votes
4answers
13k views

“the HTML source you entered might have been modified”

"the HTML source you entered might have been modified" In SharePoint 2010, this is the scary message you get everytime you use the "edit HTML source" button with the Content Editor Web Part. In ...
4
votes
1answer
2k views

2013 - Setting Object Height to 100% Issues

I've been running into some very bizarre issues. Something that seems (and should be) pretty simple. What I'm trying to is have objects fill a new page's height 100%. Initially, I was trying this ...
4
votes
1answer
71 views

How to embed more than two CSS files on a SharePoint-Site

I have a kinda strange requirement to outsource every little CSS coding solution in any extra file, located in any library. Now I would like to embed multiple CSS files on any Site, using Script ...
4
votes
2answers
1k views

Content Editor and RSS Viewer Conflict

I'm using the RSS Viewer webpart on a page with no issue. If I add a Content Editor Webpart to the the page (doesn't matter if I add content or leave it as the blank default) the RSS Viewer works ...
4
votes
2answers
3k views

Add content editor webpart programmatically and still keep it editable

Essentially what I want is to pre-load the existing content editor with some text may be from a configuration(by adminstrator) or from the list. So I am creating a custom wp that will act like a ...
4
votes
2answers
227 views

5 Dashboards 1 list. Need each dashboard edit view to show different list fields

I don't have access to the original source code. I can use infopath 2010, sharepoint designer 2010 and access to use CEWPs. I have 5 Dashboards connected to 1 list. This is just one# Each ...
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, ...
4
votes
5answers
647 views

Tracking changes to a Content Editor Web Part and sending email

Is it possible to track changes made to a content editor web part and alert users to these changes? Basically, the same thing that I would do with a list, but with a CEWP instead? Thanks, Ninel
4
votes
1answer
2k 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 ...
3
votes
3answers
13k views

How to resolve “Cannot retrieve the URL specified in the Content Link property”

Salvete! I have a Content Editor Web part into which I want to load a simple bit of html (just an input box and a button or two). The file is at /_layouts/myfolder/myfile.html When I use the "Test ...
3
votes
5answers
3k views

Why am I unable to save JavaScript in a Content Editor Web Part?

I am trying to follow this link and put all the code in a CEWP as suggested. After saving the page the code goes away (except for the gear part, top line). I could really use some help if possible.
3
votes
2answers
6k views

Customising Data Sheet View

I'm using SharePoint 2007, with custom list. I'm using Content Editor web part in order to design my list. {In my list the row color determined through the item ststus. e.g: If the status equal to ...
3
votes
1answer
51 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?
3
votes
2answers
5k views

Custom Page Layout in Sharepoint 2013 Foundation

Sharepoint comes with a set of Text Layout Templates. How can I create my own custom Text Layouts under Sharepoint 2013 Foundation. What I'm trying to achieve is a shown below. PS: I do not have ...
3
votes
2answers
4k views

Can I edit a publishing page using Powershell?

I have a bunch (technical term) of publishing pages within a single subsite of my site collection that contain a broken link. I'm wonder if it's at all possible to use Powershell to perform a 'global' ...
3
votes
1answer
34 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 ...
3
votes
4answers
1k views

Security trimmed content based on group membership (target audience)

I realize that content editor web parts can utilize audience targeting in the full version of SharePoint. I'd like to go one step further and actually target content within my CEWP to specific groups. ...
3
votes
2answers
5k views

Disable a form text field with jquery in CEWP not working in Chrome/Firefox

I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
3
votes
8answers
5k views

Content editor web part “Cannot retrieve properties at this time” and “Cannot save your changes”

I have an issue with the Content Editor Web Part. Whenever I edit the content I get the following error message: "Cannot retrieve properties at this time." and then when I click OK and proceed with ...
3
votes
1answer
607 views

content editor webpart changes relative path to absolute path

we have a sharepoint 2010 webapplication which is extended for anonymous access. Inside the company we use http://A (dns record is not public, it works only inside the company) From outside it's ...
3
votes
1answer
1k 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" id="...
3
votes
2answers
742 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 ...
3
votes
1answer
462 views

Diffferent methods of retreving site column values

I'm wondering if there are any differences between retrieving value of a site column (RichHtmlField) via PublishingWebControls:RichHtmlField vs getting its value via Container.DataItem? <...
3
votes
1answer
462 views

Dynamic embedding of flash video

I can successfully hard code an embed path in a Content Editor WebPart(CEWP) or link a CEWP to a text file that has the embed path, but this is hard coded because the CEWP is not connectable and I ...
3
votes
1answer
231 views

Edit item popups not working with ms-listviewtable class in a CEWP

I'm using SharePoint 2010 and Internet Explorer 9. (I have no choice in browser or versions -- policy dictates I use these until told otherwise) I actually solved my problem, but I still don't ...
3
votes
0answers
232 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
2
votes
3answers
645 views

javascript- How do I create a global variable among all pages

I implemented a toggle in my home page through javascript in content editor web part, the toggle has state between 1 and 0. Now I need the exact same toggle in all other pages of my site, but I'm not ...
2
votes
2answers
5k views

SharePoint removes iframe source from content editor randomly

I have content editor web part in which I am using iframe to display data from some other site. The iframe code is pretty simple such as: <iframe src="http://www.stackoverflow.com"></iframe&...
2
votes
2answers
1k 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: ...
2
votes
3answers
1k views

How to put an iFrame with a QueryString appended in its src in the ContentEditorWebPart?

I have a SharePoint site Page in which i need to put an iFrame element to display a web page.To achieve that I wrote some html and javascript within CDATA tag inside the Content section of a ...
2
votes
3answers
4k views

How to Create Piechart in sharepoint 2010 Based on the List item Values? Only using Javascript/jquery

I have a CustomList in Sharepoint 2010 as Mentioned Below.have two columns Team and Values of Team List A Team ValuesofTeam A 9 A 6 B 7 C ...
2
votes
2answers
1k views

Mandatory File Attachmant

I want to make file attachments mandatory in a list. Every new element should have an attachment. Therefore I used a content editor webpart with following sourcecode: <script type="text/javascript"...
2
votes
1answer
782 views

Javascript is changing in Content Editor WebPart

I want to add this a Widget in my sharepoint site. But every time someone edit the page, it mess the script. Someome knows why sharepoint is changing the script? And how to avoid it? The script that ...
2
votes
2answers
2k views

JavaScript with CEWP using ClientContext, do I need to add src to tag?

I am new to SP Dev and I am trying to add some CEWPs that reference javascript I have placed in text files and uploaded to a document library. For bland functions it seems to work fine, however for ...
2
votes
1answer
1k views

Error on page when using an iframe in a Content Editor Web Part

I am trying to set up on iframe on a SharePoint 2007 page that will show the most current project report uploaded to a document library. Here is my code, inserted into the page in the source of a ...
2
votes
5answers
8k views

Expand 1st Group and collapse 2nd Group in list view

I have a list view Grouped by Status column. Status Contains Active and closed values. now i want the default view to open with, Status:Active group to be Expanded and Status:Closed group to be ...
2
votes
1answer
40 views

How to remove content editor after first load of any page

any one knows how to remove content editor after first load. I want to load the page with content editor for the first time but after page refresh the content editor should be removed from the page. ...
2
votes
1answer
703 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 http://...
2
votes
1answer
217 views

How to create webpart page using ECMA Script

I have tried to create webpart page using ECMA script, but did not get the right solution. Example : I have created two text-boxes one for "page name" ,second for "web-part name". when user click on ...
2
votes
1answer
823 views

Bootstrap Form Content Editor Webpart Sharepoint

I am trying to create a form which will style nice using bootstrap to look like one of the forms in the link twitter bootstrap forms However if I add the form tag to the content editor web part I ...
2
votes
3answers
88 views

How to save a textarea field and show it on return to that page

I'm trying to build a training system in Sharepoint 2007 where there will be a textarea at the bottom of each page for the user to enter their responses to questions or statements. All I need is for ...
2
votes
1answer
287 views

How to Roll back Sharepoint content editor webpart

I have content editor on my team site where I added several links. But today while adding some new links, content editor crashed. so now when I tried to open site containing content editor, browser ...
2
votes
2answers
1k views

How to generate link based on selected list item?

I have a Knowledge Base template site that I'm trying to customize. I want to create a simple search site, with just two items on it: - a dropdown menu which displays content of "Keywords" list (from ...
2
votes
1answer
231 views

Content editor WP mangles code

I'm having issues using the content editor web part on publishing pages of a SharePoint 2010 site. I paste the following JavaScript into a CEWP: <script> $(document).ready(function () { ...
2
votes
1answer
529 views

Changing Content Editor Programatically - Client model API?

Is it at all possible to make changes to or add a content editor to a page using only the Client Object Model API? There does not appear to be any reference to a ContentEditorWebPart dll.