HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.

learn more… | top users | synonyms

8
votes
0answers
400 views

Page Layout html page field filter outside of web part zone

I have a page layout with some web parts outside of a webpart zone so that they are added to already created pages which use the page layout. I want to add a page field filter to the page as well and ...
7
votes
2answers
8k views

Breadcrumb and flyout on custom master page

I have a master page that I wrote from scratch and applied through the Design Manager to one of my site collections. I would like to add the 2010-style breadcrumb and/or navigate-up flyout button in ...
6
votes
2answers
26k views

How do I prevent Sharepoint from asking to download html files to my local machine?

I have a page that contains a Page Viewer web part. Each time the page loads, in both edit and view modes, I get a File Download dialog box asking "Do you want to save this file?", listing the correct ...
5
votes
1answer
4k views

Using SharePoint 2013 Cross-Domain Library in a simple web page: is it possible?

I have a web page hosted on a server, say at http://SVR1/path/index.html, and I would like to access some list items in a on-premises SharePoint site hosted on another server, say at ...
4
votes
3answers
5k views

SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”

I want to edit the seatle.master master page for my enterprise wiki site collection. So I did the following:- I copy the seatle.html inside the SP designer. Paste it. It automatically creates two ...
4
votes
4answers
5k views

Relative URL for HTML links in Site Template

I have several links inside content editor webparts and on webpages that reference the site they are in. For example: <a href="/sites/ABC/page.aspx">Link</a> Site ABC is being saved as ...
4
votes
1answer
191 views

How to show and hide a paragraph in html when a button is clicked?

I have the following query. I have a <pre> tag and it has some text inside but i want to hide <pre> when a button is clicked. Following images shows code: When this addNewTest() ...
4
votes
1answer
873 views

Page Layout html xsltlistviewwebpart with custom view

GOAL: I am trying to create a custom page layout based on a custom content type that contains 3 xsltlistviewwebparts which use custom views that were created for the lists in the browser. I have ...
4
votes
1answer
2k views

Send Plain Text Email from SharePoint Designer 2010 Workflow

In Microsoft's infinite knowledge it appears as though they force all emails to be sent as HTML in SharePoint 2010+. This is causing a great deal of pain as the emails that are sent from the ...
4
votes
1answer
269 views

SharePoint XML Web Part dynamically adding xml link

Is there a way to dynamically insert a variable in the <XMLLink> --variable here--</XMLLink> tag? I'm trying to read an URL parameter which will contain the xml files path. What I am ...
4
votes
2answers
472 views

Bootstrap in HTML Web Part

I got HTML/CSS from our Designer to implement on a Sharepoint 2010 page. This page is using bootstrap. I implemented it with HTML Web Part and also tried to split the web page layout and work ...
4
votes
0answers
40 views

How to use HTML markup in metadata based navigation menus

