Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
0answers
602 views

Align web parts vertically in a web part zone

I have a page layout with the web part zone. The webpart zone is supposed to have 2 webparts - CSWP and Content Editor webpart. I need to place the CSWP above the Content Editor. I need to set the ...
3
votes
0answers
329 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
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 ...
2
votes
0answers
301 views

CSS not applying to a Web Part

I have several web parts on a page, 2 of them are CEWPs. 1 links to the CSS and 1 links to a text file. The CSS is applied to all other web parts on the page but it will not apply to the CEWP ...
2
votes
0answers
377 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 ...
2
votes
0answers
2k views

Editor buttons not working

I am setting up a SharePoint environment and have encountered an issue. I'm trying to set up a simple form using web parts/html-form editor. However, when I try edit the form content, the "Source ...
2
votes
0answers
172 views

I'm having trouble with basic layout using html/css with Sharepoint

first time poster here so I'd like to apologize if I do this wrong. I'm new to Sharepoint, so I'm having difficulty with some basic stuff. My end goal is to basically make something that looks like ...
2
votes
0answers
660 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 ...
2
votes
0answers
540 views

Dynamically Setting a List View on a WebPart Page

I have been unable to load a page showing a dynamicaly selected View. I can not just display the List itself (Although this would allow me to specify the View in the URL) because I need to modify ...
2
votes
0answers
215 views

ArgumentOutOfRangeException after editing a page

I am replacing a colleague for the support of a SharePoint 2010 intranet. I have edited a page to move a webpart below another webpart. An ASP .Net exception page has been displayed after clicking the ...
2
votes
0answers
57 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
0answers
12 views

Using ClientContext can we change the url of text file linked to content editor webpart?

Is there any way to change the url property of content editor webpart using Javascript function ? I found solution to change the title of the webpart not the url properties of the web part. ? ...
1
vote
0answers
19 views

SharePoint WebPart forcing to fill out required fields to edit page

A sharepoint page created by my predecessor which is a content viewer web part has some HTML "required" tags to fill out a form. When trying to checkout and edit this in the browser, it just hangs on "...
1
vote
0answers
27 views

Screen “Hitch” In Picture Slideshow Web Part

I have created a slideshow web part in a Sharepoint 2010 environment. I was first having a problem of the images sizing too small in the web part, but I implemented the solution that "Vadim Gremyachev"...
1
vote
0answers
35 views

Is there an approval process behind the scenes for new pages with CEWP to be activated to allow script tags?

I was doing some coding work through the content editor webpart on a page. The code uses jQuery, and the execution of that page do have some errors, but mostly insignificant ones. The script file is ...
1
vote
0answers
117 views

Increase Page Viewer Web Part Zoomed View

