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
0
votes
0answers
21 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 ...
4
votes
1answer
110 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? ...
2
votes
1answer
627 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 ...
0
votes
2answers
911 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
138 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
38 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
1answer
71 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
3k 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
39 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 ...
0
votes
2answers
2k 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
755 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
136 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
1answer
102 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
0answers
56 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
4answers
7k 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
1k 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
260 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
1answer
32 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
297 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
54 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=\...
1
vote
1answer
162 views

How to apply Content editor on whole site in SP 2013

I have a js script and I want to apply it on a whole SP site. I inserted a content editor webpart on the start page and it works fine, but now i want to apply it on the whole site. Do I have to go ...
2
votes
1answer
249 views

Form Validation fires even If I click outside content editor web part

I am trying to create custom content Editor webpart with HTML and JS code. I am simply adding item in list using REST API. I've given validation to textboxes using JQuery. Here is the code: JS $(...
0
votes
2answers
3k views

Relative url not working for home page when welcome page is set

I have created an HTML snippet which references a js file stored in site assets folder. The path to this file in my snippet is as ../SiteAssets/MyJsFile.js In SharePoint, welcome page is set to [...
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 ...
0
votes
2answers
9k 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 (...
1
vote
2answers
37 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 ...
0
votes
0answers
78 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 ...
1
vote
2answers
1k views

CSS Doesn't Work (Script Editor / CEWP)

I have been asked to create a READ MORE option for one of our publishing pages on-prem. It works great on my local machine, but can't get it to work in SharePoint. Guessing I am putting my code in the ...
0
votes
1answer
723 views

Site Assets Javascript file will not update

So I have the weirdest problem I have seen in SharePoint yet. So I am trying to practice using javascript and I can't figure out what is wrong with my methodology. For a background, I am trying to ...
2
votes
2answers
8k 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 ...
3
votes
1answer
699 views

How to embed more than two CSS files on a SharePoint-Site

I have a kinda strange requirement to outsource every little CSS coding solution in any extra file, located in any library. Now I would like to embed multiple CSS files on any Site, using Script ...
1
vote
2answers
637 views

Skipping Callout menu within context menu (ECB-Menu) in a list view of document library - SP2013

I would like to skip the preview-window (CallOut Menu) (red marked in my screenshot) within the context menu / ECB-Menu [(...)-Menu] of a document in a library shown in any list view and go straight ...
1
vote
0answers
173 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;">...
0
votes
1answer
409 views

SP 2010 Security Trim a Control for Permission Group

I am working in Sharepoint 2010, I have a button in a content editor webpart on a page. I have set up two groups each with custom permission levels. Is it possible to security trim the webpart so that ...
0
votes
2answers
292 views

Export CEWP as .webpart file

I'm trying to export my Content Editor webpart from SP2013 environment, and I expect output file in .webpart format. Currently I'm getting output file in .dwp format. Any idea how to get Content ...
0
votes
1answer
350 views

Content Editor webpart added programatically not showing up on page edit

I added a webpart using the below process Export your content editor web part and get the schema XML and follow the steps given in this link. Programmatically add a web part to a page using CSOM The ...
1
vote
2answers
2k views

Media and Content catalog unavailable

My enterprise has recently activated SharePoint online and I'm able to create sites and subsites. Unfortunately, when I try adding webparts to my page, I only get a handful of webpart catalogs : ...
0
votes
1answer
347 views

Jquery to display formatted value in content editor

I'm completely new to jquery and by now I'm not able to use it. Can anyone help to write a piece of code, which will display single item (given ID) from the list 'CounterList', column 'Counter' to a ...
0
votes
1answer
666 views

Sharepoint 2013 mixes CSS styles in separate web-parts

I am currently building a page in SP13 enviroment and what I want to do is to create a horizontal Navigation Panel on the page Header + menu on the left with sub-categories. I created 2 Webparts ...
10
votes
3answers
458 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: <...
0
votes
1answer
67 views

How to remove content editor after first load of any page

Any one knows how to remove content editor after first load. I want to load the page with content editor for the first time but after page refresh the content editor should be removed from the page. ...
2
votes
0answers
357 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 ...
3
votes
0answers
746 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 ...
1
vote
1answer
556 views

jQuery script for new list item form only works in edit mode

Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded ...
1
vote
1answer
278 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
1answer
13k views

Content editor webpart code to add a background image in SharePoint 2013?

I have the following code to add a bg image on my Subsite home page. It does'nt seem to work and I have a solid feeling its the way I'm referring the image (stored under a picture library named 'Image ...
1
vote
1answer
2k views

Sharepoint 2010 web part & IE 11 - targets document mode 8… APIs may not be available

I am running some javascript (d3.js, sp.js) in a web part on a sharepoint 2010 site. Everything runs fine when I use chrome or firefox, however when I open the page in IE 11 it does not load correctly ...
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" ...
2
votes
1answer
121 views

Make a content editor web part “expire” after a certain date

Is there any chance of setting up an end or expiry date to content editor web part, so that it automatically go off when it passes the set date? I am using SharePoint 2007.

1 2
3
4 5
8