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

1
vote
1answer
991 views

Get the content of a content webpart with the client object model

Is it possible to get the content of a content webpart by using the client object model of SharePoint? The usage scenario: I want to copy a site page (with content in content editor webparts) from ...
0
votes
2answers
932 views

Javascript How can I return a value for document.write in CEWP with javascript

I am new to this, and I am just trying to understand how to use some of the javascript I have learned in different ways. This may be a question of context, but an examples or explanation is always ...
2
votes
2answers
1k 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 ...
4
votes
5answers
473 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
1
vote
2answers
445 views

Include Column Values in Content Editor WebPart

We want to create sites based on a site template that we're defining. We are planning on including a hidden list (containing only 1 row) with structured metadata related to that site i.e. a columns ...
1
vote
0answers
263 views

Like Buttons in CEWP

I want to have multiple like buttons on a page so as a test I have made a content editor web part with the following script. It basically has two links that like two different pages in the site. The ...
0
votes
1answer
616 views

Use Content Editor and iframe to Dynamically Display Selected PDF

So I have a library with PDF documents in it and a content editor web part underneath. When I select a PDF item I would like it to display in the <iframe>. I can accomplish this with a static ...
3
votes
1answer
384 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? ...
6
votes
2answers
794 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 ...
2
votes
2answers
2k 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' ...
2
votes
2answers
2k views

Overwrite the default font for Content editor webpart in sharepoint 2010

I added a content editor webpart in my sharepoint page. By default it is using 'Verdan' font type. How would I change it to 'Arial' ?
0
votes
1answer
599 views

Remove 'Edit this page to modify your web part content' from CEWP

I added Content Editor Webpart in my Sharepoint page. If there is no content provided in CEWP then 'Edit this page to modify your web part content' default text is displaying in the page. How do i ...
1
vote
1answer
634 views

Possible to use createNewDocumentWithRedirect to redirect to a web based Infopath form?

We create a link to a InfoPath client-based form (meaning that the form is open at the client machine which have infopath installed.) by using the following source code inside a Content Editor web ...
2
votes
3answers
5k views

Change default font-size in Content Editor

I need to change the default font-size in Sharepoint 2010 Content Editor. I've tried to set .ms-rte-wpbox {...} CSS property as suggested somewhere on web but it didn't work. Any help would be ...
2
votes
1answer
960 views

Set font size for web part zone

I have SP2010 Web Part Page with several Content Editor web parts in the 'body' Web Part Zone. I would like to set the typeface and point size of the titles displayed in the web part chrome. It seems ...
1
vote
2answers
1k views

How can I add sections in a Document Library?

I have a Document Library of uploaded documents which are classified in sections and displayed by a WebPart. I wan't to add a new section in this library but I didn't find where I can do that. I must ...
0
votes
2answers
698 views

Editing page , adding web part Error

When editing my page and clicking on add web part, a JavaScript error occurs saying wpadder.debug.js invalid argument error. This just happens on ie7, 8 and 9. Chrome is working well as is Firefox. ...
1
vote
1answer
237 views

Custom default page - edits not saved in content editor web part

I've created a custom default.aspx page which is provisioned through a custom web template using SharePoint 2010. I've added the below code to add a content editor web part, with some default content. ...
0
votes
1answer
882 views

Javascript in Content Editor will not run unless our URL is a trusted site

We have a client that have their systems set up so that the Javascript in a Content Editor on a page does not seem to run unless they add the url of the site to the list of Trusted Sites in Internet ...
1
vote
4answers
3k 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 ...
3
votes
1answer
396 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 ...
2
votes
1answer
805 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 ...
3
votes
2answers
2k 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 ...
1
vote
2answers
291 views

No editor in the Content Editor if added programatically

I am adding the Content Editor pro grammatically in my custom wp (into the asp.net Panel), where I am pre-loading the CEWP with some contents. But the issues is once added pro grammatically. I do not ...
2
votes
0answers
732 views

Content link URL for a content editor web part

