Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
22 views

when i hovor my cursor to the image , show up the dropdown list [closed]

im using wiki page sharepoint online. what i want to do is the moment i hovor my cursor to the image (jpg,png), in this 'NAO' , it will show the dropdown list. Next, after i click any 1 of the ...
1
vote
0answers
16 views

Sharepoint Online doesn't crawl contents of htm files in a document library

29/10/2018 04/11/2018 Uploaded a bunch of htm files to a Sharepoint Server 2013 (on prem) library. Crawled the contents, confirmed in the log. I'm able to search the contents of it successfully. Did ...
1
vote
1answer
34 views

Can the latest versions of SharePoint support code snippets?

I want to create a dashboard at work. Due to company restrictions, our best bet is to create one in SharePoint. This means we have to extract the data from an Oracle DB and use the data to create the ...
0
votes
2answers
42 views

How to create a list item using javascript

I found some code to put a stopwatch on a site page. I want the user to enter their name and the task they are performing and start the timer. When they stop the timer I want the Name, Task and Time ...
0
votes
0answers
22 views

Collapse and expand tables independently with same class name inside SharePoint wiki page

I am trying to create collapsible sections with header (clickable) and description (details about header) inside a SharePoint wiki page. There will be multiple such sections inside the wiki page. Is ...
0
votes
1answer
43 views

iframe & removing scroll bars

Hi I have an iframe and I am trying to hide the scroll bar however with the code I'm assuming it doesn't seem to disappear. Any suggestions? <div style="overflow: hidden; margin: 15px auto; max-...
0
votes
0answers
17 views

Use REST to extract specific HTML content from another page in SharePoint Online

I have a web part that uses search and display everything in two separate columns, for example like this: <h2>All projects</h2> <tr> .... </tr> <h2>My projects&...
0
votes
1answer
22 views

Best approach to create clickable image to link to .aspx page with latest modified date?

I have a clickable image that exists on a classic sharepoint online team site that links to a page stored in the /SitePages libraray. This was integrated through a CEWP that points to a simple html ...
-1
votes
1answer
23 views

How to make a column that color codes based on how old items in the list are

