Hot answers tagged

11

UserProfile.PersonalSite property gets the personal site of the User: var profileManager = new UserProfileManager(ServerContext.GetContext(SPContext.Current.Site)); var profile = profileManager.GetUserProfile("domain\\username"); using (SPSite personalSite = profile.PersonalSite) { var personalSiteUrl = personalSite.PersonalUrl; }


8

Try creating a permission policy for your web application on Central Administration followingly: On Central Administration, navigate to Application Management -> Under Web Applications: Manage web applications Select your My Site -web application by clicking it, and open Permission Policy Click Add Permission Policy Level Enter at least the Name for your ...


7

Is your production a multi server farm? I think you are facing the following issue: http://blogs.msdn.com/b/calvarro/archive/2011/11/06/sharepoint-2010-amp-visual-studio-2010-error-ocurred-activate-features-feature-with-id-installed-in-this-farm-cannot-be-added-to-this-scope.aspx It turns out that VS 2010 internally implements a call to the method ...


7

You are able to brand the My Site host itself (where Newsfeed is) with SharePoint Designer. However, each SkyDrive site (My Content site) is a separate site collection. You would need to manually apply your branding to each one individually. Not ideal, but Office 365 and SharePoint Online don't give you any other options. If you have SPO-D (SharePoint ...


7

A more global fix can be found by editing Search.ClientControls.js until a permanent fix is found. This will present you with a farm-wide fix, that not only fixes People Search, but other contextual searches as well. I've documented the workaround, but it involves removing references to a new function named encodeURI introduced by April 2014 CU/MS14-022 (...


7

The MyLinks control is hidden in SharePoint 2010, but as you point out still present in both 2010 and 2013. The links are part of the User Profile. So they are in the User Profile Database. You can access them via the QuickLinksManager and the User Profile Property "QuickLinks". I should point out that the preferred technique in 2010 and 2013 is to use Tags ...


6

When you changed the My Site Host URL did you extend and map it to your original my site host or did you just add the binding in IIS and then change AAM? Change the web application and ensure that all of the dependancies are working as well as changing the setting in the User Profile Service Application. Ensure that the URL you wish to use for the MySite ...


6

welcome to SharePoint Stack Exchange!! It is not possible out of the box, just so that you know! But, your problem was so interesting that I thought of spending couple of hours just to develop a small customization :) So this is how my solution works: The default size of images posted on Newsfeed time-line is 300x300px I developed a custom feature that ...


6

Besides deleting the site collection you also must clear a value in the User Profile! Navigate to the User Profile Service in Central Admin (Manage Service Applications), Click "Manage User Profiles" Find the profile of the user by searching Click on it and select "Edit User Profile" Find "Personal site:" and empty the field Find "Feed service provider ...


5

Verify that My Site settings in User Profile Service Application are set to point to this correct My Site location (My Site Settings --> Setup My Sites --> My Site Host). Verify that you don't have multiple WFE's in production that would have conflicting settings in terms of IIS bindings. Verify trusted My Site host location doesn't include the old host ...


5

The trickiest part of this is making sure the brand gets used for all new mysites created from this point on. To do so you need to make sure your branding conforms to a key prerequisite. Is your brand packaged up in a visual studio .wsp and can it be applied to a given site collection by activating one or more features? If so then you can apply it to all ...


5

Go to Central Admin -> Manage Service Applications -> User Profile Service Application


5

You can change the "Look and Feel" for My Site using the URL: http://siteurl/mysitecollectionurl/_layouts/15/designgallery.aspx Its the same URL as defined in "Change the look" section of Site Settings.


5

If all resources for the branding marked (MasterPages, CSS, JS) as Ghostable or GhostableInLibrary then it looks like they where stored in the content database. The files will be directly loaded from the feature directory. They are not as long as you don't modify those files directly inside of SharePoint. If you then update your solution the files will be ...


4

