none
How to go to the Home page after visiting my sites? Sharepoint 2013

    Question

  •  Once a user clicks his/her about me link that sends them to their "my page" there is no default way for them to go back from where they came or go back to their originating home site.

     Is there an easy way for this to be resolved ?


    Mike Dibble

    Monday, July 01, 2013 7:16 PM

Answers

  • Use SharePoint Management Shell to change text and/or add hyperlink to the top left text. (Where, OOB it says "SharePoint")

    $webApp = Get-SPWebApplication http://{your My Site web application}
    $webApp.SuiteBarBrandingElementHtml = "<div class=""ms-core-brandingText""><a href="http://{ your portal web application}">Your Main Portal</a></div>"
    $webApp.Update()

    **The http://{your My Site web application} is the URL to your My Site Web App

    **The http://{your portal web application} is the URL to your main portal (where you want them to return)

    -bill

    Tuesday, July 02, 2013 4:42 PM
  • You can easily add a link to the MySite to go to a particular location.  The easiest way to do that is to edit the 'Portal Site Connection' setting in the MySite Host and then modify the MySite master page to include that global link.  But that only gets you back to a specific location.  You want them to be able to go back where they came from.  That requires capturing a link when they enter the MySite so that you can go back to it.  That is a much more problematic solution.  The problem is not adding a link to the MySite pages.  The problem is adding a dynamic link.  I can give you any number of ways to add a specific link to every mysite, just not a dynamically changing one.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 02, 2013 5:30 PM

All replies

  • Hi Mike,

    I think the easiest way is to click the "Back" button of the IE Browser to go back from where they came, or right-click the "Back" button to list the history and go back.

    Thanks


    Daniel Yang
    TechNet Community Support

    Tuesday, July 02, 2013 9:47 AM
    Moderator
  • There is no easy way for the user to get back to where they came from other than the back button.  But there is an easy way for users to go from their MySite to known locations in the environment that they visit frequently.  Show the users how to bookmark sites by clicking the 'Follow' link on the home page of that site.  Then in their MySite they can click on Sites in the global nav and they will be taken to the personal list of their favorite sites.  Clicking on a link in that page will take them to the home page of that site.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 02, 2013 9:59 AM
  • None of these are adequate answers. Sharepoint is a fully customisable solution where links can be added just about anywhere...Except the My Pages sections. Im looking at editing the master page at this time to complete this solution in a PROFESSIONAL manner.


    Mike Dibble

    Tuesday, July 02, 2013 1:59 PM
  • Use SharePoint Management Shell to change text and/or add hyperlink to the top left text. (Where, OOB it says "SharePoint")

    $webApp = Get-SPWebApplication http://{your My Site web application}
    $webApp.SuiteBarBrandingElementHtml = "<div class=""ms-core-brandingText""><a href="http://{ your portal web application}">Your Main Portal</a></div>"
    $webApp.Update()

    **The http://{your My Site web application} is the URL to your My Site Web App

    **The http://{your portal web application} is the URL to your main portal (where you want them to return)

    -bill

    Tuesday, July 02, 2013 4:42 PM
  • You can easily add a link to the MySite to go to a particular location.  The easiest way to do that is to edit the 'Portal Site Connection' setting in the MySite Host and then modify the MySite master page to include that global link.  But that only gets you back to a specific location.  You want them to be able to go back where they came from.  That requires capturing a link when they enter the MySite so that you can go back to it.  That is a much more problematic solution.  The problem is not adding a link to the MySite pages.  The problem is adding a dynamic link.  I can give you any number of ways to add a specific link to every mysite, just not a dynamically changing one.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Tuesday, July 02, 2013 5:30 PM
  • PS C:\> $webApp = Get-SPWebApplication http://my
    PS C:\> $webApp.SuiteBarBrandingElementHtml = "<div class=""ms-core-brandingText""><a href="Demo">http://demo">Demo Portal Home</a></div>"
    At line:1 char:85
    + ... ext""><a href="Demo">http://demo">Demo Portal Home</a></div>"
    +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Unexpected token 'http://demo">Demo Portal Home</a></div>"' in expression or statement.
        + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : UnexpectedToken

    PS C:\> $webApp.Update()
    PS C:\>

    Friday, August 23, 2013 4:50 PM
  • There is an error in the code - you need double quotes around anything that is inside quotes so

    The second line says

    $webApp.SuiteBarBrandingElementHtml = "<div class=""ms-core-brandingText""><a href="http://{ your portal web application}">Your Main Portal</a></div>"

    It should say

    $webApp.SuiteBarBrandingElementHtml = "<div class=""ms-core-brandingText""><a href=""http://{ your portal web application}"">Your Main Portal</a></div>"

    Hope this helps


    Andy Reeves

    Friday, September 13, 2013 1:32 PM