Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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

How to remove close button, created by and last modified by from display form of list?

Using script editor/content editor web-part on the display form of list, I am able to get the list item to print. However it also prints close button, created by and last modified by from the display ...
0
votes
1answer
321 views

SharePoint Cross Domain REST Call from content Editor Web Part error

How to call cross domain rest call using SharePoint rest API 2013 posting data in SharePoint list from https://qa.sp.scb.org/en/whoweare/diversity/Pages/Admin.aspx To http://qa.sp.scb.org/fr/...
1
vote
5answers
11k views

ContentEditor WebPart Edit Permissions

I have a publishing site. A user is in the visitors group. On a certain page I have given the user Full control. They can edit the body of the page but cannot edit the content of a ContentEditor ...
4
votes
1answer
541 views

Credentials popup issue while adding a user to SharePoint group with REST API

I am using SharePoint 2013 On-premise, We have two SharePoint groups(Group-A, Group-B) in a SharePoint site. Group-A is owner group of Group-B, Generally Group-A users can add,delete users from Group-...
2
votes
1answer
268 views

Online - Opening documents in client application keep asking for credentials

I've made a CEWP using REST API and Javascript where I create some links to documents that are stored in a document library. These documents must open in the client application (eg: Word) and not in ...
0
votes
2answers
917 views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
0
votes
1answer
447 views

HTML WebPart dropdown a custom list

I have a content editor web part that is referencing an html page. How can I fill a dropdown on that html page with the contents of a sharepoint custom list column?
1
vote
0answers
20 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 "...
0
votes
2answers
4k views

not able to see Content editor web part in communication site

I do have a web part page in my communication site. I did activated the publishing feature of both site collection and site feature. But, I am not able to see content editor web part. Users want to ...
1
vote
1answer
66 views

Retrieve anonymous link on creating item of a list

I have a classic sharepoint online list, when I create some item in list(create view) I want to retrieve a link of that item I'm currently creating to send email with that link to anonymous person. ...
2
votes
5answers
21k views

Hide Content Editor webpart title

I have a Custom Page Layout and I have placed a Content Editor Webpart to display some introductory text. I want to hide the title as there was this chrome type property in webpart which appears blank ...
2
votes
1answer
41 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: ...
0
votes
0answers
51 views

Very slow loading with 2 CEWP referring to different html files which load the same commons.js