You can use the stsadm deletesite option or do it within central administration for faster site collection removal. Do you have access to either of those?


4

If you are just using the default Windows authentication this should not be a problem at all - even with claims based authentication. Make sure the SharePoint URLs are in the "Intranet Zone" of the browser and your users should be logged on automatically - even without Kerberos. For this basic scenario you don't need ADFS or any other identity provider.


4

You would need to run the code block as the system account. The safest way to do that is by using the SPUserToken for the system account. Here is an example: public static string GetSiteOwner(string siteUrl) { var systemToken = SPUserToken.SystemAccount; using (var site = new SPSite(siteUrl, systemToken)) { return site.Owner.LoginName; ...


4

Using the following call, you can get the Login Name of the user from the AuthorID: http://siteurl/_api/web/GetUserById(<AuthorID>)/LoginName And then by using the Login Name, you can get the Picture Url with the following call: http://siteurl/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='<LoginName>'&$select=...


4

You can specify a search center for all My Sites in the User Profiles Service Application > Setup My Sites > Preferred Search Center. Are the OOTB search box not working out? Be sure to add "/pages/" after the URL to your search-center. As the example under the text box states. There is currently a bug in SP2013, that by my understandings won't let you ...


4

You change it, there are couple of ways. Method 1 using the GUI, this should be done by every user. via site setting Site settings >> Click on Title, description, and icon Link under "Look and Feel", Change the name and description as per your requirements! Method 2: You can use the powershell. #Get the Web $Web= Get-SPWeb "http://your-...


4

Normally I would do this through feature stapling, however it doesn't seem to be supported in SPO/O365. There may be some workarounds though. If you are okay with doing it manually, you can create a PowerShell script that looks through your MySites and activates the branding features, and run it regularly. Alternatively you can check other solutions, but ...


4

There're some considerations that should be aware when planning to My Site upgrade. Before upgrading the My Site Host and the personal site collections, you must upgrade the Managed Metadata service application, and then the User Profile Service application. you must upgrade the User Profile Service application on the services farm first before you upgrade ...


3

You need to setup the site collection's search settings (Site Actions -> Site Settings -> Search Settings). Enable custom scopes by pointing the site to your search center, and set the dropdown mode to enable those scopes to be used. Additionally, you should also point it to the applicable search results for your search center, so that when users perform a ...


3

If you have created the branding in a Feature within Visual Studio, you can use PowerShell to iterate all the site collections in your MySite host and activate the feature in each site collection.


3

Using Search Core Results web part is definitely the best approach out of the 3 options you mentioned and it's easier than you might think: Add the Search Core Results to the page (may need to activate the Search Server Web Parts site collection feature to enable make the web part available) Set the Location web part property to Local Search Results if ...


3

~4.7MB is the limit (5000000 bytes).


3

You can create mult-tenant aware web application and service applications within your existing farm (it will coexist with your current configuration). However, before proceeding down that route, you need to understand the limitations and be sure it really fits your needs (and you can support it). If all users are part of the same forest / domain, you can ...


3

If you can use GPO you can push policy to all computers for mysite to be in intranet zone. Alternatively, you should be able to access mysite without a FQDN. If neither are acceptable, one trick is to set a startup script to add the AuthForwardServerList reg item to the users computer and add the FQDN to the reg key. Here is link to KB article, also works ...


3

Check the WebTemplate property of the current SPWeb, if it is SPSMSITEHOST#0, it is a MySite host. You can use Get-SPWebTemplate powershell command in SharePoint 2010 Management Shell to see list of out of the box web templates.


3

Simply put, you can do this in visual studio: Create a copy of person.aspx to _layouts Redirect to the custom version using AdditionalPageHeaders delegate control Remove/add in custom control templates Deploy Profile properties are in this format: <SPSWC:ProfilePropertyValue TitleMode="false" PropertyName="FirstName" runat="server"/> <SPSWC:...


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