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.
529
questions
0
votes
0
answers
13
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:
<...
1
vote
1
answer
35
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 ...
0
votes
0
answers
75
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
...
0
votes
0
answers
20
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 ...
0
votes
0
answers
260
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 ...
0
votes
0
answers
29
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. ...
0
votes
1
answer
141
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 ...
0
votes
0
answers
18
views
Looking for a handlebar design tool for custom search results page
I'm designing a custom search results page but I can't wrap my head around the handlebars template language. Can anyone recommend a tool that allows me to manipulate the design graphically, and have ...
0
votes
0
answers
21
views
sharepoint 2016 where to find span tag in aspx
I am a newbie on sharepoint need some help here.
I am working backwards here. I am using Chrome browser to inspect an aspx page, and found a tag that I want to make changes. But checking the .aspx ...
2
votes
1
answer
138
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?
1
vote
2
answers
399
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 ...
0
votes
1
answer
236
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 ...
0
votes
0
answers
15
views
Code in content editor overrides everything and the color black wont display
I have the following problem, I have put code in a content editor to show a drop menu, now the black color of the text does not want to work and when I go over other elements of my site they also get ...
0
votes
1
answer
614
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 ...
0
votes
0
answers
19
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 ...
2
votes
1
answer
567
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 ...
0
votes
0
answers
30
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 ...
0
votes
2
answers
248
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 ...
0
votes
1
answer
236
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 ...
0
votes
1
answer
412
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 ...
0
votes
1
answer
98
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:
...
0
votes
1
answer
155
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 ...
1
vote
1
answer
502
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 ...
1
vote
0
answers
217
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 ...
1
vote
1
answer
4k
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?
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 ...
0
votes
2
answers
577
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 ...
1
vote
3
answers
763
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 ...
0
votes
1
answer
352
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('#...
1
vote
0
answers
19
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 ...
1
vote
2
answers
216
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 ...
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 ...
0
votes
0
answers
173
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.
...
0
votes
1
answer
139
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 ...
1
vote
3
answers
974
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 ...
1
vote
2
answers
35
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 (...
0
votes
1
answer
341
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 ...
1
vote
1
answer
274
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, ...
0
votes
1
answer
41
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 ...
0
votes
1
answer
186
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 ...
0
votes
1
answer
10k
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 &...
0
votes
1
answer
114
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%...
0
votes
1
answer
925
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) ...
0
votes
1
answer
87
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 ...
0
votes
1
answer
78
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 ...
0
votes
1
answer
42
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?...
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 ...
0
votes
2
answers
109
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="...
0
votes
1
answer
64
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 ...
1
vote
2
answers
257
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.