I am trying to make a column for my sharepoint list that is color coded based on how old items in the list are(i.e. if items are less than 1 day old there will be a green circle, less than 2 days but ...
1
vote
1answer
40 views

How to host html file in share point online?

as part of migration lot of html files have been moved to SharePoint 2013 to online. but the html files not working on the online.
0
votes
1answer
52 views

How to make modern SharePoint site full width

Has anyone had any luck in making their modern SP site utilise the full width of the web page? I have a requirement to embed the "Planner" app onto a SP site, but would like to also remove the massive ...
1
vote
1answer
53 views

SharePoint online File editor no longer has save button

starting last wednesday I lost the ability to save changes I make to my HTML/CSS/JS files in the file editor. They allow me to "Open in Text Editor" but the Save button never appears at the top of the ...
0
votes
1answer
40 views

Sort list from camlQuery

I am using SP.CamlQuery.createAllItemsQuery() to grab all items from a custom list in SharePoint, however even though the list itself is sorted in an alphabetical order, when it comes through to a ...
0
votes
1answer
31 views

HTML WebPart dropdown a custom list

I have a content editor web part that is referencing an html page. How can I fill a dropdown on that html page with the contents of a sharepoint custom list column?
0
votes
2answers
131 views

How to open HTML pages of a document library in sharepoint in browser instead of downloading?

There are some HTML files in our O365 SharePoint Online library. We want to open those files directly in browser instead of downloading.But there is no option in SP Online.Please suggest as we can ...
0
votes
4answers
555 views

Showing or embedding html content on Sharepoint Online

I need to show a html file on a modern sharepoint site. Wiki or webpart, right now, doesn't matter. I don't want to allow all users to add custom code, so putting the file as aspx in the site pages ...
1
vote
2answers
59 views

favicon is not working SharePoint Online site using HTML master page

I'm using HTML master page for SharePoint online site. To show favicon i have included the below code in HTML master page, <link rel="shortcut icon" href="https://siteurl/favicon.ico" type="image/...
-1
votes
1answer
70 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 ...
0
votes
0answers
5 views

Possible to have a self contained RSS reader widget pulling from list?

As I'm building our site, I have a simple HTML page. None of it sharepoint. I ideally wanted a web part simply added but it seems too complex, so another option. Using the RSS feed on a list and ...
2
votes
2answers
65 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" ...
0
votes
3answers
105 views

Possible to embed sharepoint list/library in a regular HTML page?

Our new site is made entirely with HTML and we are pleased with how it is progressing. The pages contains links to various sharepoint libraries which is fine. But on the home page we want the ability ...
0
votes
1answer
44 views

SPFX Textarea Render Issue in IE11

I have the above Textarea displaying some dynamic address, it displays and keeps my CSS styling as wanted in Chrome (Version 67.0.3396.99 (Official Build) (64-bit) ) with no border or other issues but ...
0
votes
2answers
41 views

How to get data from JavaScript getelementbyid

How to get data from JavaScript getelementbyid insert into Html input text? Here is my sample code: <script type="text/javascript"> ExecuteOrDelayUntilScriptLoaded(init,'sp.js'); var ...
1
vote
1answer
30 views

Drop-down list box save on selection

So I'm not all that good with JavaScript and figured that this would be the only way it could be done, if there is another way great, I am trying to make a rota and have it so I can save the selected ...
0
votes
2answers
33 views

Linking JS with web part in Sharepoint 2013?

I created a sharepoint task list with the column "Priority" according to this guide: https://code.msdn.microsoft.com/office/Client-side-rendering-code-0a786cdd#content Then I linked the JS, which I ...
2
votes
0answers
45 views

Google ReCaptcha not working

I'm working on SP 2013 on premise. I have a site collection, I created a simple form in a page asking for user input details like First Name, Last Name and Email address and also added recaptcha in ...
0
votes
0answers
14 views

Removing delimiters while exporting a list to an HTLM table

I am trying to use SPServices to display a list as a custom HTML table. I used the solution given here: https://sharepoint.stackexchange.com/a/137446/77551 So far, so good, but user names on my list ...
0
votes
1answer
17 views

Can i format the table of contents web app to look nice using html and css scripting?

id like to make the output from my table of contents look like a series of buttons i have already designed and have used on other sites but the content on this page will likely change more frequently ...
3
votes
2answers
310 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 ...
2
votes
1answer
65 views

html & javascript to change URL on a form action based on a drop down

Using simple html and javascript how can I have one html form that asks two questions: Text OppID Dropdown LegalEntity LegalEntity will have available company1 & company2 When company1 is ...
2
votes
1answer
62 views

page reloaded when i click the button

I used following accordion code, But my page reload or refresh when i click it. <body> <h2>IT Teams</h2> <p>Click on the buttons to open the collapsible content.</p> &...
0
votes
3answers
249 views

How do i inject the following HTML in SharePoint online

I just trying to inject the following HTML script using content editor web part in SharePoint online. My web part page keeping searching, not displaying the result. Found Error: Here is the code: ...
0
votes
1answer
47 views

Displaying filtered promoted list tiles on a specific mouse click using choice

Blockquote Need some help figuring this out. I've replaced the names but the general process is that when the user clicks on Phase 1, I am meant to bring up the steps as tiles below level 1 on the ...
0
votes
1answer
34 views

How to show the info of only one item from a Sharepoint list with REST API?

I have a div with a link to an item which is in a sharepoint list, but I need to show also the last time it was modified that report. <div id="report"> <h2>Title</h2> <a ...
0
votes
1answer
44 views

HTML code isnt saving onto wiki page

I am new to SharePoint, and I am trying to put a background color for the titles on my page. Here is the code, <style type="text/css"> .ms-webpart-titleText.ms-webpart-titleText, .ms-...
0
votes
1answer
276 views

SharePoint ONLINE List Traffic Lights Showing Code instead of color

I have a small list I'm testing in for traffic lights right now with 3 columns. Title, column1 and traffic light title is just a text column, column1 is a number column, and traffic light is a ...
1
vote
1answer
32 views

Add new button Ribbon “Page” SP 2013 Ent

Tell me how to add a button to the Ribbon panel, without using a separate project in Visual Studio, that is possible?
1
vote
1answer
142 views

SharePoint Online suddenly stopped allowing open and edit for HTML files

I have lost the ability to open and edit html files in my document library (specifically site assets), I have CSS and JS files that I can still edit in browser but for HTML files there is no open ...
0
votes
0answers
11 views

Infopath Dropdown References Rich Text Box Entry and Displays the HTML Tags

I have a dropdown box in Infopath that references entries in a repeating section with a rich text box. The dropdown will display all the entries in the repeating section. However, the dropdown is also ...
0
votes
1answer
29 views

How to pull information from Sharepoint and display on a seperate website built with ASP.net and HTML

I have been tasked on creating an intranet website for my company. Currently we are using Office 365 SharePoint but my manager wants me to create a custom website which would be built on top of ...
0
votes
0answers
65 views

Connect to a site via SSL/DavWWWRoot not usual URL? Why does this make a difference?

Follow on from this question: https://stackoverflow.com/questions/49537046/can-i-over-ride-ie-enterprise-mode-from-html I succeeded, in hosting a D3 SVG visualisation on my company sharepoint site. ...
0
votes
1answer
10 views

Unable to copy from properties when Lookup included?

In SharePoint Designer 2013 (for a SPO site) when working with Workflows, I would like to be able to copy the HTML from the Email Body field (see below). When I highlight the HTML and Ctrl + C I get a ...
0
votes
1answer
56 views

Bulleted lists not working in site pages SP 365

I've searched high and low and no joy, hope someone can help. We have a SP team site which has publishing enabled. The site page I've authored is an Index with multiple links to other pages and ...
0
votes
1answer
44 views

SPO: How to security trim html elements?

This is my first attempt at security trimming in SPO. I have the following requirement. In a content editor webpart there`s some html code that presents links. One of them, I'd like to be security ...
0
votes
1answer
18 views

Image SRC not well formed tag

I'm trying to print all photos in a list using a repeater and I got error that a tag is not well formed I tried different ways and it still gives me an error <img runat="server" src='http://...
0
votes
0answers
175 views

dynamically create menu from a sharepoint list using JavaScript

I am trying to create a HTML list (ul, li) from a SharePoint list. with the below code. function retrieveListItems() { // opendialogue(); var clientContext = new SP.ClientContext();...
0
votes
2answers
241 views

HTML files on SharePoint

We are a content provider and one of our customers wants to take one of our content packages (it's a microsite, basically) and store and launch it via Sharepoint. Problem is, they can't house all ...
0
votes
0answers
32 views

Onchange event not working to get SharePoint list data

I am using html drop-down to get the data for it dynamically from SharePoint list. Also, I required to trigger the query on change of option for this drop-down. I am not even getting the "Alert" ...
0
votes
1answer
112 views

How to display data in grid view using caml query?

i can read the data from the list but unable to get in a table means gridview using caml query.I read the data using sp.js in JSOM
3
votes
2answers
307 views

SharePoint decodes ampersand character and breaks the link

I am trying to make a link (in SharePoint) to a Power App I created, following this tutorial: https://docs.microsoft.com/en-us/powerapps/sharepoint-scenario-build-app A problem is that the "EDIT ...