Tag Info

New answers tagged

0

This was a bug in the April CU. The June CU Apparently fixes this.


0

You have to provision a My Site Host along with the User Profile Service. After creating the Web Application create a My Site Host site collection and configure the connection in the User Profile Service Application.


0

It depends on the type of trust and SharePoint version you use. SP2010: 2-way Trusts are automatically recognized and users show up in people picker 1-way Trusts need further configuration (including credentials) per webapplication SP2013: regardless of the type of trust you need to configure it like in the PS2010 1-way trust scenario This can be ...


0

Place a People Core Search Web Part on the page and use a fixed query of Department:HR or Department: Whatever you can change the look by changing the XSL.


0

You can change the master page directly using a httpmodule . The PreRequestHandlerExecute method fires just before ASP.NET starts executing a page. In the context_PreRequestHandlerExecute method, you can get the current executing page by accessing the CurrentHandler object. PS: ...


0

You'd need feature stapling to brand all the personal My Sites. The process remains similar to 2010.


2

You cannot use 1 site collection for all. Each profile has its own site collection. You need to have MySite specific solution where you have a Web scoped feature that adds the masterpage to the masterpage gallery and sets the masterpage for the site collection through the FeatureActivated eventreceiver.


1

$site = get-spsite "http://sis-intranet" #Give URL of a site collection whose web application is associated with this user profile service application $context= [Microsoft.office.server.servercontext]::GetContext($site) $userProfileManager = new-object Microsoft.office.server.userprofiles.userprofilemanager($context) $profiles = ...


0

If you are using SharePoint 2010, then there exist a good CodePlex solution. You find it here: My Links Menu for SharePoint 2010 If you are using SharePoint 2013 there exist something called "My Quick Links" which can be found on this url: http://<webapplication>/_layouts/15/MyQuickLinks.aspx, where user "bookmarks" are stored.


0

Facing a similar problem, I tried everything and could not get the service to start. I ran Windows updates (Windows Server 2012 and Sharepoint Enterprise 2010) and restarted the machine. After that I was able to start the synchronization service from Central Admin. But absolutely nothing I tried would work before I restarted the machine. I suspect that ...


0

This is a manual job as far as I know in SPO. On premise you can use PowerShell.


1

The SharePoint Online PowerShell Module is extremely limited. As for CSOM, it seems that the UserProfiles namespace does not include any classes or methods to set the subtype.


1

Setting up Mysite fixed the problem.


0

This code works fine against my Office 365 Tenant $.ajax({ url: appweburl + "/_api/SP.UserProfiles.PeopleManager/GetMyProperties", method: "GET", headers: { "Accept": "application/json; odata=verbose", } }) Have you granted you app the permissions to User Profiles (Social)? (Although you should get access ...


0

BCS and User Profile Properties can only be mapped in the Search Service Application (SSA) so I would begin by removing any manually created fields from the site or site collection and look in the SSA Search Schema. Look under the People category in Crawled Properties. You should not have to create the crawled property either, I would remove that. Ensure ...


0

If the address is stored in Active Directory the attributes you are looking for are Named: AD Address: streetAddress City: l State: st If you want to import these into the User Profile you can create a new User Profile Property for each AD property and then map the AD Attribute to the new User Profile Property in SharePoint. Again, if you want to use ...


1

One approach, for example for "Prefix" would be to map the AD property personalTitle to a new User Profile Property that you create in the User Profile Service Application. If you are looking at Rank, it may be better to use a field like Job Title (which in AD is "title" that is already mapped to the User Profile Property JobTitle). Once you import your ...


1

You can use CSOM or REST api to get user's personal MySite url. //Get user's personal MySite url SP.SOD.executeFunc('sp.js', 'SP.ClientContext', GetUserProfileProperties); function GetUserProfileProperties() { //Get the current user's account information $.ajax({ url: _spPageContextInfo.webServerRelativeUrl + ...


2

Try this: var profileManager = new UserProfileManager(ServerContext.GetContext(SPContext.Current.Site)); var profile = profileManager.GetUserProfile("domain\\username"); //instead of GetUserProfile use GetUserProfile(True); using (SPSite personalSite = profile.PersonalSite) { var personalSiteUrl = personalSite.PersonalUrl; } ...


0

It would be in the 'Title' field if your specific server setup is getting it from active directory or O365


0

In CSOM API Web class exposes Web.RegionalSettings property to get the regional settings that are currently implemented on the website. Example var regionalSettings = ctx.Web.RegionalSettings; ctx.Load(regionalSettings); ctx.ExecuteQuery();


1

The problem is that because you're in a SharePoint Hosted app, you're in a separate domain than SharePoint. Since the user profiles belong to the SharePoint host domain, and not the app domain, getting user profiles from the current context will return nothing. In order to get them, you need the cross-domain library: SP.RequestExecutor.js. Now, I've not ...


0

Ensure that SP.UserProfile.js is loaded before you run your code. $(document).ready(function(){ SP.SOD.executeOrDelayUntilScriptLoaded(loadUserData, 'SP.UserProfiles.js'); }); function loadUserData() { var peopleManager = new SP.UserProfiles.PeopleManager(clientContext); var userProperties = peopleManager.getMyProperties(); ...


0

Besides that, you also need reference to SP.UserProfiles.js for this code to work (in case you have not already added it) Check this link for a very good article on this subject . Update: Working code var context = SP.ClientContext.get_current(); var peopleManager = new SP.UserProfiles.PeopleManager(context); userProfileProperties = ...


0

Most likely, it is the how you are getting clientContext in this case. If the client context isn't loaded correctly first, then peopleManager will be undefined. Here is a link that most likely will address your issue: SP.ClientContext.get_current() returning undefined objects Beyond this, I cannot provide more information unless I see the whole code.



Top 50 recent answers are included