New answers tagged

0

You can entirely change the look of a SharePoint site as well. You need not go for another HTML page to add stuff. It is easier to brand your SharePoint site itself. You will need to customize the master page. Have a look at this article If you are using SharePoint 2013. It is easier to customize master pages. Here are few links for your reference. msdn ...


0

The easiest is to use SharePoint Designer Create a new Form based on the the New/Edit/Display template And edit the HTML, being careful with the XML SharePoint declares


0

Mark Rackley came up with an ingenious way of hijacking SharePoint's default list forms and rearranging them using your own HTML layout, which you can then style however you want. You need a little bit of scripting knowledge (and ability to use jQuery definitely helps for grabbing and moving DOM elements), but the great thing about using this technique is ...


1

You can use JavaScript code to insert the data in SharePoint list. Here is the reference code to add an item in Announcement list function createListItem(siteUrl) { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('Announcements'); var itemCreateInfo = new ...


1

You can make use of SharePoint JavaScript Object Model. https://msdn.microsoft.com/en-us/library/office/dn268594.aspx Or you can use SharePoint WebService Wrapper SPServices. https://spservices.codeplex.com


1

Try changing the page to an .aspx instead of a .html - if I remember correctly there's a security measure preventing using .html files in the newer versions of SharePoint. Edit: If it's not an option to change the file type you can change the setting. For further information please see this post (I can't take credit for anything other than finding it): How ...


0

If I understand correctly, you have a form in a Sharepoint page. In that form, there's some fields to complete, like first name, surname, mobile... When you click AddAccountRow, the values entered in your form are inserted into a table tableAc. Then, when someone pressed the submitdata button, all data inside the table tableAc are posted to a Sharepoint ...


2

First, put all the styles in a css file and upload it to the Site Assets library, then you can reference it in couple of ways to do this: Option 1: Site Settings ==> Under Look and Feel ==> Master Page ==> Alternate CSS URL and enter the URL to your custom css file, like this /SiteAssets/CSS/styles.css Option 2: Edit your master page (always make a ...


0

You can do something like that: <script> var targetListItem; var listName="js"; var itemId=1; ExecuteOrDelayUntilScriptLoaded(GetListItem, "sp.js"); function GetListItem(listName,itemId) { var clientContext = new SP.ClientContext(); var targetList = clientContext.get_web().get_lists().getByTitle(listName); ...


0

That article does miss a few of the details. Here are a couple things you may be missing: The script uses 3 additional javascript libraries jQuery, Knockout and Linq.js. You'll need to download them and add references to those libraries in your masterpage. Something like this: <script type="text/javascript" src="scripts/jquery.min.js"></script> ...



Top 50 recent answers are included