Tag Info

Hot answers tagged

4

Tools For use: 1. FBA Configuration Manager for SharePoint 2013 – Author and Credit goes to Steve Peschka. The download comes with a ReadMe file. Please read it, since you need to register the WSP that comes with it. SharePoint 2013 FBA Pack – Author and Credit goes to Chris Coulson. Here is the documentation that will tell you how to ...


3

For every web application you can do the following: Get your timer job definition (SPJobDefinition) from SPWebApplication.JobDefinitions Get the guid: string jobDefID = SPJobDefinition.Id.ToString(); Add the guid in the query string http://srvr/_admin/JobEdit.aspx?JobId=jobDefID


3

The real answer here is to create a result source where you for "Type" choose "People Search Results". You don't need to add ContentClass=urn:content-class:SPSPeople For example: {?({searchTerms})} {?OR (({searchTerms}) spcontenttype:contact)} will give people + results of contenttype=Contact When testing this in the query wizard it will append ...


2

I can't really provide a sensible answer to why this is happening (I can confirm I'm experiencing the same weird behavior. I'm sure this is related to the fact that they cut out the designer part without properly thinking about the consequences this would have had). What I can offer is a dirty workaround that proved to be almost always working in my case. ...


2

I can think of following differences between app parts and webparts: SharePoint Server Object Model code is not allowed in app parts (only client object model code is allowed) whereas web parts allow both Sever and Client object model code. App parts provide deployment isolation. However, deployment of web parts causes files to get deployed to 15 hive, ...


2

What we did was to use this marvelous trick by @user1337886 and @damjan-tomic: Reindex Pages Library using powershell. Might be originating from something like http://blog.icsharp.net/2013/04/how-to-force-web-list-or-library-to-recrawl.html . Just instead of using PowerShell or C# we did it using JSOM, which makes it a tiny bit different, and we triggered ...


2

Move this line var groups = currentUser.get_groups(); To your getCurrentUser method and make sure to load it this.clientContext.load(groups); before executing the request, this way you will have it loaded in your success-function


1

You can change the control template, but remember that all of the display templates will be changed as a result. I talk about this relationship in my SPC14 session on Display Templates and Query Rules. The Control Template, Group Template and Item Templates work in concert to create the presentation that you see on the page. This is true for Search Results, ...


1

I used this when I first created my app. First, you need both the app web url and the host web url: var hostweburl = decodeURIComponent( getQueryStringParameter("SPHostUrl") ); var appweburl = decodeURIComponent( getQueryStringParameter("SPAppWebUrl") ); Then you need to load the SP.RequestExecutor.JS file, which I did differently than what was in the ...


1

The code should look like this: function getCurrentUser() { this.clientContext = new SP.ClientContext.get_current(); this.oWeb = clientContext.get_web(); currentUser = this.oWeb.get_currentUser(); this.allGroups = currentUser.get_groups(); clientContext.load(allGroups); ...


1

The permission Scope Web will allow you to work with Host web site. Suppose you have a site collection at url http://sitename. And under it you have a sub site http://sitename/subsite. Now you deploy an app in the subsite. So the subsite will be the Host web. Now you want to create a list in subsite so you will need to provide Web Scope. However, if you ...


1

PSConfigUI.exe is UI based "SharePoint Products and Technologies Configuration Wizard", you can either run it from the 12/14/15 hive's bin folder or you can run it from the Start >All program > Microsoft SharePoint 2010 Products > "SharePoint Products and Technologies Configuration Wizard" SharePoint also has a command line version of this comman ...


1

A better way to set the configuration value via powershell (s. http://msdn.microsoft.com/en-us/library/jj680843(v=azure.10).aspx). To set the timeout to 2 min open Worflow Manager Powershell and use Set-WFServiceConfiguration -ServiceUri *YourURI* -Name WorkflowServiceMaxHttpResponseTime -Value 00:02:00 See the Warning on MSDN Page about possible ...


1

If you feel confident in your abilities, you can try the Database Detach and Attach move as Waqas mentioned above. Using a third-party migration tool would most likely be the easiest way. Especially since the version numbers would not be a factor. Most of the major players in that market offer free trial so you can get a good idea of their different ...


1

As always, all the strange issues have simple answer, for on of the list where i was able to search 20 items, I noticed that we have "Content Approval" setting was turned on. Hence all the items were considered as "Draft" and visible only to people with admin privileges. Since i have full access on the farm I was able to see everything. Another thing ...


1

We eventually got search working by clearing the configuration cache. Here is the article with detailed information about this process: Perform the below steps on all the servers in the farm. Stop the Timer service. Start -> services.msc -> SharePoint Timer Service (SPTimerV4) -> Stop Browse to %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID ...


1

I got quick launch to work in a page layout by posting the following code into my pagelayout HTML file. I placed it in a bootstrap column and it renders correctly with one caveat. the "View All Site Content" link does not render. Can't seem to figure out exactly why, the contentPlaceHolder is created on page load, but none of the code is rendered to ...


1

Create a view for that list Create a column Person or Group and set Allow selection of:People and Groups and If you want use sharepoint group set Choose from:SharePoint Group in sharepoint designer open the view that you create and use this code to filter: In the fieldRef name you must type your column name! Hope this usefull


1

You may follow this link which has clear explanation of how create to create a timer job. It may help you. http://www.codeproject.com/Articles/403323/SharePoint-Create-Custom-Timer-Jobs


1

Is this required by workflow process or are you trying to use workflow just to contact DB and update specific list item in the list? If yes - it might be work looking into writing a custom Timer Job. If you have to do this in workflow - I guess you could build a custom activity and make it do all the required calls from there - someone who is workflow ...


1

Steven, We did a similar migration last year with a large user base. The biggest challange was to get everyone acquainted with the new user interface. Before you start developing the training, it would be a great exercise to understand how your users use Share Point. Few of the questions you may ask:- 1. What is the most common use of your SharePoint ...


1

Having done this migration (and training) a few times now, It depends a lot on what your users are expected to do. Some of the changes for everyone: Browser dependence (less reliance on IE) Addition of the Ribbon, movement of almost all buttons into the ribbon. Social changes (if you didn't have mySites before and you do now which seems common) Changes ...


1

There are two things to consider. First you need to train them on how to continue to do the things they need to know in order to continue to do their jobs effectively, like uploading documents, adding list items, creating lists, etc. The process may be the same, but the visual difference could be confusing or the steps may have changed slightly. The second ...


1

Following example shows how to break role inheritance of a list item and give current user Contribute permissions to the item. var siteUrl = '/sites/MySiteCollection'; function breakSecurityInheritanceAddUser() { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('MyList'); var itemId ...


1

Since $expand operator specifies which projected fields from a joined list are returned, the REST query: /_api/web/lists/GetByTitle('<List Title>')/items(<Item Id>)/?$expand=ContentType returns list item entity with content type entity. In order to return the specific item properties along with Content Type properties, you should use ...


1

Use this function from msdn //Get the list item from the Announcements list whose Id is 4. Note that this is the ID of the item in the list, not a reference to its position in the collection. var itemId = 4; var targetListItem; function runCode() { var clientContext = new SP.ClientContext(); var targetList = ...


1

You need to use JSOM or REST to get the item. This in return means you must implement some kind of asynchronous behavior in GetDetailInfo. For example (usin jQuery ajax): function GetDetailInfo(itemID, callback) { $.ajax({ url: "/_api/Web/Lists/getByTitle('EmployeeDetailInfo')/Items/getById(" + itemID + ")", headers: { Accept: ...



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