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 [cewp]

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
1answer
20 views

CEWP and Script editor webparts missing in our SharePoint Online Tenant

CEWP and Script editor webparts are missing in our SharePoint Online sites. Custom Scripts is allowed for self created sites but prevented only for personal sites. This I checked in SharePoint Online ...
0
votes
0answers
6 views

O365 sharepoint sites created from a template don't match the templated site (random differences)

We are doing SharePoint development in our third online (O365) environment and have experienced the following issue in each system. After a site is templated and a new one is created based on that ...
1
vote
2answers
50 views

How to Sort or Filter by Group By Total - SharePoint Online

I have a long list of companies (3,500+) in a classic SharePoint list. I am trying to identify when there is a duplicate company. Right now I am grouping the Company Name field and scanning through ...
1
vote
0answers
20 views

With CSS : How do i make all content on the page to fit to page?

I looked up most of the questions on here about fit to page but my case may be a little different. On my page, I have the followings: [Header ] Title (picture from assets) 6 world clocks marquee ...
0
votes
1answer
38 views

Office 365 - Save Conflict error when upload Publishing page

I have some Publishing pages aspx. When I tried to upload file to Site Contents - Pages, I got error page popup like that: "Sorry, something went wrong Save Conflict Your changes conflict with those ...
0
votes
2answers
51 views

@media print page breaks getting ignored when printing an html form placed in content editor webpart

When I add the following styling to my html page, @media print { .pdf-break-after { page-break-after: always !important; } } Adding this in a content editor webpart. When I try to print ...
0
votes
0answers
19 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
19 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
24 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. ...
1
vote
2answers
463 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
127 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
367 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
2k 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
162 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
898 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
129 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
172 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
240 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 ...
-1
votes
0answers
51 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
35 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
1answer
397 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
87 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
106 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
399 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
157 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
35 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
487 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
214 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
93 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
554 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
106 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
35 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
328 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
638 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
52 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
845 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
307 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
132 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
572 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
536 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
569 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
423 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
81 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
354 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
975 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
185 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 ...