Hot answers tagged

4

Find id of that WP. Something like WebPartTitleWPQ4. Edit that page and insert script editor WP and add <style> <style> #WebPartTitleWPQ4 h2 { background-color: #000; color: #fff; } </style> EDIT Find where is title. For ex. <style> #WebPartTitleWPQ4 h2 { background-color: #000; } #WebPartTitleWPQ4 h2 span { ...


2

There are a couple of ways to achieve this Option 1: Open your list in SharePoint designer and create a new form based on existing new item form template. Set the form you created as a default form. Now modify this form to meet your requirements by adding javascript/jQuery. You can keep the 10 single line of text fields inside a div and hide it on page ...


2

Using noConflict should already be a solution. Consider also the possibility to don't use jQuery, where SP built-in mQuery could be sufficient, as very well highlighted by this article: SharePoint JavaScript Context Development Part 6 – jQuery vs SharePoint I really suggest you to read the whole article series because it's very interesting, and it also ...


2

On average there are no issues, that is why you won't see many issues posted. Once you get deeper under the hood you might experience problems, but it all depends on your coding style. and no I do not have clear examples where I burned my fingers. noConflict is an easy fix. But lets face it, jQuery is something from the height of the Browser Wars. Now ...


2

Yes, SPServices wraps the Lists web service: https://spservices.codeplex.com/wikipage?title=Lists Which includes AddList: https://msdn.microsoft.com/en-us/library/lists.lists.addlist.aspx Once the list is created, you would use UpdateList to add fields or modify other properties: ...


2

Yes, SPServices wraps the Lists web service: https://spservices.codeplex.com/wikipage?title=Lists Which includes AddList: https://msdn.microsoft.com/en-us/library/lists.lists.addlist.aspx Once the list is created, you would use UpdateList to add fields or modify other properties: ...


1

This is an old question but if you are still wondering, webdes03's answer was right. I had the exact same problem and fixed it in a similar fashion. I will write the code here for your reference. By the way, I usually use CAML to retrieve data and I use ExecuteOrDelayUntilScriptLoaded to make sure that that JSOM is only executed after sp.js is loaded. I ...


1

In the question, you have mentioned a REST API endpoint. It seems to me that your environment SharePoint 2013. So SharePoint Add-ins can solve your purpose. Also have a look on following GitHub Repository for some useful samples. https://github.com/OfficeDev


1

I would definitely suggest using jQuery. mQuery is really Microsoft's own implementation of some of the same concepts, but it's for their use. If they documented it and made some sort of contract with us about its functionality and stability, that would be one thing, but they never have. Plus, there's a HUGE jQuery user community; I'd be willing to venture ...



Only top voted, non community-wiki answers of a minimum length are eligible