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.

114 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
3answers
374 views

webpart hidden when in webpart zone

So I have a webpart that I have put into a webpart zone, when it is in the webpart zone it does not show but when I put it outside the zone it appears, what am I doing wrong? Code below: <...
5
votes
3answers
2k views

Remember filter value using jquery and cookies

I am looking for a solution for the following problem: I have a large list that is related to a second list. The two list web parts are on one page, when you select an item in the first list, the ...
3
votes
1answer
100 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 ...
3
votes
1answer
1k views

Content Editor Web part missing office 365 - enabled Custom script

I have enabled the custom script in office 365, but still i cannot view the content editor part in my site collection (Publishing). However after enabling the custom script, the newly created site ...
3
votes
0answers
625 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
1answer
422 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 ...
3
votes
0answers
334 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
1answer
19 views

Hide quick launch sections on a specifc page using content editor

I have a SharePoint (2010) list page. I have already found a useful piece of code that works in content editor to hide the quick launch bar: <style type="text/css"> body #s4-...
2
votes
1answer
39 views

How to retrieve list item from the custom list, on a content editor with some texts?

As described from the question, i want to retrieve a list item and display it on a content editor. This should be most likely be using a javascript or jquery perharps? UPDATES: Here is an example: ...
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
1answer
1k views

Line spacing on wrapped text

I am currently building content in share point, media & Content webpart, using Calibri, font size 12pt. I notice that when text wraps it creates a spacing. I would like to have 0pt spacing between ...
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 ...
2
votes
0answers
313 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
388 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
3k 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
174 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
671 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
544 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
216 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
1answer
18 views

Content Editor in Document Set

I have a content type based on document set type, and inside the welcome page I added a content editor webpart, however, I do not want the content of the content editor to appear in all items based on ...
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
3answers
132 views

SharePoint 2013 content editor wepart permissions

Is there a way to set permissions to a CEWP in SP2013 on-prem? What i'm trying to do is create a button to a network shared drive, and depending on the permissions set on a SP security group they'll ...
1
vote
0answers
136 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
165 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
1answer
759 views

Add a separator between certain columns on New/Edit Form on SharePoint 2013 OOTB

I have the following modified version of Curtis Weir's field hiding script from dmcinfo.com which I want to run using the SharePoint OOTB Script Editor: <script src="//code.jquery.com/jquery-...
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
2answers
34 views

Concatenate and Display results in CEWP

I have two Content Editor Webparts in a page(CEWP) in a SharePoint page. In the first CEWP I have two html text boxes and one button. If i click on the button in first CEWP the second CEWP will ...
1
vote
0answers
140 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
1answer
162 views

Determine all sites with active script editors

Can somebody help me to determine all the sites which have content editor web parts active on the SharePoint Farm? Both publishing and non publishing sites. Is there a script? I found one at Finding ...
1
vote
2answers
487 views

How to put Script Editor inside Content Editor?

I have a javascript and in order to work, I have to use Script Editor. The reason why I want to put Script Editor inside Content Editor is because Content Editor are filled with tables, and 1 of the ...
1
vote
0answers
132 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
1answer
52 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" type="...
1
vote
1answer
100 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" type="application/pdf"></embed></...
1
vote
0answers
406 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
1answer
1k views

Set Style for Content Editor Web Part in Sharepoint Designer 2010

I have created a new page layout and added a web part zone. In this web part zone I have also added a content editor web part. When users go into edit mode on the page and add content to the CEWP, i ...
1
vote
0answers
44 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
1answer
281 views

how to edit list directly without display preview

Newbie SharePoint 2010 question I opened my View in SharePoint designer 2010 I've got a list and I was able to set linked item property on a column "Contribution" <ViewFields> <FieldRef ...
1
vote
1answer
69 views

How to create a verticle cascading menus in sharepoint

Can anybody suggest a code to create a verticle cascading dropdown lists in sharepoint using content editor?
1
vote
1answer
165 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 ...
1
vote
0answers
764 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
151 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
283 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 ...