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
1answer
8 views

I am retrieving items from a list and want only 4 to show on my page

I am retrieving items from a list, which has 5 items, but I only want 4 to show and every time I add a new item I want the new item to show first and then the other 3 items to follow and the fifth ...
0
votes
0answers
16 views

How can I implement the html code to upload a picture under the page title in sharepoint?

I'm trying to put a picture that I uploaded in my Site Assets under the page title on SharePoint 2013. This is what I tried so far: .ms-background-image{ background-image:url(https://collaboration-...
0
votes
0answers
20 views

How to make changes to Enhance Rick Text column as mentioned in Body

We have enhanced Rick Text column in SharePoint 2013 List. When we enter any text in Edit Source, HTML code is generated. Due to this our custom code is not working sometimes(when <span> tag is ...
0
votes
3answers
49 views

Modern Pages - Customizing layout

How could I customize the layout of SharePoint Modern site? Could I download master page for modern site and customizing this by for example a copy?
0
votes
0answers
17 views

How to amend html code to auto maximise page

I have a sharepoint online site with several sub sites within it. On each of the pages are 9 boxes, arranged in a 3x3 pattern. These boxes have images on them and act as a navigation grids to other ...
2
votes
1answer
24 views

Custom HTML SharePoint 2013 Page with SharePoint Global Navigation

I have created a custom html page on our SharePoint site using the script editor, I am hiding all of the SharePoint elements and creating my own navigation look and feel. I have created a custom ...
0
votes
1answer
42 views

expandable list of columns ( sharepoint 2013)

I have a list with too many columns (over 20 columns) and I would like to make some of these columns expandable to make the navigation easy for users. is it possible, knowing that I don't have ...
0
votes
2answers
57 views

Css files not loading properly in sharepoint server 2019, only in sharepoint online

I have some custom html e js files that i am using in PDPs, (pages) of sharepoint, but the css its not being loaded. I importing the files like this: <link rel="stylesheet" type="text/css" href=...
0
votes
1answer
47 views

Replace HTML list values with substring on SharePoint 2013 Custom List Field

I'm using SPAutocomplete from SPServices because I have a requirement to make a searchable lookup field rather than an OOTB lookup field (drop down menu), as there is potential for thousands of values ...
1
vote
6answers
98 views

Custom HTML and CSS in sharepoint

Hi so I was wondering if there is a way to basically create my own website that is shown through SharePoint. Basically I want to use the SharePoint top navigation bar but everything below it I would ...
0
votes
0answers
31 views

Need help with HTML footer code for modern sharepoint page

I have a requirement in modern SharePoint to achieve footer as shown in screenshot below, I am using an SPFX web part through a github solution to embed footer and header in a modern sharepoint page ...
0
votes
1answer
25 views

Connect HTML with Document Library

Is it possible to add an Html page as a web part inside SharePoint. I want this html page to have rows of links that once clicked, it would bring users to specific folder inside a Document Library on ...
0
votes
0answers
21 views

Why do the headings in the text web part differ from the HTML in SharePoint Online?

When I inspect a text element on a site page I see that headings in the text map to different HTML headings. When I apply a Heading 1, I see an H2 in the code. When I apply a Heading 2, I see an H3 ...
1
vote
1answer
29 views

HTML Rendering in Calculated Columns - SharePoint 2019 on premise

I know that for 2013 and 2016 on premise that there is the capability to adjust a web app setting to allow HTML rending in calculated columnsm via PowerShell: CustomMarkupInCalculatedFieldDisabled ...
0
votes
1answer
31 views

Create html with links to different folder in Document Library

I saw this html part that had different links to different sites or folder inside SharePoint. Is it possible to create on that would consist of links to different folder inside document libary The ...
0
votes
0answers
17 views

Copying Text from SharePoint into another website not recognized

I was not able to find any answers based upon this one yet, but we have a few Enterprise Wiki pages that have items such as case numbers or Jira tags that need to be copyable and then searchable on ...
1
vote
0answers
40 views

Sharepoint Online HTML Editor not working

Any one else is facing the same problem? I also attached screenshot for more clarity. any suggestions?
0
votes
0answers
24 views

custom form - hide field based on other field value

i used next code in my custom form of document library `<script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript&quot;"></script><script type="text/...
0
votes
1answer
26 views

How can I send the results from a form (with HTML, CSS, JavaScript, JQuery, etc.) to a Sharepoint Library

I am trying to create a form with html, css, javascript, jquery. Basically, what I would like to do is, when the user clicks on the "Submit" button, the values entered in the form will be send to a ...
0
votes
1answer
108 views

Display Template Date Format not working to display mm/dd/yy Please Help!

I have a display template that is working, however it is not displaying the date in the format that I want. I need it in the following format MM/DD/YY I had someone trying to help but they bailed on ...
0
votes
1answer
84 views

Display Template format Start and Due Date MM/DD/YYY

I have a display template that is working awesome but for the formatting of the Managed Property not displaying the date correctly. I do not want the time included in the display. I am still ...
1
vote
1answer
34 views

Storing HTML website archive on Sharepoint?

I have an old intranet site that I've made an archive of using HTTrack - with the folder on my computer (either Mac or Windows), I can browse the copy fine. What I'd like to do is upload it (somehow) ...
0
votes
0answers
24 views

Using List data in html pages hosted in sharepoint online

I have hosted my html pages using sharepoint designer into my sharepoint online Site pages. Now can I pull these list data inside this html pages in a formatted manner wherein design of list view is ...
0
votes
0answers
28 views

Unable to append to modal using PnP.js and Ajax

I'm unable to append a certain div to a modal when pulling in data using pnp and JavaScript. The whole process explained: Function DomyApiCalls - WORKS (Pulls in all the boxes with the titles) ...
0
votes
1answer
51 views

Ajax is being called in Chrome but not IE

I'm using Ajax calls to pull in data for a table and I have successfully been able to pull in data for Chrome and everything shows up perfectly fine, but my table is not wanting to show up in IE at ...
0
votes
0answers
21 views

Shopping Cart-Like Email Order Form For Blogger?

I have purchased my own domain but hosting is done on Blogger. I use a customized template so that the site does not appear as a Blogger page. I am using blogger for hosting as my sute is image heavy ...
1
vote
2answers
44 views

Call function when press ENTER [closed]

I've this code below: <div class="search-container"> <input id="search-value" type="text" autocomplete="off" ng-model="vm.searchQuery" ng-focus="vm.searchBoxHasFocus = true" ng-blur="vm....
0
votes
0answers
28 views

Feedback Buttons html sharepoint

i need to create a feedback page. The feedback is submitted via 3 buttons(smileys) - good, ok and bad. So far i got an html page with the buttons. When you click one, you get redirected to another ...
0
votes
1answer
38 views

Sharepoint HTML table with colors [closed]

I'm sure this is super simple, but I'm having a hard time wrapping my head around the logic of it. I have a SharePoint list of ~100 items, each item has an identifier A-C for example. I'd like to ...
0
votes
0answers
72 views

SharePoint - Table Style Default without border

Developing a page and the content is formatted perfectly with "Default Table Style - light" when I switch it over to "Table Style 1 - clear" to remove the borders all my margins and spacing changes. ...
4
votes
1answer
85 views

Get SubFolders using Sharepoint REST API and show them in HTML DIV

I want to retrieve Subfolders using SP REST API and check if there is any created folder and If it exists, display HTML content like: <label>SubFolder Title</label> for each SubFolder. All ...
0
votes
2answers
224 views

Retrieve a sharepoint list item based on current user

I am currently building a leave request app addin for share point using HTML and java script. I want to have each users leave days remaining days displayed on the form when they are submitting a leave ...
0
votes
4answers
203 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?
1
vote
0answers
36 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
40 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 ...
1
vote
2answers
229 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
1answer
225 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
475 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
1answer
26 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
29 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
298 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
529 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 ...
0
votes
1answer
248 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
322 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
2k 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
3answers
6k 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
374 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
295 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 ...
2
votes
2answers
123 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
1k 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 ...