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.
380
questions
2
votes
1
answer
707
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
1
answer
1k
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
0
answers
21
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
2
answers
6k
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 ...
9
votes
2
answers
29k
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
1
answer
83
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
1
answer
119
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
0
answers
92
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/...
1
vote
2
answers
2k
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 ...
1
vote
1
answer
618
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
1
answer
309
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
1
answer
233
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
0
answers
37
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"...
1
vote
2
answers
100
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
1
answer
512
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
1
answer
4k
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
2
answers
117
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
1
answer
390
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
2
answers
616
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
0
answers
44
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
1
answer
1k
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
2
answers
720
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
3
answers
223
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 ...
1
vote
1
answer
1k
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
1
answer
39
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
1
answer
584
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
1
answer
226
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
0
answers
425
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
0
answers
270
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
1
answer
389
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
0
answers
34
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
1
answer
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 ...
1
vote
3
answers
671
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
2
answers
20k
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
0
answers
56
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)...
5
votes
1
answer
930
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
2
answers
186
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
1
answer
985
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
2
answers
781
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 ...
4
votes
2
answers
5k
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
1
answer
661
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
0
answers
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
1
answer
3k
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
0
answers
226
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
1
answer
291
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
2
answers
224
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
1
answer
1k
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
1
answer
4k
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
1
answer
82
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
1
answer
146
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 ...