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
0
votes
1answer
388 views

SP2010 - CEWP not executing javascript until page refresh

The CEWP is loading a HTML page stored in the Site Assets library. The HTML contains a few inputs and some Javascript. Javascript is: Function myInit(){ console.log("here"); Ctx = new SP....
0
votes
2answers
41 views

Migrated sites don't allow edits

We've migrated all of our sites to SP 2013, but now many of them (still with the 2010 UI) don't allow editing to pages. If you click "Edit this Page" it blinks, but you can't edit the content. Is ...
0
votes
2answers
1k views

Relative Paths in Content Editor Web Part

I have a relatively complex html-structure in a document library, which I want to display in a web part. The web part refers to site.com/library/index.htm, from which other pages are called. Problems ...
0
votes
1answer
448 views

Tooltips or Popups from List/Reusable Content

A customer would like to insert descriptions on words in his text on a page. Two possibilities to show them: 1. You hover a special word and a tooltip shows up with the description of the word. 2. ...
0
votes
1answer
1k views

Add a “add Link” to a Content Editor Web part

I have used a Content Editor web part to display a scroll-down list of links. The code I use is similar to this: <select id="mySelect" jquery110205452414735412181="1" ...
1
vote
1answer
127 views

Creating a modeless dialog box that appears automatically after 5 mins

I have a sharepoint site. On it I want to apply modeless dialog box , that will appear after 5 mins when user has open the site. Please suggest. I have written javascript code in CEWP that opens a ...
0
votes
2answers
860 views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
1
vote
0answers
132 views

Client-Side Save Event in Edit Mode

Is there any client-side event I can listen to when a user saves a page? I know how to detect the edit mode and I could add event listeners to save/check-in buttons, but it would be better to listen ...
3
votes
1answer
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://...
0
votes
1answer
498 views

jQuery validation on date field

I have 2 date fields in SharePoint list Deferral Raised Date and Original Dispatch to date. I want to put formula in jQuery such that value of Original Dispatch to date should be less than Deferral ...
0
votes
1answer
2k views

Unable to edit content editor web part even with full control

In SharePoint 2010. Two users are having the same permission (full control) and one of them is able to edit the CEWP without any issues. However, the other user is unable to edit the CEWP and doesn'...
0
votes
2answers
969 views

Unable to execute javascript user function within Content Editor

Trying to implement some javascript functions within the content editor. I have more advanced code to implement, but am not able to even execute the following code. The user defined function will not ...
2
votes
3answers
2k views

javascript- How do I create a global variable among all pages

I implemented a toggle in my home page through javascript in content editor web part, the toggle has state between 1 and 0. Now I need the exact same toggle in all other pages of my site, but I'm not ...
0
votes
1answer
604 views

Custom code in webpart HTML editor

I need to implement a simple show/hide div when a user clicks on a specific area of a map in sharepoint. The following code works perfectly in all browsers, but when i paste it exactly as is in the ...
0
votes
1answer
380 views

Audience Targeting not working in SP2010

We have 3 content editor webparts on Wiki Page. All the 3 webparts are added using SharePoint Designer. All the webparts have target audience. We are facing an issues when we deploy the wsp: All 3 ...
1
vote
3answers
2k 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 ...
2
votes
1answer
447 views

How to create webpart page using ECMA Script

I have tried to create webpart page using ECMA script, but did not get the right solution. Example : I have created two text-boxes one for "page name" ,second for "web-part name". when user click on ...
1
vote
2answers
2k views

Get inner content of Content editor web part Programatically using CSOM C#

I need to Access Web parts Content Property but it is not available in Web Part Properties when I tried with Client side object model C#. Please find below reference links for detail information. ...
1
vote
1answer
53 views

Not able to update src in <embed>

I used the below code in content editor to extract the query string and update the src of <embed>. <object><embed id="ExampleEmbed" src="somfile" height="850" width="850" type="...
1
vote
1answer
103 views

How to change src of <embed> tag in a content editor?

I have inserted the below code to display my file in content editor web part. <object><embed src="somfile" height="850" width="850" type="application/pdf"></embed></...
0
votes
1answer
591 views

How to hide both the quick links bar and the recently modified portion?

As a site administrator for my team I decided to abandon the left side quick links bar. I took the following steps to do that: From Site Settings, I disabled the quick links bar after removing all ...
0
votes
1answer
28 views

Content gone after editing page

I'm having this issue on a dev environment and a quality environment, all of a sudden. The issue is that whenever I edit a page, imagine to change a title or add a webpart to the rich text html field, ...
0
votes
2answers
43 views

How to change what web parts are available to use in a site?

When adding a web part to a Web Part page, the only option I have are Lists and Libraries category. I'm looking to add a Content Editor web part, but that is not available. Is there a setting under ...
1
vote
0answers
407 views

Opening a SharePoint file using a hyperlink

On a browser-based SharePoint drive, the default file-opening functionality for an macro-enabled Excel file is to open it directly in Excel; no asking for Open/Save As, no intermediary steps; when the ...
1
vote
3answers
2k views

How to display Custom Page Inside Web Part Page

In one part of my portal I have a Web-Part page, and I want to use one of the zones to display a Custom Page (just a wiki page from a Team Site in the Site Page library) inside that zone. If I use a ...
3
votes
1answer
425 views

Edit item popups not working with ms-listviewtable class in a CEWP

I'm using SharePoint 2010 and Internet Explorer 9. (I have no choice in browser or versions -- policy dictates I use these until told otherwise) I actually solved my problem, but I still don't ...
0
votes
0answers
44 views

Editable repeating region in sharepoint

SharePoint Novice. Just as the image shows, I'm trying to create an editable repeating region in SharePoint and I have idea on how I can achieve that. Any suggestions or ideas on how I can get this ...
0
votes
1answer
178 views

How do I reset “Edit Web Part” - Unable to re-add webpart?

When I click edit on an item in a list, I get a blank page. I'm investigating this and discovered that when I go to "Form Web Parts - Default Edit Form" that there are no web parts on that page. I'...
2
votes
0answers
388 views

How to execute a SQL Agent Job on a button click in a Web Part page of a SharePoint 2013 site?

I have a SharePoint 2013 on-premises site. The requirement is to add a button to one of the Webpart pages and on click of that button, a sequence of 3 consecutive SQL Server Agent jobs will be ...
2
votes
0answers
3k views

Editor buttons not working

I am setting up a SharePoint environment and have encountered an issue. I'm trying to set up a simple form using web parts/html-form editor. However, when I try edit the form content, the "Source ...
2
votes
3answers
7k 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
0answers
176 views

I'm having trouble with basic layout using html/css with Sharepoint

first time poster here so I'd like to apologize if I do this wrong. I'm new to Sharepoint, so I'm having difficulty with some basic stuff. My end goal is to basically make something that looks like ...
5
votes
3answers
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 ...
0
votes
2answers
9k views

How to center a content editor webpart on a page

I've a content editor webpart with a linked js that display a searchbox. I'd like center my webpart in the page Here is the html in my js file <div style="display:table; margin:0 auto;width:100%"&...
0
votes
1answer
185 views

Visual Web Part with Web Part Zones

I am trying to create a unique component that has two Content Editor Web Parts. One of these will contain embed code showing a video, while the other one will contain description as HTML. The idea is ...
3
votes
3answers
3k 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
1answer
1k views

Set Style for Content Editor Web Part in Sharepoint Designer 2010

I have created a new page layout and added a web part zone. In this web part zone I have also added a content editor web part. When users go into edit mode on the page and add content to the CEWP, i ...
1
vote
0answers
44 views

help in adding a http link in script editor - cant get it to work

Im trying to add the link below to open in a new windows using showSPDialog newRows +="<p><span><a onclick='/showSPDialog(\' + viewurl + \');/' href='#'><img src='/Test/...
0
votes
2answers
424 views

Content Editor Web Part Does Not Allow Edits Once Added Via Designer

I have created a page layout in SharePoint Designer 2010 and I added the content editor webpart so that users could add content in a specific part on the page. When i saved and published my page ...
1
vote
1answer
953 views

Content Editor Web Part not working on all servers in farm

I have a multiserver farm and on one WFE the CEWPs display fine, but on the other servers they show up on all subsites as : Web Part Error: One of the properties of the Web Part has an incorrect ...
1
vote
1answer
283 views

how to edit list directly without display preview

Newbie SharePoint 2010 question I opened my View in SharePoint designer 2010 I've got a list and I was able to set linked item property on a column "Contribution" <ViewFields> <FieldRef ...
0
votes
2answers
3k views

SP13: Image behind Table (HTML)

I have content editor web part that I have applied html for a table. I would like to upload an image (through HTML script), but I want the image to appear behind the table. I tried using the ...
2
votes
0answers
678 views

slow response IExplorer opening new item or editing a list item

I have a Sharepoint 2013 Foundation running on a Windows server 2012 R2. It's a domain controller as well. Yes I know its not a best practice but the company has limited funds. And does not want to go ...
1
vote
2answers
285 views

Speedometer gauge using calculated columns?

My idea is implement a speedometer gauge at the top of my page that will change dynamically based on the average of a column, what i'm thinking is to use three speedometer images (low/med/high) and ...
1
vote
1answer
69 views

How to create a verticle cascading menus in sharepoint

Can anybody suggest a code to create a verticle cascading dropdown lists in sharepoint using content editor?
0
votes
1answer
5k views

get data by id from other page using jquery ajax on sharepoint 2010

I'm trying to retrieve specific data value by id from other page on my site by using query ajax. by debugging on Chrome canary i have seen that I'm getting all the page data on dataAll ,and than ...
1
vote
1answer
168 views

SharePoint 2010 and 2013 can't not find SPLimitedWebPartManager

I trust this is one of the most common question when approaching with adding webpart to you sandbox solution through SharePoint 2010 or SharePoint 2013 I have researched google for a while and can't ...
0
votes
1answer
339 views

c# add existing webparts on site into sandbox webpart solution

I want to create a webpart using sandbox webpart solution on C# which contents two or more webparts (such as a list, task, document,...) existed on my Sharepoint site. So my new webpart will have some ...
3
votes
4answers
2k 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. ...
1
vote
4answers
1k views

jQuery not working properly

In the editform.aspx of an item, I am trying to use jQuery to cause a pop up to go off anytime a field is changed (sort of silly, but once I get this to work, I plan on moving to doing more). However, ...