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
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
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 ...
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 ...
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 ...
1
vote
1answer
62 views

How to get content from Content Editor WebPart (CEWP) to a custom WebPart on the same Page?

I have two webparts on a single page: Content Editor WebPart My Custom WebPart I need to send content from 1 in HTML format to 2. Is there a way to achieve this? I was thinking of, maybe, adding ...
1
vote
2answers
429 views

Content Editor Jquery working in Firefox not in IE

I'm trying to display an image, content and a link to open new list item dialog box. This is working in Firefox, but in IE it gives the error "wrong number of arguments or invalid property ...
1
vote
1answer
377 views

Wiki content editor override

I have an issue which is probably specific to this product that has effected the content editor on the wiki pages for the site collection. The product 'wraps' the Telerik RadEditor within a solution ...
1
vote
3answers
2k views

How to bind the sharepoint list 2010 values in the Html dropdownlist using Javascript/ECMAscript?

I have created one Custom List in sharepoint 2010 as mentioned below: LIST A: Title TeamName A cc b ddd c eee I have created html table in the Content ...
1
vote
1answer
456 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
508 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 ...
1
vote
1answer
182 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 ...
1
vote
1answer
996 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 ...
1
vote
2answers
447 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
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. ...
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 ...
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?
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 ...
1
vote
2answers
176 views

SharePoint 2013 Online JavaScript CSOM CEWP

I am in a need of some guidelines according developing in SharePoint 2013 Online. I want to learn developing on a sharepoint 2013 online site. Im using Content editor web parts and want to retrieve a ...
1
vote
1answer
32 views

Changes in list column don't reflect in list app on page

I have a list column, type "Choice" with boxes that can be ticked. For example: [ ] Category A [ ] Category B If I add another option on a new line, say "[ ] Category C", and save my changes, I then ...
1
vote
1answer
187 views

Quick Launch Bar Wrap Text

Currently, my page titles in the quick launch bar are wrapping in the middle of the text. My objective is to have the word not be broken into two. However, I do not want to change the Master page. ...
1
vote
0answers
71 views

CEWP Disappears on Edit

I've been using Wiki pages (by default) and adding CEWPs to them, and linking (text) script files to those from a site assets library to implement functionality. However occasionally when I edit a ...
1
vote
0answers
423 views

Javascript in CEWP queries a list every time dropdown is changed on NewForm.aspx not working

I am trying to apply javascript in a CEWP to a NewForm.aspx page of a simple custom list. Basically, the idea is to auto-populate a text field on the new item form whenever a dropdown column's ...
1
vote
0answers
66 views

Update CEWP without refreshing page

I have a webpart which contains 3 charts. The charts are built using google's chart API and SPJS Chart The problem I face is that I'm trying to get the charts to seamlessly update as the list gets ...
1
vote
0answers
103 views

css issue when using from SP2010 to SP2013

I have one content editor webpart, in the document library view page which freezes the header row. It works fine when using it in SharePoint 2010 environment. But when I moved that CSS to SharePoint ...
1
vote
1answer
322 views

Is it possible for a html textbox to populate a sharepoint column in a list?

Here is the scenario: SharePoint 2010 doesn't have a back button, this makes it difficult when a user messes up in a branched survey. I have created a little JavaScript embedded html page that I ...
1
vote
1answer
306 views

Document Library Group By Style

In a document library, I have documents grouped by two columns. I would like the view to have less spaces between the group by categories (see attached screenshot). I'd like the space between the ...
1
vote
1answer
638 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 could not able to achieve my requirement. ...
1
vote
0answers
522 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
177 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 ...
1
vote
1answer
110 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
1answer
3k 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 ...
1
vote
0answers
124 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
0answers
267 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 ...
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 ...
1
vote
2answers
292 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 ...
0
votes
2answers
62 views

How to manage text modules (boilerplates) with Sharepoint?

I want to manage boilerplates/text modules in SharePoint. Text modules are content snippets, which may appear on multiple sites, but are only stored once. When the source is changed, all references ...
0
votes
2answers
110 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 ...
0
votes
3answers
595 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 ...
0
votes
3answers
975 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
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 ...
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" ...
0
votes
1answer
60 views

How many files can I link in the CEWP

I have a CEWP which contains HTML button and JS for functionality. The html editor of the cewp keeps removing certain links from my code and I'd rather just link to the source file. How do I link to a ...
0
votes
3answers
1k 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
63 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 ...
0
votes
1answer
525 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 ...
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 ...
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 ...
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
23 views

Edit page SharePoint designer 2013

I need to edit a page in SharePoint Designer 2013. When I open the page in edit mode, I can see the web parts but I can not edit them. How can I do it? (I need to add a CSS link in the Content ...