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
0 votes
1 answer
17 views

Modifiy HTML, CSS, JS, in Sharepoint 2019 On Premises Modern Site

I am new to SharePoint 2019 On Premises, I would like if someone can help me to know how I should do to modify a modern page of a site, I would like the basics, change the font, adjust the size of the ...
Emmanuel's user avatar
0 votes
0 answers
51 views

How to request HTML of whole page via SharePoint GraphAPI? (not only WebParts)

I'm trying to display SharePoint pages on a webpage through SharePoint GraphAPI. I used WebPart endpoint to get HTML content of SharePoint page (https://learn.microsoft.com/en-us/graph/api/resources/...
David Holada's user avatar
0 votes
0 answers
14 views

SharePoint deleting html attribute

I want to put a multilevel accordion based on this : https://codepen.io/gamechci669/pen/VwEKpbb When I edit the HTML code on my page, lines with attributes "for" lose this! For example: <...
AnthonyS's user avatar
1 vote
1 answer
81 views

Image Map not showing on Sharepoint

I have built a HTML image map which works just fine while both the HTML file and the image are on my local Desktop (i.e. same directory). Yet as soon as I upload both to the SharePoint document ...
Nyota's user avatar
  • 13
0 votes
0 answers
100 views

I need to open a sharepoint document in new tab in browser directly from the sharepoint site we created for this project using jquery calls and html