I would like to add some custom HTML markup to my terms in my metadata based navigation menus. So instead of "Item" I would like "<strong>Item</strong>" (or some other HTML, for ...
3
votes
1answer
139 views

need to click submit/publish button on ribbon via HTML button

I have one HTML button to to submit on one custom page layout. I want to to submit or publish this page on this HTML button click. I tried with binding it with ribbon button onclick using jquery. But ...
3
votes
1answer
68 views

Which is recommended form control to use in SharePoint?

When trying to develop Web Part or Application page or modifying existing SharePoint application pages like (user.aspx, create.aspx, etc..) From below list which control is recommended to use ...
3
votes
3answers
3k views

How do I add .htm files to root of my SP2010 site

I'm currently working on moving our current website from Dreamweaver to SharePoint, and I have a requirement to have an .htm file at the root of my SP2010 site. The reason is that we have software ...
3
votes
1answer
41 views

How to change webpart title background for only 1 webpart?

I have three webparts and each of these have titles. I want to change the background of a single title. I have the following webparts: I want to change title background for only this Title called ...
3
votes
1answer
617 views

SP2013 special chars broken in HTML page layout

I'm creating some page layouts for my custom .master in a SP2013 Publishing SC. There are some hard coded texts in the layout. Since it's for a German client there will be some special chars like ...
3
votes
2answers
2k views

form validation

I am new in javascript. I want to validating a form with five columns. FormDescription My Form Contain 5 input fields and one submit buttom I want following output 1.Initially submit button ...
3
votes
1answer
30 views

Create and reuse HTML across different sites

I've been tasked with creating a footer that is the same across multiple sites in our O365 SharePoint. I'm comfortable putting this code into a site's masterpage, but I would like to have the HTML ...
3
votes
4answers
528 views

Attaching CSS to only one html welcome page

I am trying to set a html homepage to a sharepoint page, The html is based off a bootstrap template as it felt the best to fit the purpose. My problem is that once uploaded to the sharepoint server ...
3
votes
2answers
2k views

How to modify the sharepoint 2010 NewItem2 function?

In sharepoint 2010, I want to add javascript to the alerts popup window page, but I don't want to modify the actual layouts file. I want to dynamically insert javascript in it. Basically the button to ...
3
votes
1answer
368 views

Is “noindex” applied to child content?

When you add the noindex class to a div, is all content below it excluded from search crawls? For example, if I had the code below: <div class="noindex"> Some Data <div> will this ...
3
votes
3answers
2k views

Save webpart (html) as PDF file

I have a webpart that is specialized business calculator. Once the user puts in the details of the contract, they need to save the web part (in pdf format) as part of the contract documentation. I ...
3
votes
2answers
251 views

HTML to plain text

Does anybody know a way to convert an HTML text to plain text in a workflow? I tried using wildcards, but so far no success. To better explain: I have an html text in a column and I want to have a ...
3
votes
1answer
515 views

utf-16 encoded email in sharepoint 2010 is possibile?

Is it possibile to send an html email encoded in utf-16 with sharepoint 2010? My problem is that I have a message body wich can contain accented characters which on the receiving end are displayed ...
3
votes
0answers
870 views

Content controls have to be top-level controls in a content page or a nested master page that references a master page

I build an MVC application and I run it by linking a content editor webpart to the index.html file. That usually works fine but I'd like to build it into an aspx page and link to that page directly. ...
2
votes
3answers
435 views

Share HTML content between pages

I'm sure this is an FAQ and probably answered many times on Google but I'm struggling to work out what to search on. I want to write a bit of HTML on one page and then include a reference to the same ...
2
votes
2answers
1k views

Blog Feed on Home Page

I am trying to create a blog feed on our SharePoint 2013 intranet homepage to show the three most recent company blog posts. I have tried with both the Content Query Web Part and the Content Search ...
2
votes
1answer
38 views

Padding or margin for CEWP

I have added a link to another page via a CEWP but I need to move the position of the link to the top of the web part. I have attached a screenshot which will demonstrate the issue better. I need ...
2
votes
3answers
967 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 ...
2
votes
4answers
102 views

Script syntax and passing issue

I want to call the function startWorkflow() in line 651 and pass two variables. But I don't know how to do that. If I am calling like in the line 649, everything works like a charm. I tried a lot, ...
2
votes
2answers
1k views

CSS not applying to table in custom SP2013 layouts page

I am creating a custom edit/display/new forms for custom lists, using custom controls. This is a VS farm solution, for an on-premises scenario. The layout is done in HTML tables, since they need to ...
2
votes
1answer
5k views

What is the alternative to an <iframe> in sharepoint

I have tried time and time again to hardcode an <iframe> into one of my Sharepoint 2010 pages. It looks brilliant until I save and close, when I do sharepoint removes any trace of an ...
2
votes
2answers
117 views

Store HTML files in a document library - how to prevent SharePoint adding “ghosting” code

I am storing HTML files in a SharePoint document library (2013). Unfortunately, every time I upload a file, SharePoint is adding some code, the same as here: Why is SPD adding content to my file? I ...
2
votes
2answers
298 views

jQuery wait for div load to complete

I have a piece of jQuery that constructs the inner HTML of a custom Version History table. To fill each table row with elements I use jQuery's load for each row. However this function is asynchronous, ...
2
votes
1answer
2k views

SP.UI.ModalDialog undefined - Close SharePoint Modal dialog with javascript

I have created a modal dialog in SharePoint with the elements.xml. I use a SharePoint Hosted app. This is my CustomAction Definition: <CustomAction ...
2
votes
1answer
255 views

Relative path for img src

I'm trying to get my relative path for my image, as this site will be re-used on different sites on the site collection. and the sharepoint url would been this ...
2
votes
3answers
2k views

Does SharePoint HTML Edit Source allow any css?

I'd like to edit a page's html source to remove boxes around images with links. In CSS you can simply assign text-decoration:none to the element. I'd like that flexibilty within the SharePoint ...
2
votes
2answers
37 views

Best way to create a multiple item submit form

I'm looking for a way to create a form in SharePoint 2013 which will allow me to submit multiple items into a list (each line as an individual record). So, for example, i'd have a form with inputs for ...
2
votes
1answer
66 views

How to write HTML output in a web part?

I'm using SharePoint 2010. I've created a web visual web part that queries a list and returns a set of results. What I would like to do now is to format and display the output using HTML code. In my ...
2
votes
1answer
52 views

Link to upload a new document

I have looked to try and link to the "Upload new Document" form for my Shared Documents from my home page but have had a lot of trouble. I am unsure of what other posts are saying when they mention ...
2
votes
1answer
356 views

Getting formatted HTML out of SharePoint wiki library

In our application, we are using SharePoint wiki library loosely as a content management system. Through custom code, I retrieve the contents of the wiki library along with its properties. ...
2
votes
2answers
359 views

Using field/column in html Page Layout but in CSS — Sharepoint 2013

I know you can use fields to define the content in a page, for instance, <div id="titleField"> <!--MS:<PageFieldTextField:TextField runat="server" ControlMode="Display" ...
2
votes
1answer
80 views

Can we use HTML in Metadata fields?

We have a series of procedural documents that are similarly named. I would like to create a document summary field as a piece of metadata that contains a paragraph about how the document is to be ...
2
votes
4answers
69 views

Create/ Delete file from SharePoint javascript without SP libraries

I'm developing an HTML page, which shows files from a certain dictionary from ths Sharepoint. In this page I want to add an option to create a new file to the dictionary. I didn't find a way to do ...
2
votes
0answers
36 views

What's the point of xlmns:ie=“ie”?

Sharepoint page layouts often include the following markup: <div xmlns:ie="ie"> <!-- contents --> </div> What's the use of the attribute xlmns:ie?
2
votes
0answers
59 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
1answer
335 views

Selected Menu Item - Oslo MasterPage

I'm using SharePoint 2013, with the Oslo masterpage, and I've disabled the default navigations and create my own menu in the master page. The issue is that the menu doesn't show what page you are on. ...
2
votes
0answers
198 views

Garbled display of discussion list with raw HTML codes

We have a SharePoint 2010 site that was migrated to SharePoint 2013. When I go to view a discussion page, each entry in the discussion is displayed as raw text with HTML codes displayed (making it ...
2
votes
0answers
125 views

InfoPath Designer 2010 - Format HTML tags

I have set up a web browser form for SP2007 in InfoPath Designer 2010. It points to a list that contains several columns of different types, to include some enhanced rich text multiline fields. The ...