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

7
votes
2answers
6k 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 ...
4
votes
1answer
18k 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 ...
4
votes
4answers
4k 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
588 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
2k 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
1answer
233 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
169 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
264 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 ...
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
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
281 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
4answers
385 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
1answer
356 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
2answers
123 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
447 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
545 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. ...
3
votes
0answers
33 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 ...
2
votes
2answers
628 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
3answers
648 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
2answers
705 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
4k 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
1answer
77 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
2answers
3k 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 ...
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
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 ...
2
votes
1answer
136 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
204 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
264 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
78 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
0answers
27 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
30 views

Anchor Tags in Sharepoint Search Results

It is planned to create a very long page with much content in our Sharepoint environment (a company manual). This manual will be divided with headings with anchor tags in it, so that you can jump to ...
2
votes
0answers
45 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
248 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
144 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
99 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
131 views

A list of all Sharepoint-specific tags & attributes for PageLayout/MP use?

I'm having trouble locating a url/document or a book, that describes extensively all the tags and attributes we can use within Page Layouts and Master Pages (2010) in order to change the way that HTML ...
1
vote
1answer
1k views

Show Sharepoint list data into external Html website

My boss asked me today if it is possible to use Sharepoint list data into an external HTML website... in fact i have to create a newsletter and the news are already on a sharepoint site. They are ...
1
vote
1answer
1k views

How do I edit the head and body of a page in SharePoint 2013?

I've developed a custom HTML menu that I'd love to deploy to SharePoint. The two working files are: Index <!DOCTYPE html> <html class="no-js"> <head> <meta ...
1
vote
3answers
65 views

Get current logged in user and display it on the Site as “Hello (Username)”

I am using SharePoint 2013 Online and I'm looking for some JavaScript and html to display the current logged in user on the site like for example: Hello (Username) If anyone could help or just ...
1
vote
4answers
3k views

How can I hide the page header (title) for just a specific page

I'd like to hide the header on my homepage (the <h1 id="pageContentTitle" .. > element.) I could use some CSS like #pageContentTitle{ display:none; } But because my CSS is referenced in the ...
1
vote
2answers
362 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 ...
1
vote
1answer
142 views

How do I stop jQuery from injecting junk attributes into my HTML

I have an HTML unordered list in a Content Editor web part that I'm formatting as tabs where each has an onclick event to show/hide some other data. The issue is that I'm getting all these weirdo ...
1
vote
2answers
3k views

Attachment Upload using SPServices and Not the JS File API

I am trying to figure out how to use the SPServices JS library to upload a file without using the HTML5 JavaScript file API. This is specifically targeting IE9. I have a solution that works with all ...
1
vote
1answer
2k views

How to Set SPQuery.RowLimit to get all items?

I'm using my SPList View to get the html code of extracted items by an SPQuery over the listview SPList myList = mySite.RootWeb.Lists.GetByInternalName("ListINStr"); SPView oView = ...
1
vote
2answers
565 views

Best Practice for export List Content to HTML (typo3)?

I've got the following problem: Use Case: I'm creating Events within my intranet with Sharepoint Server 2010. I have a typo3/cms front-end website not connected to sharepoint yet. I want to show the ...
1
vote
3answers
4k views

Using an iframe to view a PDF stored in a SharePoint document library

Question Is it possible to view a PDF through an iframe that is stored in a SharePoint 2010 document library? If so, what changes do I need to make to the default document library settings? ...
1
vote
2answers
115 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, ...
1
vote
1answer
4k views

How to set background color on sharepoint 2010 site using html?

I have been trying to change the background color of my SP 2010 site using the HTML editor feature. However whenever I attempt to change the background via code, everytime I click OK after editing the ...