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
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
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
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 ...
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
1k views

Wiki content editor override

I have an issue which is probably specific to this product that has effected the content editor on the wiki pages for the site collection. The product 'wraps' the Telerik RadEditor within a solution ...
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 ...
1
vote
1answer
2k views

Designer Workflow: change document file extension upon upload

So I would like to try to create a workflow on a library that simply checks to see if the file extension is anything other than .xml, and if it is, rename the Name (File Name) to the same value with ...
1
vote
1answer
1k 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 ...
1
vote
1answer
218 views

How to access the webpartmanager of a list?

I would like to programmatically add a CEWP to a list (to perform operations on my list forms), it's very easy to do it through the SP interface but I can't manage to reach the webpartmanager of my ...
1
vote
2answers
4k views

Get the content of a content webpart with the client object model

Is it possible to get the content of a content webpart by using the client object model of SharePoint? The usage scenario: I want to copy a site page (with content in content editor webparts) from ...
1
vote
2answers
2k views

Include Column Values in Content Editor WebPart

We want to create sites based on a site template that we're defining. We are planning on including a hidden list (containing only 1 row) with structured metadata related to that site i.e. a columns ...
1
vote
1answer
527 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
2answers
2k views

Preventing Duplicate Items in list (sharepoint 2007)

Is it possible to restrict, creation of duplicate list item in the Sharepoint 2007, using Javascript in content editor webpart to validate when an list item is added?
1
vote
2answers
1k views

Content Editor Webpart Javascript Issue

I have recently upgrade our test environment to SP 2010 (using DB detach and attach approach). And also we did not do the Visual Upgrade. We have few CEWP's which is now starting throwing JS script ...
1
vote
1answer
29 views

Content Editor in Document Set

I have a content type based on document set type, and inside the welcome page I added a content editor webpart, however, I do not want the content of the content editor to appear in all items based on ...
1
vote
0answers
12 views

Using ClientContext can we change the url of text file linked to content editor webpart?

Is there any way to change the url property of content editor webpart using Javascript function ? I found solution to change the title of the webpart not the url properties of the web part. ? ...
1
vote
0answers
19 views

SharePoint WebPart forcing to fill out required fields to edit page

A sharepoint page created by my predecessor which is a content viewer web part has some HTML "required" tags to fill out a form. When trying to checkout and edit this in the browser, it just hangs on "...
1
vote
0answers
29 views

Screen “Hitch” In Picture Slideshow Web Part

I have created a slideshow web part in a Sharepoint 2010 environment. I was first having a problem of the images sizing too small in the web part, but I implemented the solution that "Vadim Gremyachev"...
1
vote
0answers
36 views

Is there an approval process behind the scenes for new pages with CEWP to be activated to allow script tags?

I was doing some coding work through the content editor webpart on a page. The code uses jQuery, and the execution of that page do have some errors, but mostly insignificant ones. The script file is ...
1
vote
3answers
146 views

SharePoint 2013 content editor wepart permissions

Is there a way to set permissions to a CEWP in SP2013 on-prem? What i'm trying to do is create a button to a network shared drive, and depending on the permissions set on a SP security group they'll ...
1
vote
0answers
154 views

Increase Page Viewer Web Part Zoomed View

I have a PDF file that's fairly small. I inserted the Page View Web Part and need to keep a view of 300% so other viewers don't have to increase the size to see the page. Is there scripting I could ...
1
vote
0answers
171 views

Update content link property of content editor webpart using CSOM

I am trying to set the content link property of content editor webpart using CSOM using the code below try { Microsoft.SharePoint.Client.File file = ctx.Web.GetFileByServerRelativeUrl("...
1
vote
1answer
56 views

Changing a calculated column from text to number within a default display webpart by jslink

I have a calculated column with the format of "number" in a list. However, within the display form webpart, the default settings actually returns a string with quotes " instead of returning it as a ...
1
vote
1answer
37 views

Trying to use Content Editor WebPart

I have been trying to use content editor web part to have when someone trys to open a PDF in my document library, It wont open in same window.... However i do not know how or where to enter the Java ...
1
vote
1answer
692 views

How to display html objects in Content Editor Web Part horizontally?

I'm trying to create a row of clickable buttons that enlarge on hover using a Content Editor Web Part. Here is the code: <style type="text/css"> .thumbnail { position:relative; width:100px; ...
1
vote
0answers
51 views

Unable to send parameters while consuming a webmethod from a content editor web part using jQuery Ajax

I have added the code inside a Content Editor WP to consume a [webmethod] that is written in the application inside a VS 2013 sharepoint 2013 project. <input onclick="callWebServiceMethodAjaxTest(...
1
vote
2answers
35 views

Concatenate and Display results in CEWP

I have two Content Editor Webparts in a page(CEWP) in a SharePoint page. In the first CEWP I have two html text boxes and one button. If i click on the button in first CEWP the second CEWP will ...
1
vote
0answers
146 views

Add Div below the Input Type text

I want to show and add the existing Div right below the input type text box on Button click event. I'm using content editor web part to show the below html <div id="Div1" style="Display:None;">...
1
vote
1answer
506 views

jQuery script for new list item form only works in edit mode

Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded ...
1
vote
1answer
196 views

Determine all sites with active script editors

Can somebody help me to determine all the sites which have content editor web parts active on the SharePoint Farm? Both publishing and non publishing sites. Is there a script? I found one at Finding ...
1
vote
1answer
12k views

Content editor webpart code to add a background image in SharePoint 2013?

I have the following code to add a bg image on my Subsite home page. It does'nt seem to work and I have a solid feeling its the way I'm referring the image (stored under a picture library named 'Image ...
1
vote
1answer
2k views

Sharepoint 2010 web part & IE 11 - targets document mode 8… APIs may not be available

I am running some javascript (d3.js, sp.js) in a web part on a sharepoint 2010 site. Everything runs fine when I use chrome or firefox, however when I open the page in IE 11 it does not load correctly ...
1
vote
2answers
530 views

How to put Script Editor inside Content Editor?

I have a javascript and in order to work, I have to use Script Editor. The reason why I want to put Script Editor inside Content Editor is because Content Editor are filled with tables, and 1 of the ...
1
vote
0answers
136 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 ...
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
104 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></...
1
vote
0answers
410 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
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
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/...
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 ...
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?
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 ...
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 ...
1
vote
0answers
73 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 ...
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
73 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 ...
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 ...
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 ...
1
vote
0answers
283 views

css issue when using from SP2010 to SP2013

I have one content editor webpart, in the document library view page which freezes the header row. It works fine when using it in SharePoint 2010 environment. But when I moved that CSS to SharePoint ...