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

3
votes
2answers
3k 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 ...
1
vote
0answers
895 views

SharePoint 2010: Removing link border around image using the content editor web part

In addition to topic Remove link border from around image, I was wondering if it were possible to remove all the borders around linked images on a page using the content editor web part? I've added ...
1
vote
1answer
737 views

Designer Workflow: change document file extension upon upload

So I would like to try to create a workflow on a library that simply checks to see if the file extension is anything other than .xml, and if it is, rename the Name (File Name) to the same value with ...
1
vote
1answer
1k 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 ...
0
votes
2answers
376 views

Content Editor Web Part for Lists

I try to apply some styles to the list. I added CEWP into the page and edited the source. It is CEWP's source: <style type="text/css"> body{background-color:white;} </style> It doesn't ...
1
vote
1answer
247 views

Content Editor Web Part Uneditable in IE9

A user added a content editor web part with just some simple HTML formatted text to it today. Once the text is added and the page is saved no body can seem to edit the web part's properties unless ...
0
votes
1answer
157 views

How to embed external websites with IE8

Using IE7 and Firefox I can use Page viewer web parts & Content editor web parts to embed external web sites i.e. Youtube Kart Club Celebrates 50th Anniversary However with IE8 only the youtube ...
0
votes
1answer
453 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 ...
2
votes
1answer
213 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 ...
0
votes
3answers
837 views

How do I apply a CSS ID selector to a webpart page?

I am using a CEWP-linked HTML file to generate a menu of links to other web-part pages. I want to use this same file in a CEWP on each of the linked pages. As an indicator of the user's location, I ...
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 ...
0
votes
1answer
146 views

TelerikRADEditor web part error

I have migrated from SP 2007 to SP 2010 and have some error webparts with content I need to keep. I would like to move the content into a OOTB Content Editor Web Part as a part of my SharePoint 2007 - ...
0
votes
1answer
265 views

Get site url in ContentEditorWebPart content

I have added a ContentEditorWebPart to an Element file in visual studio. I want to get the current site url and place it in the content block (between the cewp:Content tags). How would i do this? ...
0
votes
1answer
52 views

Hyperlink in ContentEditorWebPart Content Fails

I have a ContentEditorWebPart in visual studio 2010. I have altered the content and added some html. When i deploy this it works fine. When i add a hyperlink to the content the deployment fails. ...
2
votes
1answer
339 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.
2
votes
0answers
49 views

Clicking on WebPart modifies page layout

I'm building a custom dashboard with some CEWP's and List webparts, using a three column page layout. Whenever I interact with (click) one of the columns, it adjusts the layout. In this particular ...
1
vote
1answer
681 views

Displaying Custom List Items in Content Editor or Content Query Webpart

How to Display my custom list items in Content Editor or Content Query Webpart? In this Webpart how to make data as "scroll= up"? for Eg: News Scrolling in Home Page.aspx. If any one of the news is ...
0
votes
0answers
225 views

Display Current Site Name in Content Editor Web Part

I have read the Answer to "Dynamically Display Current Site Name in Content Editor Web Part" but i do not understand why > <script type="text/javascript" language="javascript"> > ...
2
votes
1answer
469 views

Where is the Spell Checker in the Content Editor Web Part in SharePoint 2010?

Has the Spell Checker been removed from the CEWP in 2010? In 2007 users using the Rich Text option could spell check content. In 2010, the ribbon is showing no option to spell check. It does however ...
0
votes
1answer
493 views

Adding templates to ItemStyle.xsl with a feature

I need to add an extra template to ItemStyle.xsl using a feature deployment - any idea how to add things to that file programmatically?
1
vote
1answer
122 views

Web Part JS ToggleMe not running

I want to add toggled visible / invisible divs to a SharePoint wiki page, and put the function for the toggling in a web part. My toggling script works fine testing outside of SharePoint, but inside ...
1
vote
2answers
402 views

How to add a specialised content editor web part to the web part gallery?

I would like to add in the web part catalog for the whole farm a specialized version of the content editor web part. Actually, I want to allow all site managers to drop a content editor that contains ...
0
votes
2answers
707 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 ...
2
votes
1answer
210 views

SharePoint & Protocol-Relative URL's

A common web development trick is to use protocol-relative URL's, i.e. we drop the scheme part of the URL, e.g. http, and based on the scheme of the page the URL's take will use that scheme. However ...
0
votes
3answers
4k views

Populate a text box based on drop down value from a sharepoint List

I have a List B that has a look up column "State" to a column "State" in List A .List A has corresponding column "City" to each state(unique combination) . While adding new item in List B , State is a ...
1
vote
1answer
1k views

JavaScript in CEWP does not execute

After putting a small script together and pasting it into the Content Editor Web part all my breakpoints show the following warning in IE 8's debugger: "The breakpoint is not valid. No executable code ...
1
vote
1answer
4k views

jQuery to modify SharePoint 2010 Column Width

SharePoint 2010 - I have a Standard Task list in Gantt View that represents a list of projects (Sync from Project 2010). Since the column widths are not-persistent in SharePoint, I wrote a script to ...
0
votes
3answers
2k views

JavaScript window.location doesn't work in content editor webpart

my issue is, that the following script with its window.location function doesn't work in a sharepoint content editor webpart. I've tested it as a standalone and it worked fine, but as soon I inserted ...
0
votes
1answer
5k views

Dynamically Display Current Site Name in Content Editor Web Part

I have been researching how to use the SPSite site = SPContext.Current.Site reference to pull the current site name, but I am unsure how to call this in a content editor web part. All I need is the ...
0
votes
3answers
1k views

Show Web part only for Logged in User

Is there any way that i can show a web part only for current logged in user .I want to achieve this on an out of the box content editor web part .Please suggest me
0
votes
1answer
89 views

Searching for a CEWP on a page using jquery

I have a requirement where in i have to set the link of the CEWP using jquery on a button click. The approach i was thinking of is : On button click , find the CEWP on the page. Change the link to the ...
3
votes
3answers
8k 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 ...
0
votes
1answer
446 views

CEWP showing up in IE and in FF, but not in Chrome or Safari

I'm implementing the nivo-slider in a Content Editor Web Part, and it shows up and works in Firefox and in Internet Explorer. I'm referencing a text document through the content link, and this is ...
0
votes
1answer
65 views

I want to give a user with minimum permissions the ability to use a content editor

Just one particular content editor. So the user's permissions will still apply (i.e. they are not an editor so typically cannot edit) but will still have access to a content editor's rich editing ...
1
vote
0answers
127 views

CEWP won't allow text to be edited

Recently, I imported a CEWP on my site from another. For some reason, no other user can edit the text but me, even though they have Design permissions to edit it. I've checked the permissions for ...
1
vote
1answer
194 views

How to access the webpartmanager of a list?

I would like to programmatically add a CEWP to a list (to perform operations on my list forms), it's very easy to do it through the SP interface but I can't manage to reach the webpartmanager of my ...
2
votes
1answer
679 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 ...
1
vote
3answers
5k views

Is there a simple override method to change the background of a webpart? SP 2010

Found out how to change the background of one single page (body of that page). This works when I want a single page or two to have a specific background instead of modifying a master page. Is there ...
0
votes
0answers
231 views

Setting Enum property in Editor Part dynamically

I have a custom web part in SharePoint 2010. It has a content editor part implemented.Content Editor part has following properties say Choice : choice1,choice2.....choice5 these are checkboxes. Choice ...
1
vote
1answer
2k 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
1k 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
553 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
731 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
347 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
753 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
419 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
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 ...
2
votes
2answers
3k 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
3k 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' ?