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
3
votes
0answers
347 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
81 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
22k 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 ...
1
vote
2answers
1k views

Is it possible for a html textbox to populate a sharepoint column in a list?

Here is the scenario: SharePoint 2010 doesn't have a back button, this makes it difficult when a user messes up in a branched survey. I have created a little JavaScript embedded html page that I ...
0
votes
2answers
1k views

getElementById javascript in a cewp

Please bear with me as I am still learning sharepoint and web technologies in general. I have put a rotator on my sharepoint page using the easy to use script generated by http://usermanagedsolutions....
2
votes
2answers
14k views

Reference to javascript file in Content Editor Webpart

I have site which is non root site i.e. url of site is: http:///sites/xxx I want to place a content editor web part and refer a link to javascript file which is stored in the Style Library. My code ...
0
votes
1answer
174 views

How to implement editor zone at a custom webpart in visual studio 2012 with vb.net

I have webparts which display the content. Using Webpart Editor zone I need to select display style whether it is Grid or List or Rolling (from Dropdownlist). How can i add custom property in Webpart ...
3
votes
1answer
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 ...
0
votes
1answer
179 views

Edit Items in DVWP using ECMAscript from CEWP

Is it possible to edit items in a dataview webpart using javascript from a content editor webpart on the same page. What methods would I use? What I want to do is manipulate certain columns in a list ...
1
vote
1answer
2k views

Displaying Custom List Items in Content Editor or Content Query Webpart

How to Display my custom list items in Content Editor or Content Query Webpart? In this Webpart how to make data as "scroll= up"? for Eg: News Scrolling in Home Page.aspx. If any one of the news is ...
0
votes
1answer
179 views

Does Content Link within Content Editor Web Parts Leave a HTTP Referer?

Our SharePoint site has multiple Content Editor web parts that use Content Link to call ASP scripts on a different web server. Example: my-sharepoint.com/home.aspx has Content Editor web part #1. ...
0
votes
1answer
50 views

Content Editor - Dynamic Content by Workspace Instance?

How can I make the content editor display different content for each workspace instance? For example, I'd like to display the corresponding agenda for each meeting date listed.
1
vote
2answers
1k views

Content Editor Jquery working in Firefox not in IE

I'm trying to display an image, content and a link to open new list item dialog box. This is working in Firefox, but in IE it gives the error "wrong number of arguments or invalid property assignment"....
1
vote
3answers
12k views

Is there a simple override method to change the background of a webpart? SP 2010

Found out how to change the background of one single page (body of that page). This works when I want a single page or two to have a specific background instead of modifying a master page. Is there ...
1
vote
3answers
7k views

How to bind the sharepoint list 2010 values in the Html dropdownlist using Javascript/ECMAscript?

I have created one Custom List in sharepoint 2010 as mentioned below: LIST A: Title TeamName A cc b ddd c eee I have created html table in the Content ...
2
votes
2answers
1k views

how to conditionally show a content editor webpart

how to conditionally show a content editor webpart based on user currently logged in. I have 2 links on my webpart page, and i need to show one of the link to only a specific user. is there a out of ...
0
votes
1answer
6k views

Apply Background color for Promoted List in SharePoint 2013 using Content or Script Edtor

I have been tasked to apply background color for promoted links using Script and Content editor web part, can any one help me? How can I do this?
0
votes
3answers
6k views

Populate a text box based on drop down value from a sharepoint List

I have a List B that has a look up column "State" to a column "State" in List A .List A has corresponding column "City" to each state(unique combination) . While adding new item in List B , State is a ...
4
votes
1answer
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 ...
3
votes
5answers
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.
0
votes
0answers
572 views

displaying stock ticker values in sharepoint 2010 site of Content editor webpart using javascript or jquery

I need to display the stockticker values as mentioned below in the home page of the SharePoint 2010 site. How can this be done? For eg: MSFT 36.03, -0.775 Thanks
4
votes
8answers
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 ...
0
votes
1answer
1k views

Javascript in CEWP on EditForm.aspx not kicking off in Chrome

