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

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

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

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

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:...


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

~4.7MB is the limit (5000000 bytes).


3

I have found that the code to send this email is generated in Microsoft.Office.Server.UserProfiles.UserProfile assembly. Refer following articles :- Getting most out of SharePoint - My Site Email Auto-Generated SharePoint 2013 MySite Personal Site Email So it seems that the only way to update this email is by updating the resource files (spscore.resx and ...


3

Disregarding what you are trying to do. The PowerShell to accomplish the read of the boolean field looks like this. (Tested in 2013) $context = Get-SPServiceContext -Site http://mysite $upm = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context) $up = $upm.GetUserProfile("DHT\Ruby") $up["ShowHide"].Value This returns True if its ...


3

You can use Group Policy to push this registry setting to all users in your environment.


3

how about setting up the host, your getting 404 beacuse you dont have access, the mysite is setup and exists, you just need it as a trusted site: http://www.sharepoint2013.me/Blog/Post/274/Configure-My-Site-trusted-host-locations-in-SharePoint My Site host site collection The My Site host site collection is a special site collection that displays ...


3

The idea behind using one shared web application with host-named site collection is to overcome web application limitation of using multiple DNS name without having to extend the web application. By using host-named site collection, the DNS can now be set at site collection level and of course a site collection’s DNS name can be different from DNS of a Web ...


3

I don't think there is a yes version of the answer for this question at present: http://community.office365.com/en-us/forums/154/t/74400.aspx This tool says that it will allow you to migrate all your content: http://www.metavistech.com/category/tools-office-365 then in the meantime, you could do the following, as you migrate the content: In central ...


3

Your mysite is not using ssl, while your main site is. You're going to have an issue redirecting from the my site (no ssl) to the app web (ssl). So, configure Mysite for ssl, and set the ssl site as the default in AAM.


3

We had the same problem. We had a stapling feature that was applying branding to my personal sites. Staplers code ran, but MDS was still active. What we did, was to add a custom control to a personal site master page which deactivated MDS when site was loaded. In this custom control we added if/else check if this code ran once ( by putting value to web....


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