Questions tagged [cewp]

The Content Editor Web Part (CEWP) is an out-of-the-box SharePoint web part that allows users to enter rich HTML content.

31 questions
6
votes
5 answers

Allow Content Editor Web Part

Using SharePoint 2007, how could I allow the adding of CEWP's to the selection menu of an "Add a Web Part" dialog while in Edit Page mode? As of the moment, I can only add Announcements, Calendar, Links, Shared Documents, Tasks but I do not have the…
Johnathan1
  • 2,241
  • 5
  • 23
  • 24
4
votes
2 answers

Why is SharePoint dispalying my HTML and CSS content improperly?

I am trying to add content to a SharePoint content editor web part, but when I do, it displays as if it's ignoring parts of my CSS. It displays fine in Firefox 3.6 and IE 8 when it's a stand-alone page, but goes all off when the same code is placed…
Pete
  • 391
  • 1
  • 8
  • 20
3
votes
1 answer

How to leverage Custom Styles & Markup Styles in the SharePoint 2010 CEWP (100% JavaScript Solution)

In short, with a RichHtmlField we can customize which Styles & Markup Styles appear in the drop down lists on the Ribbon. Using an OOTB Content Editor Web Part we cannot. After interrogating / contrasting the RichHtmlField vs. CEWP (HTML/JavaScript…
thastark
  • 1,243
  • 10
  • 9
3
votes
1 answer

Embedding Box widget (IFrame) in IE does not work, but works in Chrome

I have a Box folder and I am trying to embed the folder in my SharePoint site using content editor webpart. I copy the iframe code on my site page I add content editor webpart (CEWP). In the CEWP I add my iframe code which looks something like…
Naveen
  • 6,786
  • 10
  • 37
  • 85
2
votes
3 answers

Removing scrollbars from Content Editor/Page Viewer Webpart

I am trying to display an HTML page inside another SharePoint webpart page. I used the Out-of-the-box page viewer webpart, but the page viewer webpart displays a disabled scrollbar inside it. I also tried using a content editor webpart with an…
ashwnacharya
  • 14,601
  • 23
  • 89
  • 112
2
votes
1 answer

SharePoint 2010 content editor webpart edits generated code

Why is SharePoint so shit? Firstly the content editor webpart gives you a nice message "Warning: The HTML source you entered might have been modified." when you insert some HTML via the "Edit HTML source". And what's even worse, is that what you are…
Fergal
  • 2,484
  • 2
  • 36
  • 48
1
vote
2 answers

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 remove this default text. Note: I added this CEWP…
Srikanth
  • 683
  • 3
  • 16
  • 23
1
vote
0 answers

sort an RSS feed in SharePoint CEWP

need to sort an rss feed alphabetically with javascript. All I get is the tope 'view positions link' the debugger gives me this error: SCRIPT5007: Unable to get value of the property 'toLowerCase': object is null or undefined this is not working: …
1
vote
2 answers

Text replace with Jquery

I have to replace Text inside HTML. When I looked ViewSource of the page I found this html tag. Now I need to replace text "Respuesta" with "Responder". I am using SharePoint CEWP webpart for this. What is the code I need write to replace this…
James123
  • 11,184
  • 66
  • 189
  • 343
1
vote
2 answers

CEWP Print Button with Code to print SharePoint form?

I currently have a Preview of our form that looks exactly how we want it to look for the list item being viewed but the problem is when I added my Print button as CEWP in FOrm Display it performs the exact same function as using Control P and prints…
user2887014
  • 13
  • 1
  • 3
0
votes
1 answer

Hide People Picker fields in SharePoint Designer 2010

I am trying to use some custom javascript in a CEWP to hide and show some fields when a dropdown value is selected. I have managed to hide the TextBox ("Your Name") but cannot hide the "Select Name" or "Supervisor's Name" fields - these two are…
0
votes
1 answer

How to parse XML to a column(field) of SharePoint List on a new/edit form via CEWP

Problem description: I want to parse the XML to fill up some columns(single line text) on the new/edit form automatically after clicking the load button. Background: The XML is from an external resource, not from my or any other SP…
0
votes
1 answer

How to show or hide Sharepoint columns based on a Lookup column value using wildcard characters

I am using out of the box Sharepoint 2013 to create a custom list. On the NewForm.aspx, I have created code within a Content Editor Web Part that should show or hide columns based on another column value (Invocation / Near Miss?). This works fine. …
SeanF
  • 41
  • 1
  • 7
0
votes
1 answer

JavaScript logic in Content Editor Web Part(CEWP)

I am try to hide fields in an edit form base on conditions(values in other fields) in a SharePoint list. The below code works to hide the fields but the logic is not working right now. Using alert I am able to see the different values selected in…
S.Keizer
  • 53
  • 1
  • 3
0
votes
0 answers

JavaScript in Content Editor Web Part(CEWP)

In SharePoint 2010 I have a CEWP inserted in the newform.aspx page. If I enter the code directly in the CEWP it works fine. If I place the code in the SiteAssets Library and place relative path or full path the code does not work. Any help on this…
S.Keizer
  • 53
  • 1
  • 3
1
2 3