Tag Info

Hot answers tagged

2

I would suggest to use a simple IDE to develop your code. This IDE will help you by finding simple errors. A free example for a IDE is Visual Studio Code but there are loads of IDE's for you to choose. Here's the output if I paste your code: After knowing the simple errors fixing is not the problem - at least the ones caused by bad syntax.


1

User fields are really a Lookup to hidden UserInfoList on every site collection. Information on this list is synchronized with User Profile Service using timer job. This job is probably executed every hour. That's why your changes apply after about 40 minutes.


1

I recommend you start with this book, "Inside Microsoft SharePoint 2010". The first 4 chapters can be read online at MSDN this link: Book landing page: Inside Microsoft SharePoint 2010


1

Try the below code. Just added <View></View> to your query. function createListItem(decision, id, likes) { var siteUrl = '/'; var countLikes = likes; var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('PostLikes'); var camlQuery = new SP.CamlQuery(); ...


1

I solved it this way: Create a site collection feature which is responsible for deploying font/spcolor files, master page, Background Image etc. Create a web scoped Feature which sets the theme, masterpage, font and the Background image in FeatureActivated-Method. Establish a Feature dependency, so the web Feature can only be activated when the site ...



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