I stumbled on a rather strange issue in SharePoint 2013 On-Prem. Case: Home.aspx has two CEWP's: Has a content link to /SiteAssets/CustomPages/tableOfContents.html Has a content link to /SiteAssets/...
2
votes
1answer
219 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 $(...
1
vote
2answers
514 views

Unable to directly Edit html in the browser in SharePoint Online

From yesterday onwards, am Unable to directly Edit html in the browser in SharePoint Online env. i have created a folder called htmfiles in my siteassets librray on my SPO site, and i have a html file ...
2
votes
1answer
3k views

Content link URL for a content editor web part

I'm creating a content editor web part that needs to point to the site collection root. Currently, for it's "Content Link" URL field, I have ../../SiteAssets/js/jquery-rotator/slider.txt but this is ...
0
votes
1answer
304 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
1answer
324 views

Get all site collections for a web application - JSOM

I want to display all site collections for a given web application(Can be hard-coded url) using JSOM SharePoint 2010(No REST api). I have tried but couldn't complete it.
4
votes
1answer
2k views

Setting ContentEditorWebPart ContentLink property to absolute path

To avoid adding some static HTML to my custom masterpage, and allow the end-user to easily change it by just changing an HTML file instead of the masterpage, I'm trying to embed a static ...
0
votes
1answer
219 views

Excel web part vs rest api

I want to DISPLAY multiple excel charts on a dashboard. I Do Not need the functionality of the excel web part. So, what I plan on doing is getting an image of the charts via the excel rest api and ...
0
votes
1answer
142 views

Trying to display all the document library links on content editor webpart after migration from 2010 to 2013 not working

I am trying to show all the document library links on the content editor web part in SharePoint 2013. I had written Jqeury for it and it worked fine on SharePoint 2010 but after migrating to 2013 this ...
1
vote
0answers
29 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"...
2
votes
3answers
7k views

Mandatory File Attachmant

I want to make file attachments mandatory in a list. Every new element should have an attachment. Therefore I used a content editor webpart with following sourcecode: <script type="text/javascript"...
1
vote
2answers
69 views

Check if the currently opened item is a folder or a document in EditForm.aspx

We have added a content editor webpart to EditForm.aspx for document library. In the CEWP, there's a JS filed. We need to execute different code when a folder is getting edited (like renaming the ...
0
votes
1answer
354 views

SharePoint 2010 Trigger JavaScript when going to Edit Mode

So I'm looking for some JavaScript code that will trigger once a user goes into Edit mode on a page. I basically want to have two layouts in a content editor. One for display and one for edit. I have ...
0
votes
1answer
2k views

Scrolling text from announcements list and make proper alignment

I have used below code to show a scrolling text in a content editor web part on my home page in SPO team site. [ very similar to marquee tag. We can't use marquee as W3C standards doesn't support!] ...
0
votes
2answers
85 views

yammer newsfeed is not rendering in SPO site home page content editor web part

below code is used to add a yammer newsfeed in my homepage of my spo site. but when i added inside an html file and tried to add it in a content editor web part, it failed to show : <!DOCTYPE ...
1
vote
0answers
36 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 ...
0
votes
1answer
352 views

Bootstrap does not work on SharePoint 2010 Internet explorer 8

I need to support legacy internet explorer I.E. 8 applications. But Bootstrap does not work on the SharePoint 2010 page. I am injecting custom html using a content editor web part it works perfectly ...
0
votes
2answers
432 views

How do I outline the script editor web part / content editor web part

similar to the question mention How do I round the corners of my web part titles on my SharePoint site? [ How do I round corners of web part titles? ], I would like to see , the put a black outline ...
0
votes
2answers
445 views

Save data of html form into SharePoint list using JS , with impersonation

I have a SharePoint public site and make it as online, I created a list called "questionnaire result". I designed an HTML page for questionnaire by people, then I added the ContentEditor WebPart with ...
1
vote
3answers
161 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 ...
0
votes
1answer
483 views

Getting duplicated/Multiple web parts on a custom page layout when provisioning

So i've got this problem that i'm facing, whenever I'm provisioning my sites some content editor webparts become duplicated while others don't. There isn't any difference between them except... I'm ...
1
vote
1answer
209 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 ...
0
votes
1answer
506 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 ...
0
votes
1answer
38 views

Content Editor not “sticking”

I've got a blank we-part page. What I would like to do is hide the side-bar and possibly some of the upper menus - to give us more real estate for a report that will be embedded on the page. I've ...
0
votes
1answer
354 views

Display CAML Query Results in Existing Webpart using JavaScript

I am probably missing an obvious solution but after spending a couple of days on this topic I'm a bit stuck. The scenario I have is a site page with Content Editor Web Part (CEWP) and a Document ...
0
votes
1answer
67 views

Hyperlinks in a custom webpart

I have a custom webpart which acts as a 'dashboard' showing product information on a subsite, and it needs to include a direct link to another subsite within the same site collection. Whenever I try ...
0
votes
0answers
341 views

Filter Custom List/ Document Library display via JQuery Rest Api

I tried using Api rest to filter the Custom list / Document Library display via jQuery , the script is working but the display of the list is not changing. Am i missing something? Thanks! function ...
1
vote
0answers
160 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 ...
0
votes
1answer
81 views

How to add ContentEditor Web Part in Page Layout?

I Want to add Content Editor in my Page. This has to be done in Page layout. Hence any OOTB solution is not suitable. Any Suggestions? <WebPartPages:ContentEditorWebPart webpart="...
1
vote
1answer
1k views

Styling Sharepoint 2013 Quick Launch Headers

I have a very simple question. I have spent hours combing the various solutions offered here and elsewhere on the web, but none of them work for me. I'm simply looking to put some CSS in a Content ...
2
votes
0answers
27 views

How to get rid of periods (..) in content editor web part with dynamic html elements? [closed]

I have a content editor webpart which has an empty division() and links to some javascript and and css files. The script, css and the web part is working fine as per the busines logic except the ...
1
vote
3answers
472 views

Redirecting to a different list view with a image button through JavaScript

I want to upload a button image and when clicked I want it to be redirected to a different List view. I used a JavaScript for a New List entry form using JavaScript <a href="javascript:(void SP....
0
votes
1answer
228 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 ...
0
votes
1answer
3k views

Picture Library Slideshow webpart not playing?

I recently have used picture Library Slideshow webpart but the option for pause and play is not working. the fast forwards are working though. What can be the cause for this?
0
votes
0answers
44 views

Filter tasks in Content editor webpart?

I using content editor web-part to show Task from a task list, using CSS, JScript and Jquery. Need to apply a filter on the outcome to show the task assigned by and assign to current user(login user)...
0
votes
2answers
147 views

I need help using CSS and/or HTML to add a picture to the right of the Web Part title

I have this picture /SiteAssets/CalendarBar.jpg in SharePoint Online that I would like to add to the right of the title in a Web Part. Can anyone tell me what code I need to put in a Content Editor ...
3
votes
1answer
547 views

Create “Edit Item” Button for the Default Form for user to edit their info [Sharepoint 2013]

I am trying to create an "Edit Item" button that does the same function as the "Edit Item" button of the top left of the ribbon. My customer finds the ribbon Edit Item button difficult to find for ...
3
votes
2answers
3k views

User cannot add the Content Editor web part

I'm currently working with an associate who is unable to add the Content Editor web part to a specific SharePoint page in the environment. The specific site that the user needs to do this on is a sub-...