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
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
430 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
432 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
141 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
456 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
322 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
63 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
337 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
150 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
69 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="...
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
954 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
439 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
10k 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
42 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
510 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-...
0
votes
2answers
144 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
507 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 ...
2
votes
2answers
436 views

Add Content Editor webpart in masterpage with Target audience

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will ...
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-...
4
votes
1answer
390 views

Using tooltips on an image map in a content editor web part Sharepoint 2010

I am trying to add pop-up tooltips on mouse hover over an image map delivered by a content editor web part (HTML stored as a .txt file in the pages library) on a site in SharePoint 2010. Is this ...
2
votes
0answers
20 views

Content editors accessing content on a different site

I have a content editor which links to a text file on a fellow site (same root directory) which formats the list on the page. when I used this site as a template for a site on a different root the ...
1
vote
1answer
1k views

When I click on Edit Source, the code is invisible, what next?

I am working on a two column layout. When I click on edit source in the column I am working in, the code is invisible. If I highlight over it, I obviously can see it. Is there a setup that I have ...
1
vote
0answers
168 views

Update content link property of content editor webpart using CSOM

I am trying to set the content link property of content editor webpart using CSOM using the code below try { Microsoft.SharePoint.Client.File file = ctx.Web.GetFileByServerRelativeUrl("...
0
votes
1answer
195 views

Change the contentlink based on Site collection

I have a html file in the style library which I am loading onto a content editor webpart using content link Currently i have used, /sites/sitename/style library/html/file.htm But here the sitename ...
0
votes
2answers
146 views

Content Editor Web Part Not Rendering Due to Link

I have a problem with a CEWP not rendering because of the link entered. It is a custom WP, but what was customized is just the CSS, so I'm pretty sure that the CSS isn't causing the issue. I have ...
0
votes
1answer
730 views

Repeating section in SharePoint 2013

Just wondering has anyone ever found a solution for creating a repeating section on a SharePoint 2013 built in SharePoint designer and NOT Infopath. All resources online point to using the repeating ...
0
votes
1answer
2k 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?
1
vote
1answer
54 views

Changing a calculated column from text to number within a default display webpart by jslink

I have a calculated column with the format of "number" in a list. However, within the display form webpart, the default settings actually returns a string with quotes " instead of returning it as a ...
0
votes
1answer
82 views

Programatically add image into a content editor in Sharepoint Online?

How can I programtically display/add an image into a Content Editor in SharePoint Online? I have managed to get an image programtically added to "Site Assets", but how can I as a second step get it ...
0
votes
2answers
219 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
1
vote
1answer
690 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 ...
1
vote
1answer
68 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 ...
0
votes
1answer
206 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
639 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.
2
votes
1answer
1k views

Line spacing on wrapped text

I am currently building content in share point, 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 ...
2
votes
1answer
795 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-...
0
votes
2answers
119 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 ...
1
vote
1answer
45 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 ...
0
votes
0answers
61 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.
0
votes
0answers
20 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 ...
4
votes
1answer
100 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? ...
2
votes
1answer
527 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 ...
0
votes
2answers
800 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. ...
1
vote
2answers
115 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 ...
1
vote
1answer
37 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 ...
3
votes
1answer
68 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 ...
1
vote
4answers
2k 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....
2
votes
1answer
37 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 ...