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
0answers
14 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
1answer
588 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
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, ...
3
votes
1answer
947 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 ...
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
0answers
20 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
1answer
16 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
2answers
39 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
23 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. ...
7
votes
4answers
4k 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 ...
3
votes
1answer
733 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
54 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
32 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
40 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
18 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
452 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
26 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
23 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 ...
0
votes
1answer
70 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
58 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
41 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
86 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
64 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 ...
2
votes
3answers
144 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 ...
0
votes
1answer
47 views

Custom code in webpart HTML editor

I need to implement a simple show/hide div when a user clicks on a specific area of a map in sharepoint. The following code works perfectly in all browsers, but when i paste it exactly as is in the ...
0
votes
1answer
41 views

Audience Targeting not working in SP2010

We have 3 content editor webparts on Wiki Page. All the 3 webparts are added using SharePoint Designer. All the webparts have target audience. We are facing an issues when we deploy the wsp: All 3 ...
0
votes
2answers
130 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 ...
2
votes
1answer
86 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 ...
1
vote
0answers
230 views

Get inner content of Content editor web part Programatically using CSOM C#

I need to Access Web parts Content Property but it is not available in Web Part Properties when I tried with Client side object model C#. Please find below reference links for detail information. ...
0
votes
0answers
5 views

Content Editor as Aggregator for PDFs SP2010

It's a bit complex so I hope I explain it right and I would really appreciate any insight. Unfortunately right now I can't use Designer or add any custom web parts. So I have to work with CEWP and the ...
0
votes
1answer
33 views

Not able to update src in <embed>

I used the below code in content editor to extract the query string and update the src of <embed>. <object><embed id="ExampleEmbed" src="somfile" height="850" width="850" ...
1
vote
1answer
29 views

How to change src of <embed> tag in a content editor?

I have inserted the below code to display my file in content editor web part. <object><embed src="somfile" height="850" width="850" ...
0
votes
1answer
39 views

How to hide both the quick links bar and the recently modified portion?

As a site administrator for my team I decided to abandon the left side quick links bar. I took the following steps to do that: From Site Settings, I disabled the quick links bar after removing all ...
0
votes
0answers
19 views

SharePoint 2013 List Column Data not Reflecting using Content Query Web Part

Good day all I have a site collection with 14 sites, which is our different branches across the country. On each site i have I have an identical list using an Info Path form. This Info Path form ...
0
votes
1answer
22 views

Content gone after editing page

I'm having this issue on a dev environment and a quality environment, all of a sudden. The issue is that whenever I edit a page, imagine to change a title or add a webpart to the rich text html field, ...
0
votes
0answers
19 views

Static/Fixed Web part in SharePoint 2013

First time posting here, really hope I can get some assistance. I have a basic Team Site in SharePoint Server 2013 Std Ed. I have edited the site so that the theme/look and feel is using the Oslo ...
0
votes
0answers
15 views

Font becoming very thin when window is set to 100% zoom

At 125%, the font looks fine: However, if I'm at the normal window at 100%, the font becomes weirdly thin: I know it's kind of hard to see from these pictures, but hopefully you guys can see what ...
0
votes
2answers
31 views

How to change what web parts are available to use in a site?

When adding a web part to a Web Part page, the only option I have are Lists and Libraries category. I'm looking to add a Content Editor web part, but that is not available. Is there a setting under ...
2
votes
2answers
752 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
0answers
22 views

How can I add a css to my Business Data webpart to resize the oob textbox that uses sharepoint css

I have a page wherein I inserted a Business Data webpart list, and I want to resize the textboxes because it stretches to the rightmost part of the page and I have to scroll to the left if I want to ...
4
votes
1answer
145 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 ...
0
votes
0answers
10 views

Visual Web Part Help

How can I give my visual web part an content area that can be edited much like the content editor web part?
0
votes
0answers
69 views

Opening a SharePoint file using a hyperlink

On a browser-based SharePoint drive, the default file-opening functionality for an macro-enabled Excel file is to open it directly in Excel; no asking for Open/Save As, no intermediary steps; when the ...
0
votes
3answers
121 views

How to display Custom Page Inside Web Part Page

In one part of my portal I have a Web-Part page, and I want to use one of the zones to display a Custom Page (just a wiki page from a Team Site in the Site Page library) inside that zone. If I use a ...
0
votes
0answers
28 views

Editable repeating region in sharepoint

SharePoint Novice. Just as the image shows, I'm trying to create an editable repeating region in SharePoint and I have idea on how I can achieve that. Any suggestions or ideas on how I can get this ...
0
votes
1answer
30 views

How do I reset “Edit Web Part” - Unable to re-add webpart?

When I click edit on an item in a list, I get a blank page. I'm investigating this and discovered that when I go to "Form Web Parts - Default Edit Form" that there are no web parts on that page. ...
2
votes
3answers
4k 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' ?
2
votes
2answers
6k 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 ...
1
vote
0answers
72 views

How to execute a SQL Agent Job on a button click in a Web Part page of a SharePoint 2013 site?

I have a SharePoint 2013 on-premises site. The requirement is to add a button to one of the Webpart pages and on click of that button, a sequence of 3 consecutive SQL Server Agent jobs will be ...