Questions tagged [html]

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

Filter by
Sorted by
Tagged with
42
votes
16answers
28k views

June 13th 2017 Microsoft blocked handling HTML markup in SharePoint calculated fields - how to get the same functionality back

On June 13th 2017 all SharePoint calculated columns with HTML markup stopped working. Basically the fields now render text (regardless of setting the data type to number). The gist of the notice ...
16
votes
2answers
52k 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
2answers
16k views

SharePoint 2013 Show/Hide Form Fields

I'm seeking help with an OOTB SharePoint 2013 list form. Disclaimer, I'm not a developer or programmer by any means, however I do understand how/where to apply code. And I can follow simple ...
2
votes
2answers
16k views

Export contents of a sharepoint list to a html table

How can I export the contents of a list to a html table? I know how to extract the elements of a list using CAML Queries, but how do I generate a html table containing the elements dynamically?
6
votes
4answers
9k 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 ...
6
votes
2answers
4k 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 ...
0
votes
1answer
44 views

Infopath dropdown

I want to creat a form through InfoPath - In a such a way that, if I select "Yes" option then only I should get text box to add my comments. Otherwise it should not appear in the feedback form. How ...
-1
votes
1answer
620 views

Is it posible to upload file in Lists Attachments in SharePoint in custom way

Is it posible to upload file in Lists Attachments in SharePoint in custom way I already tried using REST and JS but I am facing an error and it can't upload if it's posible kindly suggest what way to ...
5
votes
1answer
28k views

How to use SP.UI.ModalDialog on plain old HTML page

I have a plain HTML page (not aspx) that is hosted in my Sharepoint site Assets. Below is the source. <!doctype html> <html> <body> <button type=button onclick="openDialog()"&...
2
votes
2answers
258 views

How to attach file in sharepoint I am using that function but its error [duplicate]

What is the problem with this? Im trying to attach file in SharePoint. <!DOCTYPE html> <html> <head> <title>Sample</title> <script type="text/javascript" ...
1
vote
2answers
9k 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 ...
10
votes
7answers
39k views

Is there a way to host static html using Office 365 sharepoint?

I'm trying to host a static site on SharePoint (my clients requirement). I have Office 365 and I've setup a site in that, but I am unable to view the uploaded html in the browser. Every time I access ...
2
votes
2answers
387 views

SharePoint Randomly Adding Code nbsp

So just now, I had a bug in my site that caused my custom navigation bar's buttons to be sized and spaced incorrectly. I had no idea where this bug came from, and had to search around for awhile to ...
1
vote
2answers
3k views

ASPX vs HTML forms

I would like to create a couple of custom new/edit forms for lists. In the past I used InfoPath but I wanted to move on to an alternative since InfoPath is going away. This would be my first attempt ...
0
votes
1answer
656 views

Rendering calculated columns correctly

I'm tearing my hair out trying to get a % progress bar based on a calculated column in a list to work. I had it working for 24hrs, I tried to guild the lily and it's not worked since. We are on ...
5
votes
2answers
3k views

How to design the SharePoint List NewForm.aspx?

In the SharePoint List NewForm.aspx I have to design the form like two text boxes side by side with the headings? Is it Possible to design like that? Can any one help me on this issue?
3
votes
3answers
679 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 ...
3
votes
2answers
2k views

sharepoint 2013 button onclick event gets removed after page save

I am trying to call a Javascript function through a button I posted on my sharepoint page like so <button type="button" onclick="myFunction(); return false;">Button</button> But after I ...
1
vote
0answers
491 views

SharePoint Calendar display problem

I'm trying to create a leave calendar excluding the weekends based on start time and end time. I'm experiencing some sort of bug when I apply the codes below. This code is too hide the weekends in ...
0
votes
2answers
209 views

How to do validation on custom Form - Content Editor!

I have added Custom Form in Content Editor and it does work adds new item to the list but I'm just not finding a way how to add validation to the form. This is the HTML INPUT <p><label>...
0
votes
2answers
2k views

Using HTML to recalculate calculated column

I wish to create an auto incremented "TaskId" list field. I had intended to create a new value that padded out the [Id], but obviously [Id] cannot be used as it is not available until after the item ...
0
votes
1answer
364 views

SharePoint Designer - Hiding fields in a form unless specific condition is met [duplicate]

I'm trying to create a form in SharePoint Designer 2013, I want to be able to hide a specific field in the form unless the answer to another field has been changed to a specific option. Here is my ...
0
votes
4answers
523 views

Converting HTML to Pdf

I have got an html form in SharePoint. I need to generate a pdf from it on a button click. Any suggestions which approach to follow here?
0
votes
2answers
1k views

How i can remove the “Edit this list” link from my web app toolbar

I am working on a team site, where i have a custom list, and for this custom list i am enabling the Quick Edit option, so on the list views i will get this inside the tool bar:- now i added this list ...