In our SharePoint 2010 Enterprise environment I tried adding Javascript into a Content Editor Web Part on a custom List's EditForm.aspx page, and for some reason the code only runs when the form is in ...
0
votes
2answers
244 views

How to manage text modules (boilerplates) with Sharepoint?

I want to manage boilerplates/text modules in SharePoint. Text modules are content snippets, which may appear on multiple sites, but are only stored once. When the source is changed, all references (...
2
votes
3answers
132 views

How to save a textarea field and show it on return to that page

I'm trying to build a training system in Sharepoint 2007 where there will be a textarea at the bottom of each page for the user to enter their responses to questions or statements. All I need is for ...
1
vote
1answer
1k views

How to get content from Content Editor WebPart (CEWP) to a custom WebPart on the same Page?

I have two webparts on a single page: Content Editor WebPart My Custom WebPart I need to send content from 1 in HTML format to 2. Is there a way to achieve this? I was thinking of, maybe, adding ...
4
votes
2answers
391 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 ...
2
votes
2answers
2k views

How to generate link based on selected list item?

I have a Knowledge Base template site that I'm trying to customize. I want to create a simple search site, with just two items on it: - a dropdown menu which displays content of "Keywords" list (from ...
0
votes
2answers
1k views

Cascading DropdownList in Sharepoint 2010

I need to put 2 cascading dropdownlists on the home page in SharePoint 2010. The data have to be populated from the Sharepoint List in both the dropdownlists. I know it can be done easily on InfoPath ...
4
votes
2answers
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 ...
0
votes
1answer
68 views

Is there a possibility to add the Wiki webpart on the webpart page?

We are customizing the webpart pages in SharePoint 2010, I have updated the page layout as per the requirement(i.e, to display the left navigation, layout of the main content placeholder) however ...
0
votes
3answers
3k views

How do I apply a CSS ID selector to a webpart page?

I am using a CEWP-linked HTML file to generate a menu of links to other web-part pages. I want to use this same file in a CEWP on each of the linked pages. As an indicator of the user's location, I ...
1
vote
0answers
295 views

CEWP Disappears on Edit

I've been using Wiki pages (by default) and adding CEWPs to them, and linking (text) script files to those from a site assets library to implement functionality. However occasionally when I edit a ...
1
vote
0answers
1k views

Javascript in CEWP queries a list every time dropdown is changed on NewForm.aspx not working

I am trying to apply javascript in a CEWP to a NewForm.aspx page of a simple custom list. Basically, the idea is to auto-populate a text field on the new item form whenever a dropdown column's ...
0
votes
1answer
1k 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 ...
3
votes
1answer
485 views

Dynamic embedding of flash video

I can successfully hard code an embed path in a Content Editor WebPart(CEWP) or link a CEWP to a text file that has the embed path, but this is hard coded because the CEWP is not connectable and I ...
1
vote
2answers
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
3answers
540 views

The way to modify the content of wp on all pages

I have a question, basically I have a SharePoint 2007, and I have some particular pages a cross the portal which contain a Content Editor Webpart. I would like to be able to modify this CEWP, by ...
3
votes
1answer
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? <...
1
vote
0answers
154 views

Update CEWP without refreshing page

I have a webpart which contains 3 charts. The charts are built using google's chart API and SPJS Chart The problem I face is that I'm trying to get the charts to seamlessly update as the list gets ...
0
votes
1answer
680 views

Using links from link lists in content editor webpart

Is there any way to use link item from link list in CEWP. I have some link which appear on different web part pages in CEWP. URL will change some times in the future. I would like to have it as link ...
0
votes
1answer
191 views

How many files can I link in the CEWP

I have a CEWP which contains HTML button and JS for functionality. The html editor of the cewp keeps removing certain links from my code and I'd rather just link to the source file. How do I link to a ...
0
votes
1answer
250 views

Show/Hide button based on User Email. Error: Unexpected identifier

I have a JavaScript which I use to hide or show a button based on the logged in user. Button: <a id="customAddNew" href="/ibs/_layouts/listform.aspx?PageType=8&amp;ListId={CED7A37E-B1B4-46DD-...
4
votes
5answers
729 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
5answers
14k 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 ...

1
4 5
6
7 8