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

You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.

1
vote
1answer
23 views

Does one script override another script in sharepoint 2013?

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name ...
0
votes
0answers
17 views

Errors Editing SharePoint 2016 Homepage (not using Designer)

Our company recently got SP2016 On-prem. I never configured a server before, but I tried my best and was able to turn on the necessary settings to edit. However, Every time, I try to make a change (...
0
votes
0answers
30 views

Can you have two different Jquery script on the same page?

I have two different jquery scripts. I have used the content editor to add these script to the same sharepoint webpart page. It seems like one script overrides the other. How can I have both of these ...
0
votes
1answer
20 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
7 views

How do I access a specific category of documents across libraries by clicking a web part tile?

Wondering if there's a way to accomplish this task: I've created separate categorized SharePoint libraries (i.e., Legal, HR, Business, etc.) which contain documents with a column-view based on ...
0
votes
1answer
53 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/...
0
votes
2answers
46 views

Get current user name into the single line of text field for newform.aspx using Javascript in New Item form

newitem.aspx opening into the popup, so where do I need to add Content editor webpart. While opening newitem form, I need to autopopulate current user Name into sigle line text field?
2
votes
1answer
36 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
1answer
29 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
18 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
358 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 ...
2
votes
2answers
437 views

How to use html code in modern UI

This may be a rookie question but I just entered the world of SharePoint after a long time. I used to use the content editor web part to include custom html into my SharePoint pages, but now on the ...
1
vote
1answer
40 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
1answer
38 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
23 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/...
0
votes
0answers
16 views

Migrated content to wiki page library not visible in edit mode

I recently migrated publishing page library content (pages have webpart zones and content editor webparts) from SP2010 to SPOnline wiki page library using Sharegate. After migration I am able to view ...
1
vote
2answers
200 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 ...
0
votes
0answers
21 views

Can you get CEWP Content in SP 365 via CSOM

Is there a way to get the content of a Content Editor Web Part using CSOM for SP365? I am looking at the WebPartDefintion object, getting the WebPart from that and looking at the properties of the ...
0
votes
0answers
29 views

How to have full hover functionality for a content editor web part?

One of the Projects I am working on, I have a content editor web part that shows recent documents which is user based. I customized the display template and added some code to have a full hover ...
0
votes
0answers
59 views

Google map API v3 not working in sharepoint 2013 publishing site

use a Google Maps API in SharePoint site to display a map on SharePoint page, map works perfectly in SharePoint 2013 team site.but not working in SharePoint 2013 publishing site.I am using content ...
0
votes
0answers
29 views

Edit a new web page in Classic mode in Sharepoint 2013 / Online

I need create pages with some views in sharepoint, when I add new blank page (configuration -> New Page) to add my views, filters, etc.... the Sharepoint show me de "new" edit mode, but is not good ...
1
vote
1answer
211 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.
0
votes
1answer
75 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
81 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
22 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"...
0
votes
0answers
29 views

Html document containing Org chart not visible in content editor webpart

I have a really simple problem. I have a word document which contains an organization chart and i have converted it to an html document and uploaded in my document library and when i am showing the ...
1
vote
2answers
41 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
161 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
664 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
53 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 ...
0
votes
1answer
200 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
133 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 ...
1
vote
0answers
32 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
143 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 ...
0
votes
2answers
343 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
78 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
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 ...
0
votes
1answer
36 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
199 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
40 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
234 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
84 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
57 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="...
0
votes
0answers
65 views

Cannot have two clickable images in one page?

I have created a clickable image script (using image-net) and inserted it into a content editor web part. I have then created a second clickable image script and inserted it as another content editor ...
2
votes
0answers
26 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
1answer
522 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 ...
1
vote
3answers
312 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....
2
votes
2answers
5k views

Connecting an html form to a sharepoint list

I am trying to build a customer feedback form in sharepoint. I have created a sharepoint list, which I was hoping to serve as the place where the feedback(s) will be collected. I have also made an ...
0
votes
0answers
37 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)...
4
votes
1answer
291 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-...