We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [content-editor-web-part]

You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.

Filter by
Sorted by
Tagged with
2
votes
2answers
6k views

Allow user to edit content editor webpart on specific pages

We have a couple of web part pages in our publishing site that we want different users to be able to change the text inside a content editor webpart. The user has permission to edit the page and can ...
4
votes
1answer
408 views

Using tooltips on an image map in a content editor web part Sharepoint 2010

I am trying to add pop-up tooltips on mouse hover over an image map delivered by a content editor web part (HTML stored as a .txt file in the pages library) on a site in SharePoint 2010. Is this ...
2
votes
0answers
20 views

Content editors accessing content on a different site

I have a content editor which links to a text file on a fellow site (same root directory) which formats the list on the page. when I used this site as a template for a site on a different root the ...
1
vote
1answer
1k views

When I click on Edit Source, the code is invisible, what next?

I am working on a two column layout. When I click on edit source in the column I am working in, the code is invisible. If I highlight over it, I obviously can see it. Is there a setup that I have ...
0
votes
2answers
8k views

JS Link or Content Editor Web part in SharePoint 2013

Can someone help me decide between JS Link and CEWP or any alternative that you see fit? I need to build a page (actually entire site with some 5, 6 pages). These pages should look pretty decent (...
2
votes
2answers
2k views

Adding default web part in web part zone

Following is the code in my page layout. <WebPartPages:WebPartZone id="page_detail" runat="server" title="Page Detail" PartChromeType="None"><ZoneTemplate></ZoneTemplate></...
1
vote
0answers
171 views

Update content link property of content editor webpart using CSOM

I am trying to set the content link property of content editor webpart using CSOM using the code below try { Microsoft.SharePoint.Client.File file = ctx.Web.GetFileByServerRelativeUrl("...
0
votes
1answer
210 views

Change the contentlink based on Site collection

I have a html file in the style library which I am loading onto a content editor webpart using content link Currently i have used, /sites/sitename/style library/html/file.htm But here the sitename ...
0
votes
2answers
149 views

Content Editor Web Part Not Rendering Due to Link

I have a problem with a CEWP not rendering because of the link entered. It is a custom WP, but what was customized is just the CSS, so I'm pretty sure that the CSS isn't causing the issue. I have ...
1
vote
1answer
58 views

Changing a calculated column from text to number within a default display webpart by jslink

I have a calculated column with the format of "number" in a list. However, within the display form webpart, the default settings actually returns a string with quotes " instead of returning it as a ...
0
votes
1answer
83 views

Programatically add image into a content editor in Sharepoint Online?

How can I programtically display/add an image into a Content Editor in SharePoint Online? I have managed to get an image programtically added to "Site Assets", but how can I as a second step get it ...
0
votes
2answers
225 views

messageBox Title Field Value in sharepoint

How can we get the Title value at editform.aspx load event and save the value to variable then alert the value as messageBox Any help with java script please
1
vote
1answer
68 views

Unable to add web parts to certain pages in Sharepoint Online

Are there two different types of Pages in Sharepoint? I'm using SharePoint Online, and when I click Add Page, sometimes I get a full (ribbon) editor that allows for web parts, etc. Other times I get ...
2
votes
0answers
691 views

slow response IExplorer opening new item or editing a list item

I have a Sharepoint 2013 Foundation running on a Windows server 2012 R2. It's a domain controller as well. Yes I know its not a best practice but the company has limited funds. And does not want to go ...
1
vote
1answer
91 views

Conditionally display a CEWP depending on form content type?

I have a request list with different content types set up for different types of request. I would like to show a different CEWP at the top of each form depending on which type of request is being ...
1
vote
1answer
742 views

CEWP: Passing parameters to HTML file (workflow/parameter controlled CEWP javascript)

I have a CEWP which references to /SiteAssets/test.html this works well. Now, I would like to pass some parameters like /SiteAssets/test.html?category=abc I receive these parameters with a JS ...
0
votes
2answers
3k 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
2answers
4k 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
2k 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
1answer
3k views

Looking for count down clock in CEWP using html/jquery [duplicate]

I am looking to insert a count down clock in content editor web part using html / jQuery. Did any one ever do this? I am unable to figure out how to start as am not a pro in scripting.
1
vote
1answer
170 views

SharePoint 2010 and 2013 can't not find SPLimitedWebPartManager

I trust this is one of the most common question when approaching with adding webpart to you sandbox solution through SharePoint 2010 or SharePoint 2013 I have researched google for a while and can't ...
0
votes
2answers
133 views

Connecting List with Document Library

I am trying to create a list which is connected to a Document Library. Actually I want to create a list and when I add a new item, have the option not only to create the item, but also to add ...
1
vote
1answer
45 views

Prevent Repeated Items by Title

I would like to ask if anyone knows how to prevent duplicated Items in a List. I Just don´t want that there are two Titles with the same Name. The idea is doing it through a Content Editor using ...
0
votes
0answers
61 views

How hide a webpart feature in SharePoint 2013?

Hello I would like to know how I can hide green line . The web part i’m using is content editor.
0
votes
0answers
20 views

Adding re-usable content to Lists

On our portal we have a subsite for signup sheets. The signup sheets are all custom lists and contain fields for flight information and other things. Now, we need to add directions for each signup ...
2
votes
1answer
543 views

How to make web part refresh with CSOM after updating audience

This issue is with SharePoint Online. I have the following PowerShell function to update the audience on a Content Editor Web Part. When I run the function, the audience is set correctly, however it ...
4
votes
1answer
104 views

► Will Microsofts CDN increase perfomance for linked HTML files?

Content I pull in from a Document Library This is just f.. slow.. Same site pulls in content from our own HTTPS server Questions Will using Microsofts CDN solution par our own HTTPS server speed? ...
0
votes
2answers
826 views

How to read Content Editor Web Part Id from the javascript in it?

I have added a content editor web part in a SharePoint web part page. I have some java script code logic which renders some HTML and I have added that script to content editor web part Content Link. ...
1
vote
2answers
123 views

Programmin only in CEWP or Without any API

I am quite new here... Right now I am about to design a Workflow site in SharePoint but I have to limitations: 1- I´m not allowed to use any API, only Notepad++ (Portable, of course) 2- No SharePoint ...
1
vote
1answer
37 views

Trying to use Content Editor WebPart

I have been trying to use content editor web part to have when someone trys to open a PDF in my document library, It wont open in same window.... However i do not know how or where to enter the Java ...
3
votes
2answers
4k views

<FORM> tags are not supported in custom page layout

I am creating a custom page layout (I am also using a custom masterpage). I have created a CEWP and linked it to a notepad file, the file is just HTML and Javascript <table border="0" width="200" ...
5
votes
5answers
26k 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 ...
1
vote
1answer
2k views

400 (Bad Request) ERROR while trying to use JS files in Content Editor Web Part

So, I added some code in Content Editor Web Part and code is started like this: <script src="/<MyURL>/_layouts/15/SP.Runtime.js" type="text/javascript"></script> <script src="/&...
1
vote
3answers
14k views

Javascript in content editor web part not working after publishing the page

I have a publishing page in which I have placed content editor web part which contains the link to redirect the user to application page. Code in the content editor web part is: <script type="...
3
votes
1answer
69 views

Question about my Page Refresh Script on a Site Page

Help with either or both is highly appreciated. Have been stuck on this for weeks... Question 1: How can I speed up my Page Refresh? Right now, it takes a solid 1.5 seconds. That doesn't seem like a ...
1
vote
4answers
2k views

Can I add more than one link in a content editor web part?

In this content editor I have referenced a .js file. If I want to style it with .css file can I connect it also as a link in the same content editor? For example: Content Link: menu.js; menu-style....
2
votes
1answer
37 views

Blank areas where webpart originally lived after position:relative web part

I'm creating a page and using CSS in a content editor to customize. I have a title webpart, list web part, and a show all / hide webpart that I'm using JavaScript to reveal a 2nd list and hide the ...
1
vote
1answer
9k views

Horizontal Rule in Content Editor Web Part?

When editing rich text in a CEWP, as typical not-admin user, how does one go about inserting a horizontal rule? Google has not been my friend. I'm loathe to tell the users they need to edit the HTML ...
0
votes
2answers
1k views

How do I edit script in embedded code within a web part (content editor after pasting in an invalid script)?

I have added an incorrect script text/URL into the embedded Code of a web part content editor. <meta http-equiv="refresh" content="0;url=http://spfarm.rootname.com/sites/SITENAME/SitePages/Home....
1
vote
1answer
704 views

How to display html objects in Content Editor Web Part horizontally?

I'm trying to create a row of clickable buttons that enlarge on hover using a Content Editor Web Part. Here is the code: <style type="text/css"> .thumbnail { position:relative; width:100px; ...
3
votes
1answer
106 views

WebPart not getting refreshed on changing properties from powershell

I edited the Content property of a Content Editor Web part via powershell but when I first view the page, it is not getting reflected. When i click edit once , I see my changes . What could the issue ...
1
vote
0answers
51 views

Unable to send parameters while consuming a webmethod from a content editor web part using jQuery Ajax

I have added the code inside a Content Editor WP to consume a [webmethod] that is written in the application inside a VS 2013 sharepoint 2013 project. <input onclick="callWebServiceMethodAjaxTest(...
0
votes
1answer
246 views

Add Content Editor Webpart to Blog-Site

Is it possible to add a Content Editor Webpart to a SharePoint 2013 MySite-Blog? If yes, how?
0
votes
4answers
6k views

Content Editor Webpart Script file not working

I am using a content editor webpart and jQuery to disable fields in the edit form of a task. it works when I add the code directly in to the content editor webpart but when I add the js file to site ...
0
votes
1answer
783 views

changing button size in sharepoint online

<style> .ms-formtoolbar .ms-toolbar { font-size:2em } </style> This is the code I tried in the content editor with no luck. I also tried to use pixels and no luck their either this ...
0
votes
1answer
31 views

Loading content on SharePoint 2010 intranet site

Main problem is: You have to refresh the page a few time before all content in page opens! I have several web parts in the site like page viewer, Excel webpages etc. Any ideas what might be the ...
1
vote
1answer
3k views

integrating facebook in sharePoint page [closed]

I am trying to get post/news-feeds from Facebook page/group in my SharePoint page.following are the steps I am doing. Registered here https://developers.facebook.com/docs/plugins/embedded-posts. and ...
0
votes
1answer
261 views

Sp-services code does not work in content Editor

I am using SPservices cascading dropdown as mentioned below in Sharepoint 2013. This works fine when I enter the code SharePoint designer asp content head section. But it fails when I try to add the ...
0
votes
1answer
50 views

How to add css to a part of xml?

I have xml code very similar to this: function _setDefaultResources() { var el = $(".ms-acal-rootdiv"); var xml ='\u003cEntities Append=\u0022True\u0022 Error=\u0022\u0022 DoEncodeErrorMessage=\...
0
votes
1answer
1k views

SharePoint Content Editor HTML textbox Enter key leading to Edit mode of Page

While using HTML Textbox in content editor and from Chrome or Mozilla User presses Enter key leading to edit mode of the page. Issue with SharePoint 2010 and SharePoint 2013