Stack Exchange Network

Stack Exchange network consists of 174 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

CEWP stands for Content Editor Web Part. You can use a CEWP to add formatted text, tables, hyperlinks, and images to a Web Part Page. CEWP is a powerful tool, for the reason that one can insert codes (e.g. in JavaScript/JQuery) to customize the web page.

0
votes
0answers
18 views

Hyperlink in mail when clicked to update status of column sharepoint list

i have developed Shift tracker using sharepoint custom list and infopath. Whenever user fill their shift details it auto trigger mail to their supervisor for approval. i intend supervisor to approve ...
0
votes
0answers
17 views

How do I get the URL parameter from the content link property in a SP2010 web part page

I have a SP2010 web part page (/sitepages/test.aspx) with a number of Content Editor Web Parts. Each CEWP has a content link property set to a URL such as /subsite/SiteAssets/task.html?code=XXY. The ...
0
votes
0answers
23 views

JavaScript in CEWP modifying nearby list webpart - losing functionality when sorting/filtering

If loading JavaScript by CEWP onto a SharePoint page you can do nice things like changing background color of the list items by value or adding datepicker functionality for items on the list view. ...
0
votes
0answers
12 views

CEWP not hooking up to SharePoint Form

I have edited the edit form .aspx in SharePoint list and have not made a back up. What would be the best way to get back to default form. When I add additonal script to the CEWP it does not wrap ...
1
vote
2answers
316 views

content editor webpart link with different site collection

I have 2 site collection A and B. I have a CEWP in site collection A and a document library in site coll B which contain a script in txt file. I want to copy the link of txt file from B and put it in ...
1
vote
3answers
89 views

How to use JQuery/JavaScript in SharePoint site

I am new for here and sharepoint. I would like to ask a question regarding Javascript for Sharepoint page. I am sorry if it was asked before. I have found a script which is called "let-it-snow.min....
0
votes
1answer
316 views

How to display 'last modified' date on publishing page using content editor web part?

For a number of pages within my site, I need to display the date that the page was last modified. I know this is possible using a custom view for the page library, but for my purposes, that is not an ...
4
votes
3answers
1k views

Hide/Show columns in Custom List based on dropdown selection

I am trying to hide a column on page load and when a value is selected from a drop-down list, have the hidden dropdown appear. I am able to hide the column but when I choose the value in the drop-down,...
0
votes
1answer
111 views

Can script read the properties of a Content Editor Web Part?

I am working on a script, it's in AngularJS, but it could be jQuery or just JavaScript for the sake of this question. The script is inside a Content Editor Web Part. I want to provide configuration ...
2
votes
1answer
679 views

<FORM> tags are not supported in the HTML specified in either the Content property or the Content Link property

I've got two SharePoint Online site collections. One is rather old, the other one was created about two hours ago. There is an HTML file located in _catalogs/master/webparts/test.html with the ...
1
vote
0answers
94 views

How to implement ModalDialog.showWaitScreenWithNoClose in Sharepoint Online using CEWP in custom list?

I am new to Sharepoint developing/web development and I am trying to create a "loading..." box to occur until the page is finished. I want to use the Sharepoint modal dialog that is already available ...
1
vote
1answer
132 views

displaying HTML RSS feed using CEWP

I'm trying to use a CEWP to display an RSS feed via an HTML page. When I link to the web page in the CEWP, the RSS feed displays perfectly in the web part. However, it seems as if the rest of my site ...
2
votes
1answer
31 views

Need only myself to be able to view the ribbon - but I do not have access to the Master Page to be able to use Security Trimming

I only need to do this for one page on the site. I need to hide the ribbon so that only I can see it. I cannot access the Master Page, so was hoping there was some script that could be added to a ...
1
vote
1answer
17 views

Choose the Workflow depending on a Lookup Field option

I have 3 different Workflows (A, B, C), and a Lookup Field with 3 different Options (A, B, C too). I want when I choose Option A, then the Workflow A begin to work when I send the form. Same with B ...
0
votes
3answers
174 views

