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
2 answers
278 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
taher mohammad's user avatar
1 vote
1 answer
978 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 ...
Södy's user avatar
  • 175
1 vote
1 answer
79 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 ...
beeudoublez's user avatar
0 votes
1 answer
386 views

Sharepoint 2010 Creating a content editor webpart with prepopulated content

Working on a site in Sharepoint 2010. I have created a custom page layout with a content editor webpart inside a webpart zone. I want to be able to have the same content appear within the content ...
bberndt's user avatar
  • 143
0 votes
1 answer
786 views

Sharepoint Online: Set Content Editor Web Part Content with Powershell

I want to update the content shown by the CEWP using Powershell. I've been using PnP-Powershell but can't find a way to update the content/xml.
Linton Fisher's user avatar
2 votes
1 answer
3k views

Line spacing on wrapped text

I am currently building content in SharePoint, 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 ...
Cortney's user avatar
  • 21
2 votes
1 answer
2k 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-...
Vlad C.'s user avatar
  • 21
0 votes
2 answers
425 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 ...
Jorge Nitales's user avatar
1 vote
1 answer
167 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 ...
Jorge Nitales's user avatar
0 votes
0 answers
64 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.
AY_91's user avatar
  • 1,057
0 votes
0 answers
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 ...
bgmCoder's user avatar
  • 3,551
4 votes
1 answer
122 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? ...
Danny '365CSI' Engelman's user avatar
2 votes
1 answer
776 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 ...
Gizmo3k's user avatar
  • 359
0 votes
2 answers
1k 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. ...
Pavan Kumar's user avatar
1 vote
2 answers
156 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 ...
Jorge Nitales's user avatar
1 vote
1 answer
42 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 ...
Pittsee's user avatar
  • 77
3 votes
1 answer
75 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 ...
TheJDScott's user avatar
1 vote
4 answers
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....
Alexandros Charalambous's user avatar
2 votes
1 answer
45 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 ...
user62151's user avatar
0 votes
2 answers
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....
user62105's user avatar
1 vote
1 answer
787 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; ...
supertrip86's user avatar
3 votes
1 answer
178 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 ...
Yashwanth Rao's user avatar
1 vote
1 answer
123 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 ...
Bee Doh's user avatar
  • 11
1 vote
0 answers
61 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(...
dasarp's user avatar
  • 374
0 votes
4 answers
8k 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 ...
Henry's user avatar
  • 11
0 votes
1 answer
3k 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 ...
Eric Braun's user avatar
0 votes
1 answer
280 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?
Snickbrack's user avatar
0 votes
1 answer
34 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 ...
firren10's user avatar
1 vote
1 answer
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 ...
G.Srinivas's user avatar
0 votes
1 answer
317 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 ...
Mohit's user avatar
  • 810
0 votes
1 answer
59 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=\...
Chuck Farley's user avatar
  • 1,159
1 vote
1 answer
208 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 ...
Luka Klarić's user avatar
2 votes
1 answer
600 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 $(...
Ubiquitous Developers's user avatar
0 votes
2 answers
4k 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 [...
nbi's user avatar
  • 785
3 votes
2 answers
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 ...
Sabih Ahmed Khan's user avatar
0 votes
2 answers
10k 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 (...
Venkatesh Kadiri's user avatar
1 vote
2 answers
42 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 ...
vijay g's user avatar
  • 49
0 votes
0 answers
88 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 ...
Sabien Ambrose's user avatar
1 vote
2 answers
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 ...
D. Shepherd's user avatar
0 votes
1 answer
836 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 ...
Sabien Ambrose's user avatar
2 votes
2 answers
11k 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 ...
Rothrock's user avatar
  • 2,910
3 votes
1 answer
770 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 ...
SteffPoint's user avatar
1 vote
2 answers
724 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 ...
SteffPoint's user avatar
1 vote
0 answers
468 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;">...
Mohamed Arif's user avatar
0 votes
1 answer
434 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 ...
bberndt's user avatar
  • 143
0 votes
2 answers
350 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 ...
Sivakumar Piratheeban's user avatar
0 votes
1 answer
495 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 ...
MJaiswal's user avatar
  • 500
1 vote
2 answers
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 : ...
MonsieurPoivron's user avatar
0 votes
1 answer
374 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 ...
kaczuch77's user avatar
0 votes
1 answer
711 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 ...
intern's user avatar
  • 45

1 2
3
4 5
8