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.
31
questions
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:
....
1
vote
3
answers
3k
views
referring to files in style library from content editor web part
I have a content editor webpart
I am referring a html file to the content link of the webpart
the contentLink looks something like the one below
sites/ImageList/Style Library/Page/ImageList.html
...
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 ...
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 ...
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
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
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
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="...
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
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.
...
2
votes
3
answers
5k
views
How to Create Piechart in sharepoint 2010 Based on the List item Values? Only using Javascript/jquery
I have a CustomList in Sharepoint 2010 as Mentioned Below.have two columns Team and Values of Team
List A
Team ValuesofTeam
A 9
A 6
B 7
C ...
2
votes
3
answers
11k
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"...
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 ...
2
votes
3
answers
6k
views
Overwrite the default font for Content editor webpart in sharepoint 2010
I added a content editor webpart in my sharepoint page. By default it is using 'Verdan' font type. How would I change it to 'Arial' ?
1
vote
1
answer
123
views
Conditionally display a CEWP depending on form content type?
I have a request list with different content types set up for different types of request. I would like to show a different CEWP at the top of each form depending on which type of request is being ...
1
vote
2
answers
725
views
Skipping Callout menu within context menu (ECB-Menu) in a list view of document library - SP2013
I would like to skip the preview-window (CallOut Menu) (red marked in my screenshot) within the context menu / ECB-Menu [(...)-Menu] of a document in a library shown in any list view and go straight ...
1
vote
1
answer
695
views
Custom default page - edits not saved in content editor web part
I've created a custom default.aspx page which is provisioned through a custom web template using SharePoint 2010.
I've added the below code to add a content editor web part, with some default content.
...
1
vote
5
answers
12k
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 ...
1
vote
3
answers
15k
views
Javascript in content editor web part not working after publishing the page
I have a publishing page in which I have placed content editor web part which contains the link to redirect the user to application page.
Code in the content editor web part is:
<script type="...
1
vote
1
answer
12k
views
Horizontal Rule in Content Editor Web Part?
When editing rich text in a CEWP, as typical not-admin user, how does one go about inserting a horizontal rule? Google has not been my friend. I'm loathe to tell the users they need to edit the HTML ...
1
vote
2
answers
2k
views
How to include a 'yes' and 'no' button on the PreSaveAction() on the EditForm.aspx to return true/false accordingly?
I am simply looking to use the PreSaveAction() in a content editor web part as an
extra cautionary step prior to saving a list item.
Here is what I have:
function PreSaveAction()
{
alert('Are ...
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 ...
0
votes
1
answer
502
views
Get site url in ContentEditorWebPart content
I have added a ContentEditorWebPart to an Element file in visual studio. I want to get the current site url and place it in the content block (between the cewp:Content tags).
How would i do this?
...
0
votes
4
answers
5k
views
How to get the list item column values based on the html drop down and display in the alert box using Javascript?
I have a html dropdown list(team name) which contains three values A,B,C
I have a sharepoint 2010 List A which contains Team name and Email.
List A
Teamname Email
A A@test.com
B ...
0
votes
2
answers
2k
views
How do I edit script in embedded code within a web part (content editor after pasting in an invalid script)?
I have added an incorrect script text/URL into the embedded Code of a web part content editor.
<meta http-equiv="refresh" content="0;url=http://spfarm.rootname.com/sites/SITENAME/SitePages/Home....
0
votes
1
answer
2k
views
Use Content Editor and iframe to Dynamically Display Selected PDF
So I have a library with PDF documents in it and a content editor web part underneath. When I select a PDF item I would like it to display in the <iframe>. I can accomplish this with a static ...
0
votes
1
answer
386
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
1
answer
466
views
JavaScript code block messing with drop-downs in Menu
I am using SharePoint 2010 and I need to place the following JavaScript code on a page to give me time in Rome
<SCRIPT LANGUAGE="JavaScript">
function GetTime() {
var dt = new Date();
...