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
10
votes
4
answers
10k
views
SP2010 - Edit in Sharepoint Designer open in Word
I'm completely stuck on this issue that keeps reoccuring for my organizations Sharepoint Administrators.
On a Site Page under Site Actions, selecting the option 'Edit in Sharepoint Designer' opens ...
10
votes
3
answers
539
views
webpart hidden when in webpart zone
So I have a webpart that I have put into a webpart zone, when it is in the webpart zone it does not show but when I put it outside the zone it appears, what am I doing wrong?
Code below:
<...
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 ...
8
votes
4
answers
4k
views
Get selected items from JavaScript in the document library view
I have a page in which I have placed XsltListView web part to show the view of the picture library.
Above that view I have placed a link using Content Editor Web Part which redirects to other web ...
7
votes
5
answers
31k
views
How to resolve "Cannot retrieve the URL specified in the Content Link property"
Salvete! I have a Content Editor Web part into which I want to load a simple
bit of html (just an input box and a button or two). The file is at
/_layouts/myfolder/myfile.html
When I use the "Test ...
6
votes
2
answers
1k
views
Can I Use SharePoint's Web Services to Edit a Content Editor Web Part?
Is it possible for me to change both the properties & the HTML of a content editor web part on a publishing page using SharePoint 2010's web services? If so, would you mind pointing me in the ...
6
votes
5
answers
10k
views
Copy and paste for images in SharePoint
It seems that whether it's a content editor web part or publishing page, copying and pasting images is a poor user experience in SharePoint. The user needs to upload the image somewhere first, then ...
6
votes
1
answer
605
views
Multicast playing of video inside SharePoint
If I use the Flow Player (http://flowplayer.org/) to play videos (which is stored on a network storage) using the Content Editor Web Part in SharePoint 2007, will the videos operate in a multicast way ...
5
votes
2
answers
9k
views
SharePoint removes iframe source from content editor randomly
I have content editor web part in which I am using iframe to display data from some other site.
The iframe code is pretty simple such as:
<iframe src="http://www.stackoverflow.com"></iframe&...
5
votes
4
answers
5k
views
jQuery and SharePoint 2010 - How can I tell is the page is in edit mode, using javascript?
I have some javascript in a CEWP that I want to execute only when the page is in display mode. I've used firebug to scour the page for some "msEditMode" type of variable or something I can rely on.
...
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-...
5
votes
3
answers
2k
views
Remember filter value using jquery and cookies
I am looking for a solution for the following problem:
I have a large list that is related to a second list. The two list web parts are on one page, when you select an item in the first list, the ...
4
votes
4
answers
15k
views
"the HTML source you entered might have been modified"
"the HTML source you entered might have been modified"
In SharePoint 2010, this is the scary message you get everytime you use the "edit HTML source" button with the Content Editor Web Part.
In ...
4
votes
1
answer
1k
views
Content editor web part issue not rendering HTML
I'm having an issue w/ a Content Editor Web Part. I would like to add an HTML table that gives users the ability to add and remove rows from a table. How should I add the following code to the CEW? ...
4
votes
1
answer
4k
views
2013 - Setting Object Height to 100% Issues
I've been running into some very bizarre issues. Something that seems (and should be) pretty simple. What I'm trying to is have objects fill a new page's height 100%. Initially, I was trying this ...
4
votes
5
answers
15k
views
Expand 1st Group and collapse 2nd Group in list view
I have a list view Grouped by Status column. Status Contains Active and closed values.
now i want the default view to open with, Status:Active group to be Expanded and Status:Closed group to be ...
4
votes
2
answers
970
views
Referencing javascript library in content editor webpart
So i have added content editor webpart in NewForm.aspx and reading the code to javascript file called HideFields.ps1. SO the script as below:
HideFields.ps1
<script type="text/javascript" src="...
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
665
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 ...
4
votes
2
answers
1k
views
Content Editor and RSS Viewer Conflict
I'm using the RSS Viewer webpart on a page with no issue. If I add a Content Editor Webpart to the the page (doesn't matter if I add content or leave it as the blank default) the RSS Viewer works ...
4
votes
2
answers
4k
views
Add content editor webpart programmatically and still keep it editable
Essentially what I want is to pre-load the existing content editor with some text may be from a configuration(by adminstrator) or from the list.
So I am creating a custom wp that will act like a ...
4
votes
8
answers
5k
views
Content editor web part "Cannot retrieve properties at this time" and "Cannot save your changes"
I have an issue with the Content Editor Web Part. Whenever I edit the content I get the following error message:
"Cannot retrieve properties at this time."
and then when I click OK and proceed with ...
4
votes
1
answer
122
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? ...
4
votes
2
answers
404
views
5 Dashboards 1 list. Need each dashboard edit view to show different list fields
I don't have access to the original source code. I can use infopath 2010, sharepoint designer 2010 and access to use CEWPs. I have 5 Dashboards connected to 1 list. This is just one#
Each ...
4
votes
1
answer
3k
views
How to retrieve all choice field values using ecmascript – SharePoint 2010 and bind to html dropdown in the content editor webpart
I need to bind the SharePoint 2010 choice column in the HTML dropdown of the content editor webpart..
I have followed this blog but it could not achieve my requirement.
I have replace my listname, ...
4
votes
1
answer
3k
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 ...
4
votes
5
answers
783
views
Tracking changes to a Content Editor Web Part and sending email
Is it possible to track changes made to a content editor web part and alert users to these changes? Basically, the same thing that I would do with a list, but with a CEWP instead?
Thanks,
Ninel
3
votes
3
answers
4k
views
Adding Font Awesome Icons to Quick Launch Links
When customizing the Quick Launch Links Navigation, I got stuck with adding Font Awesome Icons. How do I go about it so that it appears like the ones in the picture below?
And the code is as below:
....
3
votes
5
answers
25k
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 ...
3
votes
2
answers
5k
views
<FORM> tags are not supported in custom page layout
I am creating a custom page layout (I am also using a custom masterpage). I have created a CEWP and linked it to a notepad file, the file is just HTML and Javascript
<table border="0" width="200" ...
3
votes
5
answers
6k
views
Why am I unable to save JavaScript in a Content Editor Web Part?
I am trying to follow this link and put all the code in a CEWP as suggested. After saving the page the code goes away (except for the gear part, top line).
I could really use some help if possible.
3
votes
1
answer
1k
views
Open SP page in a model popup and click close should close browser
I want to open a sharepoint page to be opened in a model popup with only close option. I should be able to adjust the size of the popup as well . And onclick of close ,the browser should be closed . I ...
3
votes
2
answers
8k
views
Customising Data Sheet View
I'm using SharePoint 2007, with custom list.
I'm using Content Editor web part in order to design my list.
{In my list the row color determined through the item ststus.
e.g: If the status equal to ...
3
votes
1
answer
3k
views
Get the list of all webparts IDs in a page using REST/CSOM
I have few content editor web parts in my page
I need to get the GUID of all the web parts that are there in the page
I am able to get the list of all webparts in the page by navigating to
http://...
3
votes
2
answers
7k
views
Custom Page Layout in Sharepoint 2013 Foundation
Sharepoint comes with a set of Text Layout Templates. How can I create my own custom Text Layouts under Sharepoint 2013 Foundation. What I'm trying to achieve is a shown below.
PS: I do not have ...
3
votes
2
answers
7k
views
Can I edit a publishing page using Powershell?
I have a bunch (technical term) of publishing pages within a single subsite of my site collection that contain a broken link. I'm wonder if it's at all possible to use Powershell to perform a 'global' ...
3
votes
1
answer
919
views
Remove content editor name when page has been published
I have a content editor webpart in Office 365. When I publish the page the content editor name is still there. How can I remove this?
3
votes
3
answers
3k
views
Css files not loading properly in sharepoint server 2019, only in sharepoint online
I have some custom html e js files that i am using in PDPs, (pages) of sharepoint, but the css its not being loaded.
I importing the files like this:
<link rel="stylesheet" type="text/css" href=...
3
votes
1
answer
63
views
How to persist data that is entered into a Content Editor Web Part
I've created a table where users can add/remove rows containing past employment history Code here I'm using a Content Editor Webpart which points to an html file that contains both the code and html.
...
3
votes
1
answer
75
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 ...
3
votes
1
answer
770
views
How to embed more than two CSS files on a SharePoint-Site
I have a kinda strange requirement to outsource every little CSS coding solution in any extra file, located in any library. Now I would like to embed multiple CSS files on any Site, using Script ...
3
votes
1
answer
105
views
Adding a Content Editor Content Link causes other Web Parts to have a truncated title
In SharePoint 2013, I added a Content Editor Web Part and then specified a Content Link. After I did that, other Web Part titles were truncated on the left hand side. This side effect even extended ...
3
votes
4
answers
3k
views
Security trimmed content based on group membership (target audience)
I realize that content editor web parts can utilize audience targeting in the full version of SharePoint. I'd like to go one step further and actually target content within my CEWP to specific groups.
...
3
votes
2
answers
7k
views
Disable a form text field with jquery in CEWP not working in Chrome/Firefox
I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
3
votes
1
answer
5k
views
Set font size for web part zone
I have SP2010 Web Part Page with several Content Editor web parts in the 'body' Web Part Zone.
I would like to set the typeface and point size of the titles displayed in the web part chrome. It seems ...
3
votes
1
answer
988
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
1
answer
1k
views
content editor webpart changes relative path to absolute path
we have a sharepoint 2010 webapplication which is extended for anonymous access.
Inside the company we use
http://A (dns record is not public, it works only inside the company)
From outside it's ...
3
votes
1
answer
2k
views
Why Do My Content Editor Web Parts Have "noindex" Class?
When i create a content editor web part on a publishing page in SharePoint 2010, the following code is created:
<div WebPartID="151e7c56-689b-48ef-ab7e-7f8ed3958cb5"
HasPers="false"
id="...
3
votes
2
answers
1k
views
Grabbing a filter value via CEWP code behind
I have employed a Query String Filter to parse a value and send it to a chart web part.
now I would like to use this value in a CEWP to provide an explaination/clarification for the chart, but the ...
3
votes
1
answer
479
views
Diffferent methods of retreving site column values
I'm wondering if there are any differences between retrieving value of a site column (RichHtmlField) via PublishingWebControls:RichHtmlField vs getting its value via Container.DataItem?
<...