I'm creating a content editor web part that needs to point to the site collection root. Currently, for it's "Content Link" URL field, I have ../../SiteAssets/js/jquery-rotator/slider.txt but this is ...
2
votes
1answer
219 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 () { ...
0
votes
1answer
2k views

How to add a webpart using Sharepoint Designer 2010

Is it possible to add a webpart to a page using Sharepoint Designer 2010. I'm trying to modify the newform.aspx page of a list to add a Content Editor Webpart into it. I can't find any way to do that ...
6
votes
1answer
377 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 ...
0
votes
1answer
524 views

Put Easy-Tabs in page layout rather than CEWP

Another question about the fantastic Christophe Humbert Easy Tabs library: Can the library be included in a page layout for a publishing site rather than in a content editor web part? This way it's ...
1
vote
3answers
661 views

sharepoint 2007 wiki customization

I have been asked to customize a SharePoint 2007 wiki site into a 'Wikipedia' like interface and functionality. After a bit of goggling it turns out that wiki's are not that readily customizable!! ...
3
votes
2answers
3k 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 ...
0
votes
1answer
651 views

Show/Hide Content Editor Web Part Based on Sharepoint Custom Content Type

I have created a room/resource reservation process using custom content event types. They are as follows: *Reserve a Room *Reserve an AV Resource *Reserve the Conference Room I have created a CEWP ...
1
vote
3answers
838 views

Showing the current user's tasks in a Content Editor Web Part using JQuery

I have been searching this site for an answer but I have been unable to find anything that will work. I have been trouble pulling the tasks of the current user from a subsite. I am using SharePoint ...
0
votes
1answer
142 views

How is it possible that CEWP shows up with IE but nothing in FF, Chrome and Safari?

On my machine I can get CEWP to show (image and data) on IE and FF. Chrome and Safari still show nothing (just blank screen). CEWP is linking to a txt file that has javascript stuff. Here is the code ...
1
vote
2answers
626 views

how to conditionally show a content editor webpart

how to conditionally show a content editor webpart based on user currently logged in. I have 2 links on my webpart page, and i need to show one of the link to only a specific user. is there a out of ...
0
votes
2answers
1k views

Content Editor Web Part blank in jQuery slideshow

Now I dont get any error(s). But the content editor wp is blank (well, except for the gear image). Any idea(s)?? <IMG ID="slideshowPicturePlaceholder" src="/_layouts/images/GEARS_AN.GIF" ...
2
votes
5answers
1k 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.
0
votes
1answer
430 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(); ...
0
votes
1answer
161 views

rotating images using Source Editor

I need the code for inserting a rotating banner image (banner that changes 2 or more images in the one spot). Does any body have this code?
0
votes
2answers
740 views

Content Editor Webpart and SharePoint 2007 object model?

I have to supply the query and should display the information on the sharepoint 2007 page based on the enterprise search results. I wonder, if it can be achieved thro' content editor webpart ? Want ...
1
vote
1answer
367 views

2007 CEWP - Rich Text box - Best way to insert image?

I am a power end user/non-programmer person..so please don't send me in the "custom code" direction--thanks! I need this to be an easy fix! (hopefully) --- I have a CEWP - and am editing it using the ...
1
vote
4answers
630 views

Migration from Sharepoint 2007 to 2010

Currently I work on a subsite from the SP 2007 farm. But in the upcoming future the parent site plans on upgrading to sharepoint 2010 and I wonder how will this effect my subsite. In my subsite I have ...
0
votes
2answers
719 views

How to delete Content Type drop down menu from EditForm.aspx

I am trying to delete Content Type drop down menu from EditForm.aspx but not able to do it? Any ideas? Pls shoot -saumil
0
votes
5answers
3k 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 ...
0
votes
1answer
897 views

Is there a way to fix the blinking of a dropdown menu over a .pdf loaded in a <div>?

I have an object inside a <div> that is displaying a pdf. This is done within a Content Editor Web Part. My drop down navigation menu "blinks" whenever it is over the <div>. The drop ...
1
vote
2answers
2k views

Preventing Duplicate Items in list (sharepoint 2007)

Is it possible to restrict, creation of duplicate list item in the Sharepoint 2007, using Javascript in content editor webpart to validate when an list item is added?
4
votes
4answers
9k 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 ...
3
votes
4answers
4k 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. ...
3
votes
8answers
4k 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 ...
1
vote
2answers
975 views

Content Editor Webpart Javascript Issue

I have recently upgrade our test environment to SP 2010 (using DB detach and attach approach). And also we did not do the Visual Upgrade. We have few CEWP's which is now starting throwing JS script ...