$(document).ready(function() { // Attach a click event handler to the document link $('.document-link').click(function(event) { event.preventDefault(); // Prevent the default link behavior ...
pavithra ramaswamy's user avatar
0 votes
0 answers
21 views

When creating a subsite using custom template in SPO Classic Site, Does the id of html elements change?

I have a SPO Classic site. In of the forms, I have CEWP that needs to access the html elements present in the page. Now this site will be used as template. I wish to know if the code will continue to ...
raeAlteR's user avatar
0 votes
0 answers
402 views

Cannot Embed HTML with JavaScript

I am trying to embed a local HTML file with inline JS on my SharePoint page. The HTML shows up but the JavaScript is blocked. The HTML file embeds, but the JavaScript does not run. Here is the error I ...
DarthCaniac's user avatar
0 votes
0 answers
32 views

How to make content wider/ align to edge of browser - SharePoint 2013

After hours of struggling with code and looking for solution literally everywhere I can't handle with my problems. Question no. 1. I can't make this box/content_box wider and align it to full screen. ...
Mat's user avatar
  • 1
0 votes
1 answer
227 views

Searching for specific text in html code of SharePoint Online page

On a SharePoint online modern site, I need a JS variable to search for a specific string of text in the code of the page (this variable is for Google Tag Manager). I have tried: function() { var ...
dominique's user avatar
2 votes
1 answer
186 views

Is it possible to customize the HTML from a Sharepoint Modern Experience page?

I know that you can customize the HTML/CSS of a Sharepoint Classic page. But is it also possible to do this with Sharepoint Modern Experience page? If so how?
user1903995's user avatar
1 vote
2 answers
512 views

Custom Page in SharePoint Online

I would like create a custom page in the SPO using SPA with HTML,CSS and JS. I was not able to find a way to start with I want complete page or Full Page. I want create like webpage with responsive to ...
striker92's user avatar
  • 111
0 votes
1 answer
266 views

SharePoint Online JSON Wrap Code with fetched HTML

I have a SharePoint Online List linked to a Power App. When I enter Comments in the Power App, the comments get flooded over to SharePoint list. However, when the comments get populated in the ...
longhornlion79's user avatar
0 votes
1 answer
844 views

Static HTML page (renamed to ASPX) and saved to OneDrive is displayed everywhere except on Android

I have a simple static HTML web page that had its extension renamed from HTML to ASPX, in order for it to be viewable via SharePoint, OneDrive or Teams. This is the HTML test file I used: <!DOCTYPE ...
David.P's user avatar
  • 81
0 votes
0 answers
21 views

SharePoint Lookup column with Handelbars

I am using Content query to get information from SharePoint list and display them via Handelbars template on a SharePoint SPFX Page. Everything works fine except for column defined with lookup. For ...
Marc's user avatar
  • 1
2 votes
1 answer
676 views

Error on Adding an HTML onto SharePoint Site Page

I'm trying to add an HTML into my SharePoint Site Page (Teams Site) and am following the instructions at this link here from Microsoft which guides on how to do so. Steps: So I've renamed my HTML to ...
kodikai's user avatar
  • 141
0 votes
0 answers
35 views

Where do I make HTML edits in SPD for Modern page?

I have a Communication site in which I need some custom spacing and icon-styles, so I'm adding a Text web part, and inserting a table to try and make this possible. Since we can't remove the ...
Chris's user avatar
  • 397
0 votes
2 answers
273 views

How to format results from rest api sharepoint jquery

I am using rest api to get results in below format but how shall append my result to get in desired format and on click document should open new tab my code function getListData() { var ...
Ashok 's user avatar
  • 59
0 votes
1 answer
267 views

Custom banner overlapping the page

I am trying to add a custom banner to the SharePoint Online Page (Classic experience). Unfortunately, the banner is overlapping other elements of the page. This is what I am doing: Created the code ...
Lukas's user avatar
  • 65
0 votes
1 answer
652 views

Editing a modern SharePoint page built with html-hard code

I have a SharePoint site that I need to make a few minor changes on. The problem is that this page was built with html/hard-coded, so it won't allow me to simply click "Edit page", then do ...
Chris's user avatar
  • 397
0 votes
1 answer
103 views

REST not "GET"ing data from inside SharePoint

I am trying to use REST to get data from inside a SharePoint list. The HTML/ASPX page that makes the request resides in the site assets library. It returns nothing. Any idea why? Please see below: ...
user5654858's user avatar
0 votes
1 answer
163 views

How to upload a static HTML site using only PnP Powershell access?

If I have this example static site: https://github.com/Azure-Samples/app-service-web-html-get-started How do I get this visible as a static site in my office365 online sharepoint. I can successfully ...
Ryu S.'s user avatar
  • 101
1 vote
1 answer
559 views

SharePoint 2019 - how to not preview html code in browser and preview html file as a page

I am unable to view HTML files uploaded in SharePoint 2019 library. When I click on the files in Chrome, it downloads it. In Edge, when I click on it, it opens html code in preview code editor in the ...
Sameer Kumar's user avatar
1 vote
0 answers
218 views

"Create HTML Table" CSS Style to Format SP List as Single-Column layout

I am using a SharePoint List to store News Clips related to my company. I have created a flow to auto-send them to a distro list, and achieved a clean table, but wish to create an email where the ...
naridox's user avatar
  • 23
1 vote
1 answer
5k views

Is there any way to pass html content while triggering mailto: option?

While triggering mailto: link, is there any way to pass some predefined HTML to the opening mail?
JishinK's user avatar
  • 175
0 votes
1 answer
21 views

How to post files from Linux, viewable from an old device that cannot log into SharePoint?

My workplace provides me with a Microsoft 365 Business Standard account. I have a Linux computer that just sits in the corner, creating an HTML page with some simple, yet important alerts. The HTML ...
Village's user avatar
  • 51
0 votes
2 answers
677 views

Create a list item using Sharepoint REST API and HTML

I'm working on SharePoint Server 2016. I have a modal with some input fields and a Submit Button. And I used jQuery to extract text from input fields in Modal. When I click on Submit, nothing is ...
Venkat Sai's user avatar
1 vote
3 answers
804 views

SharePoint list item into PDF

I have a list in SharePoint - the result I need is any individual list item selected I need to output into a formatted PDF. I have the power automate flow working ok with some template HTML code, but ...
Kat Mcfarlane's user avatar
0 votes
1 answer
382 views

HTML showing up with inserted text via REST API

I am getting the value from a text field and then inserting the value into a SP list. The problem is that when I check the console the field shows HTML. var txtField = document.querySelector('#...
martinbshp's user avatar
1 vote
0 answers
20 views

Manually Edited Word Files Created From HTML Documents Stored in Doc Libs Have Black Image Placeholders

I have an app in SharePoint that builds HTML markup containing an image (logo) inserted in the markup using base64-encoded and then creates a Word (doc, not docx) file in a SP document library You can ...
Steve Penn's user avatar
1 vote
2 answers
247 views

SharePoint Custom Landing Page

I have created a very simple HTML single page which I want to use as a "Landing Page". Is it possible to replace the whole page with the HTML page? I've tried a web part page, and a wiki ...
BeerusDev's user avatar
  • 113
1 vote
1 answer
2k views

Importing HTML files into SharePoint

I am in the process of moving an intranet website from a outdated platform to SharePoint. I have the HTML files from the previous site that I am going to clean up and would like to bulk upload into ...
Daniella's user avatar
0 votes
0 answers
189 views

Can't open an attached html file in a sharepoint list using browser

Every time I try to open an uploaded html file in one of my sharepoint lists it gets downloaded instead of opening the browsers. I found some solutions that were not optimal/doesn't work for me. ...
theknig's user avatar
0 votes
1 answer
153 views

SharePoint Subsite won't allow Inheritance of site master page from parent of this site

One issue I am trying to solve on my SharePoint site has to do with the Master Page itself, especially on the main site (domain.sharepoint.com). The master page contains headers (some single, some are ...
BeerusDev's user avatar
  • 113
1 vote
3 answers
1k views

Make html page with Sharepoint REST result

I'm new with javascript and HTML, so please be patient. I'm trying to make very simple HTML page displaying text with value stored in sharepoint 2013 list. I've made REST query in which I've item with ...
mrik's user avatar
  • 11
1 vote
2 answers
37 views

Simple Modal SP Online (2013) - not working

<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body {font-family: Arial, Helvetica, sans-serif;} /* The Modal (...
blackblossom's user avatar
0 votes
1 answer
367 views

How to add an overridable meta tag to a SharePoint 2013 html masterpage?

In SP2013, I have a master page (.html/.master) file that I want specific pages that use this master page to have the ability for devs to override a specific meta tag. Specifically this one <meta ...
omega's user avatar
  • 2,160
1 vote
1 answer
321 views

SharePoint button to link to Shared Network Drive

I have been trying to use the following, to createa button on my SharePoint site that will open a folder on my Shared Network Drive. I can hyperlink the network drive manually and it works. However, ...
Daryl's user avatar
  • 127
0 votes
1 answer
46 views

Refer to the entire list count instead of View count

I have this HTML code snippet, which is supposed to count the existing list items, to be used for token generation by adding 1 to it. But somehow its only counting the items that end user is able to ...
Rameet's user avatar
  • 15
0 votes
1 answer
191 views

Particles.JS Background for Body of SharePoint Page

I have created this particles.js script that I want to use for one of my SharePoint pages, but I am unsure of how to get it to insert to cover the whole background. I tried inputting it as a a script ...
codingdreaming's user avatar
0 votes
1 answer
11k views

Conditional table cell background color depending on value

I have a HTML table that I'm trying to change the cell background color to red depending on the value of the cell. Each cell will have a different threshold for when red is needed (one cell might be &...
mehumphry's user avatar
0 votes
1 answer
123 views

Accordion Collapses Immediately After I Expand a Row

I am creating a drop down table with Accordion on my SharePoint site. I referenced this page (P.S. I hate W3Schools) https://www.w3schools.com/w3css/w3css_accordions.asp#:~:text=An%20accordion%20is%...
BeerusDev's user avatar
  • 113
0 votes
1 answer
1k views

AJAX POST Request to SharePoint List from HTML Form

I have been working on a project for quite some time now. Functionality: Read in SharePoint list items from 8 different subsites with a GET request. Populate those items in an orderly(grouped) ...
BeerusDev's user avatar
  • 113
0 votes
1 answer
92 views

_x0020_ Not Working in AJAX

so I have 8 different SharePoint lists I am pulling from. And for aesthetic purposes I want to change the listname from something like "Program1" to "Program 1" as it doesn't ...
BeerusDev's user avatar
  • 113
0 votes
1 answer
96 views

After Rest Call, how do I get my results from a sharepoint list to populate an html table

Below is my code, obviously it isn't going to Run because I have external sources that I am pulling from. My main issue is that I can't get the listItemInfo from onQuerySucc to display in the table in ...
user92012's user avatar
0 votes
1 answer
44 views

Import Excel to SharePoint List Tutorial Error

I am attempting to import/copy excel data into a SharePoint list. I am following this tutorial to a tee: https://www.udayagirisreekanthreddy.com/2017/12/reading-excel-file-using-html-5-and.html?...
seaandtea's user avatar
0 votes
0 answers
31 views

How to stop CSS to be applied to a part of layout on the samepage

I have created a SharePoint Page using Wiki page option. - I used the two column option and created the page. Added the html code for accordions using the Js and some css style I did that by ...
Vishnu's user avatar
  • 1
0 votes
2 answers
113 views

SharePoint master page hide ribbon from readers

Good day, I try to change my html for Sharepoint master page to hide s4-ribbonrow from readers. I wrote <div id="ms-designer-ribbon"> <!--MS:<SharePoint:SPSecurityTrimmedControl ID="...
Anonymous's user avatar
0 votes
1 answer
67 views

Solution to replace InfoPath Form for SharePoint submission

I need to replace an InfoPath form that has multiple repeating tables and repeating date fields, has the ability to create revisions while keeping older version data. We dont have access to microsoft ...
Jennifer's user avatar
1 vote
2 answers
272 views

HTML to display currency $45700 as $45,700 [closed]

I need to display currency $45700 as $45,700 using HTML.Can anyone please help me here how do I do it.
HRY's user avatar
  • 79
4 votes
1 answer
4k views

target="_blank" not working in a tag SharePoint online [closed]

The target="_blank" not working for a tag when used in SharePoint online.
Patrick Jane's user avatar

1
2 3 4 5
11