I have a PDF file that's fairly small. I inserted the Page View Web Part and need to keep a view of 300% so other viewers don't have to increase the size to see the page. Is there scripting I could ...
1
vote
0answers
146 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("...
1
vote
0answers
50 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(...
1
vote
0answers
133 views

Add Div below the Input Type text

I want to show and add the existing Div right below the input type text box on Button click event. I'm using content editor web part to show the below html <div id="Div1" style="Display:None;">...
1
vote
0answers
123 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
0answers
397 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 ...
1
vote
0answers
41 views

help in adding a http link in script editor - cant get it to work

Im trying to add the link below to open in a new windows using showSPDialog newRows +="<p><span><a onclick='/showSPDialog(\' + viewurl + \');/' href='#'><img src='/Test/...
1
vote
0answers
760 views

SharePoint 2010 content editor web part prevents adding new web parts to page

Good day, I have encountered a rather strange issue with SharePoint 2010 and Content Editor Web Parts. When you click the Edit Page button on the Site Action drop down menu, the page is checked out ...
1
vote
0answers
73 views

SPO 2013 Editing embeded html markup in a client editor

I don't like SharePoint Designer - especially 2013. Editing embedded HTML in SPO 2013 pages using the SPO UI is ridiculous in that little window and with the 4 clicks to get to the source code. If ...
1
vote
0answers
123 views

Editing a Content editor web part leads to loss of embedded CSS & javascripts in other content editor web parts

I'm using sharepoint 2013. We have many content editor web parts in the same page which contains CSS and javascripts in it. When i edit one web part, i can see some CSS/Javascripts are getting messed ...
1
vote
0answers
293 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
1k 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
146 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
282 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
0answers
2k 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
0answers
155 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
467 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
0answers
25 views

What is this unwanted files in SharePoint Online when we keep debugger?

I am facing very strange issue in SharePoint Online. I have a kept some JavaScript code to a Content Editor Web Part on a SharePoint Online Page. When I try to debug the JavaScript file, instead of ...
0
votes
0answers
22 views

Get Folder name when clicked on specific folder in picture library without using rest api

I want to get the Folder name when user clicks on a specific folder in picture library without using rest api. Is there any way I can achieve this? Please help me?
0
votes
0answers
6 views

SP 2013 Content Editor Web Part Repeats in Document Library sub folders

SP 2013, I created Content Editor Web Part above Document Library. When I click on sub folders, the CEWP remains unchanged. Is there a way to edit/change the CEWP in individual sub folders?
0
votes
0answers
36 views

Very slow loading with 2 CEWP referring to different html files which load the same commons.js

I stumbled on a rather strange issue in SharePoint 2013 On-Prem. Case: Home.aspx has two CEWP's: Has a content link to /SiteAssets/CustomPages/tableOfContents.html Has a content link to /SiteAssets/...
0
votes
0answers
32 views

Migrated content to wiki page library not visible in edit mode

I recently migrated publishing page library content (pages have webpart zones and content editor webparts) from SP2010 to SPOnline wiki page library using Sharegate. After migration I am able to view ...
0
votes
0answers
23 views

Can you get CEWP Content in SP 365 via CSOM

Is there a way to get the content of a Content Editor Web Part using CSOM for SP365? I am looking at the WebPartDefintion object, getting the WebPart from that and looking at the properties of the ...
0
votes
0answers
37 views

How to have full hover functionality for a content editor web part?

One of the Projects I am working on, I have a content editor web part that shows recent documents which is user based. I customized the display template and added some code to have a full hover ...
0
votes
0answers
307 views

Filter Custom List/ Document Library display via JQuery Rest Api

I tried using Api rest to filter the Custom list / Document Library display via jQuery , the script is working but the display of the list is not changing. Am i missing something? Thanks! function ...
0
votes
0answers
37 views

Filter tasks in Content editor webpart?

I using content editor web-part to show Task from a task list, using CSS, JScript and Jquery. Need to apply a filter on the outcome to show the task assigned by and assign to current user(login user)...
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 ...
0
votes
0answers
64 views

Content editor disappear

So I have a little problem. I have a content editor that I want to edit the title of, but every time I enter edit mode the content editor disappears. The content editor is in the hillbilly tabs so I ...
0
votes
0answers
124 views

Copy text from Content Editor Web Part

I'm using IE9 and SharePoint 2013. I've added a Content Editor WebPart with some text in it on a library page. Once I stop editing the page, I cannot select and hence copy the text inside the ...
0
votes
0answers
54 views

Create Template for Page with List and CEWP

In our portal we have a List that acts as a signup sheet, and above it we have inserted a CEWP to provide some directions. Is there a way that I can save the combination as a template of some kind? ...
0
votes
0answers
44 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
0answers
547 views

displaying stock ticker values in sharepoint 2010 site of Content editor webpart using javascript or jquery

I need to display the stockticker values as mentioned below in the home page of the SharePoint 2010 site. How can this be done? For eg: MSFT 36.03, -0.775 Thanks
0
votes
0answers
20 views

Can no longer insert images into a page?

I have a page that I have been editing successfully, adding web parts and configuring. Unfortunately now, for whatever reason when I go to insert an image the browser locks up. This is happening on ...
0
votes
0answers
666 views

Content Editor web part adds extra HTML

I have the following HTML <td class="myclass">This is text</td> I am using a webpart to display this text. So now my code looks like: <td class="myclass"><INSERT WEB PART ZONE ...