CSS: Hide empty column on SharePoint List

How do you delete or make hidden this additional column that sticks out from the header row? Can this be done using the HTML or Content editor? See attachments below. Content Editor: <style ...
0
votes
0answers
41 views

“ListFormWebPart” causing a problem

I am trying to add a CEWP in a new SharePoint List Form. I tried creating new lists even in 2 different subsites, but as soon as I try to edit the page the same Problem is always appearing. I still ...
0
votes
1answer
34 views

SP2010 - Referencing javascript from HTML in CEWP

I have a webpage that uses javascript that I'm trying to implement in my SharePoint 2010 site, but I'm running into some trouble with the javascript. I've tested everything outside of sharepoint and ...
0
votes
0answers
29 views

Acces to an Item without Title

In a list I have: Title: Text Exercise: Lookup Field Number of pages: Lookup Field When I have created an Item, the only way to acces the Item via Hyperlink is by clicking the Title. Actually I ...
0
votes
0answers
48 views

Copy item properties from a lookup field sharepoint

I have a List-A with the Name and the age of the Person. In the list-B form I have a lookup Field to pick-up the Name from List-A and an "age" field. Is there a way to auto-fill the "age" field in ...
0
votes
1answer
322 views

How to use Chosen JQuery in Sharepoint

I know how to implement a Chosen field in an HTML file, but how can I set the code, so the Chosen.js is applying the behaviour in a Lookup field? I found about Chosen.js here, but sadly found ...
0
votes
1answer
83 views

Link a file to CEWP that lives in another site collection

I'm creating a Page that contains a CEWP which will link to an HTML file. The plan is to template that site/page and use it across multiple sites and collections. I want to link the HTML from 1 ...
0
votes
1answer
85 views

How to create Mirrored List with different columns

It seems a bit confused, I will try to explain. When I create an Item in a List X, I want that it automatically creates an Item in List Y only with the Title of the item in List X. I am working ...
0
votes
0answers
330 views

SPFilterDropdown not working

I am trying to order a Lookup field by date but somehow the code is not working. I checked all the fields but I think I have somehow a Problem in with the CAML code, because all the others fields ...
0
votes
1answer
141 views

CEWP - Javascript to output html content to email body

All, I am not very familiar with javascript. However, using the following code I can successfully open, output to a new browser page, and print the contents of webpart. This part works as needed. ...
0
votes
1answer
26 views

Hide Workflow properties

In Sharepoint 2013 on-premises I am creating a Workflow Interface. Actually I would like to avoid users to see the Workflow process on a List, so they just can see the Status but not click on it and ...
1
vote
1answer
418 views

Highlight Rows in a List based on Workflow status field

Actually I got a code which works really nice when I use it in a list depending on a normal field. When I try to Highlight the rows considering the Workflow Status it doesn´t work, Any advises? I ...
1
vote
1answer
185 views

Add or update a SP List with a username

I have two scripts that work on their own, I found them and got them to work by searching online, but I'm not sure how to combine them. The first script will replace an HTML tag with the id logUser ...
0
votes
0answers
83 views

Auto Fill “Created by” with Current User

In Sharepoint 2013 on-premises, I would like to know if there is a probability in a list, when a user wants to create a new Item, to make appear the "Created by" field in the form showing the current ...
0
votes
1answer
402 views

CEWP does not support <form> tag in jQuery file

I added jQuery to my Sharepoint page. When I reference the jQuery file uploaded in my library, I get this error message: <FORM> tags are not supported in the HTML specified in either the ...
1
vote
2answers
90 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 ...
2
votes
0answers
30 views

Custom CEWP loaded in HTML page layout causes other webparts to disappear

I have a custom html page layout. I've saved a custom webpart and added it to the Webpart Gallery. The custom webpart has simple HTML [a table with a few <i> classes to utilize Font Awesome], ...
0
votes
1answer
280 views

Responsive CSS to center (horizontal align) X number of button images in CEWP

