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;
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 ...
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 ...
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 (...
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 ...
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 ...
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 ...
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 ...
You can change the "Look and Feel" for My Site using the URL:
Its the same URL as defined in "Change the look" section of Site Settings.
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 ...
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.
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))
Using the following call, you can get the Login Name of the user from the AuthorID:
And then by using the Login Name, you can get the Picture Url with the following call:
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 ...
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-...
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 ...
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 ...
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 ...
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")
This returns True if its ...
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:
My Site host site collection
The My Site host site collection is a special site collection that
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 ...
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 ...
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.
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....
Based on your comment, create a separate feature for page provisioning and add it in FeatureSiteTemplateAssociation after the lists are created and put the feature which adds XsltListViewWebPart third in the order. So by the time the code in feature activated event of third feature is called both Lists and Pages will be available.
Can you: probably yes
i can see no technical reasons for why not, but haven't triede it.
Should you: probably not
Remember that cross site publishing doesn't move the content, just information about it.
So you'll store these documents in the My sites.
In my opinion it would break the spirit of the "My Site" as a storage place and playground for the ...
I was able to fix the issue by removing code in Item_Person.html, Item_Person_CompactHorizontal.html (there are two), and Item_Person_HoverPanel.html for the encodedPath variable.
var encodedPath = $urlHtmlEncode(ctx.CurrentItem.Path);
var encodedPath = ctx.CurrentItem.Path;
(Not all lines look exactly like this, but you're still looking ...
I can confirm that this is the behaviour. And I do not see a way to configure/override this at the moment. Therefore I would log a case with MS support to see if this can be made configurable.
Some blogs to confirm this:
You need to setup a MySites host in order to take advantage of profiles. You do not need to have mysites enabled for people search to work.
If you're worried about MySites being enabled you can keep self site creation turned off and turn off the social features.
So as you already have the MySite host configured, you people search will work. I dont see ...