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
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
605 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
387 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 ...
2
votes
1answer
456 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
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
105 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
622 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 ...
2
votes
2answers
5k views

Where is the Spell Checker in the Content Editor Web Part in SharePoint 2010?

Has the Spell Checker been removed from the CEWP in 2010? In 2007 users using the Rich Text option could spell check content. In 2010, the ribbon is showing no option to spell check. It does however ...
3
votes
1answer
433 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 ...
1
vote
0answers
412 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 ...
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
192 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
3answers
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' ?
2
votes
2answers
7k views

Change default font-size in Content Editor

I need to change the default font-size in Sharepoint 2010 Content Editor. I've tried to set .ms-rte-wpbox {...} CSS property as suggested somewhere on web but it didn't work. Any help would be ...
2
votes
0answers
395 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
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 ...
2
votes
0answers
57 views

Clicking on WebPart modifies page layout

I'm building a custom dashboard with some CEWP's and List webparts, using a three column page layout. Whenever I interact with (click) one of the columns, it adjusts the layout. In this particular ...
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 ...
1
vote
2answers
74 views

Changes in list column don't reflect in list app on page

I have a list column, type "Choice" with boxes that can be ticked. For example: [ ] Category A [ ] Category B If I add another option on a new line, say "[ ] Category C", and save my changes, I then ...
0
votes
2answers
426 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
0answers
45 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/...
3
votes
2answers
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 ...
1
vote
1answer
1k views

Quick Launch Bar Wrap Text

Currently, my page titles in the quick launch bar are wrapping in the middle of the text. My objective is to have the word not be broken into two. However, I do not want to change the Master page. ...
1
vote
1answer
962 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
284 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 ...
3
votes
1answer
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 ...
1
vote
2answers
293 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 ...
0
votes
1answer
659 views

Adding templates to ItemStyle.xsl with a feature

I need to add an extra template to ItemStyle.xsl using a feature deployment - any idea how to add things to that file programmatically?
1
vote
1answer
2k views

Document Library Group By Style

In a document library, I have documents grouped by two columns. I would like the view to have less spaces between the group by categories (see attached screenshot). I'd like the space between the ...
1
vote
1answer
71 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 ...
0
votes
1answer
340 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. ...
4
votes
4answers
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 ...
1
vote
2answers
1k views

SharePoint Parent/Child List form

I'm using SharePoint 2010 standard edition and I want to create a Parent/Child list form. I noticed that Query string webpart is part of enterprise edition as shown here http://bit.ly/1tF8rkG and ...
0
votes
1answer
53 views

Web part removes itself with an error

I have a custom list and I'm trying to add a web part. After I add the web part I click "Modify Shared Web Part". The web part dissapears and I get the following error I am definitely the only one ...
1
vote
0answers
768 views

SharePoint 2010 content editor web part prevents adding new web parts to page

Good day, I have encountered a rather strange issue with SharePoint 2010 and Content Editor Web Parts. When you click the Edit Page button on the Site Action drop down menu, the page is checked out ...
3
votes
0answers
335 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
1
vote
0answers
74 views

SPO 2013 Editing embeded html markup in a client editor

I don't like SharePoint Designer - especially 2013. Editing embedded HTML in SPO 2013 pages using the SPO UI is ridiculous in that little window and with the 4 clicks to get to the source code. If ...
0
votes
2answers
21k views

Expandable lists that expand and collapse with one click

I have a lot of text based lists on one page, so I threw them into content editor web parts so i can expand / minimize the lists. However, two clicks (one on the arrow and then one on "restore") is ...
2
votes
3answers
2k views

How to put an iFrame with a QueryString appended in its src in the ContentEditorWebPart?

I have a SharePoint site Page in which i need to put an iFrame element to display a web page.To achieve that I wrote some html and javascript within CDATA tag inside the Content section of a ...
1
vote
2answers
4k views

SharePoint 2013 Online JavaScript CSOM CEWP

I am in a need of some guidelines according developing in SharePoint 2013 Online. I want to learn developing on a sharepoint 2013 online site. Im using Content editor web parts and want to retrieve a ...
0
votes
1answer
179 views

Some JS files are included at rendered page but I cannot find how

I am migrating a site from SP2010 to SP2013. The old site is not built by me so I am not familiar with the old design. After migrated to SP2013 (run in SP2013 mode already) In one of the page ...
2
votes
2answers
408 views

No editor in the Content Editor if added programatically

I am adding the Content Editor pro grammatically in my custom wp (into the asp.net Panel), where I am pre-loading the CEWP with some contents. But the issues is once added pro grammatically. I do not ...
1
vote
0answers
124 views

Editing a Content editor web part leads to loss of embedded CSS & javascripts in other content editor web parts

I'm using sharepoint 2013. We have many content editor web parts in the same page which contains CSS and javascripts in it. When i edit one web part, i can see some CSS/Javascripts are getting messed ...