I created a row of buttons that enlarge on hover on a Sharepoint 2013 webpage , here is the code: ​​​<style type="text/css"> .thumbnail { position:relative; width:100px; height:100px; display:...
1
vote
1answer
589 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; ...
1
vote
1answer
37 views

Can't hide Displayform ribbon,using CEWP or CSS in 2010

I have been trying to hide the Manage and Actions ribbon on DisplayForm.aspx, using a browser inserted CEWP and just entering: <style type="text/css"> #s4-ribbonrow {display:none} </style&...
0
votes
0answers
28 views

Custom CEWP broken in IE unless console is open

I am trying to use JS to dynamically pull a selection of images out of an iFrame (set to display:none; with src= a list on the same site) into a CEWP, but on IE the images are randomly blank, like not ...
2
votes
0answers
45 views

Correct way to save special chars in CEWP content link

I have a content editor web part. I have content, it is stored in a file on the site collection in a Folder of the site collection (not a doc lib) to hide it from the users as it contains html ...
1
vote
2answers
741 views

Creating a Basic Web Part Page using JSOM

I'm trying to create a basic Web Part page using JSOM for SharePoint 2013 and in this page I want to add a CEWP. Could someone direct me in the right direction on how to do this?
1
vote
3answers
291 views

Own .html page stored in SharePoint 2013?

Which way is the preferred when you want to built a Single Page Application within SharePoint. I mean i can put my .js into some Library and my HTML to a Content Editor WebPart, but my question is if ...
3
votes
1answer
103 views

Content Editor WP or Script Editor WP won't show Content when Saving List as Template

I created a List Template with a Content Editor Web Part in it and I made sure to click the "Include Content" button when I created the template but my list template does not have the Content Editor ...
0
votes
1answer
511 views

SVG images not showing in SharePoint 2010 Content Editor Web Part with IE11

Ultimately, I am trying to use D3js.org in a SharePoint 2010 CEWP to visualize some data. However, after loading a script I just get a blank web part. I can successfully run jQuery in CEWP so I assume ...
0
votes
1answer
496 views

SharePoint 2010: How to display the list item id in CEWP on Display Form

On the display form, I have added a CEWP which has some text. I want to append the list item ID at the end of the text. How can this be done? Note: Don't have access to SP Designer
1
vote
2answers
344 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
377 views

Overflow when using Web Part

I created a dropdown menu using sharepoint list. The issue I'm having is that the sub menu items are getting cut off. The way I'm showing the menu is through the content editor web part linking to an ...
1
vote
0answers
77 views

Using CEWP to apply css to a table on sharepoint 2013

I am in the process on adding css to a CEWP for a table within a webpage. I have tried different CSS and nothing is working. It is a basic table that just needs the border black due to the border ...
0
votes
1answer
327 views

I would like to create a customize grid view on a sharepoint page in SP2013

I would like to create a customize grid view in SharePoint using a list that has already been created. the tools I have to do so are SharePoint designer and a CEWP. I have some coding experience but ...
0
votes
1answer
897 views

Open Infopath forms in a new window from Forms Library

I have a forms library with a few Infopath forms in them. I want to make it so that clicking on the form will open it in a new window/tab. I have added a CEWP with Javascript to give the hyperlinks ...
0
votes
1answer
165 views

CEWP to set Infopath field value not working

I have an infopath form web part on my web page along with a CEWP. I'm using javascript in my CEWP to set a field on my Infopath form to some value when a button is clicked. For some reason I can't ...
1
vote
1answer
111 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
0answers
42 views

Accessing JavaScript libraries for basic tasks

I ran into an error while trying to gain access to the required libraries for JavaScript development. I copied this code straight from Microsoft's documentation, however when it is executed on my ...
2
votes
0answers
127 views

Target Audience in CEWP Snippet not working

I am trying to add a CEWP snippet with Target Audience applied to a Page Layout. However the Target Audience is not working when I add a CEWP as a snippet. However, if I apply a CEWP to a Web Part ...