Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics Portals - Customizing Sigin Page title. Where to find?

Posted on by 75

Hi,

Hopefully someone can help me with this one. I'm trying to change the Page title name of the Dynamics Portals SignUp page. I created the following Content Snippets:

Account/SignIn/SignInLocalButtonText --> Text --> Value "Inloggen" 

This doesn't change anything...

Account/SignIn/PageCopy with the following code:

<script>

changeHeader()
function changeHeader()
{
$('a:contains("Aanmelden")').text(' Inloggen ');
$('a:contains("Registreren")').text(' Aanmelden ');
}
</script>
This however does something strange:
microsoftcrmportals.com/SignIn --> the page title is "Inloggen". So this correct. Yeah!
But in the home page navigation remains "Aanmelden" (Dutch for Register). So on the home page the page title for SignIn is "Aanmelden", after the user clicks on this page link --> the page title changed to "Inloggen".
So somewhere there is still the default name.
Can someone guide me to the right content snippet/ page template?
  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Dynamics Portals - Customizing Sigin Page title. Where to find?

    Hi MrHospers,

    Thanks for sharing solution.

    Regards,

    Clofly

  • Suggested answer
    MrHospers Profile Picture
    MrHospers 75 on at
    RE: Dynamics Portals - Customizing Sigin Page title. Where to find?

    Thanks Clofly

    Found a solution with MS support.

    The scripts was working partly. The navigation in the main header needs to be fed by a custom snippet. So here are the steps:

    1. Create a new Custom Snippet- named it what you want. I have used "Custom Sigin". Add in the text the name of the link. So in my case "Inloggen".

    2. Go to the Webtemplate "Header". Search (use Ctrl+F) "{{ snippets["links/login"] | default:resx["Sign_In"] | h | escape }}". Comment this out (<<---)

    3. Add a new line below: { snippets["Custom SignIn"]}}

    Clear the cache and you are done!

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Dynamics Portals - Customizing Sigin Page title. Where to find?

    Hi MrHospers,

    * Your content snippet and its script works well in my environment.

    pastedimage1585200871673v1.png

    Sign in page: (xxx.powerappsportal.com/signin)

    pastedimage1585201365383v7.png

    Home page:

    pastedimage1585201294160v5.png

    * I think your issue might be caused by cache,

    please clear your browser cache and click "Browser website" button from make.powerapps.com to open portal again.(this action will refresh Portal cache from server side.)

    pastedimage1585201578850v8.png

    If above steps still not work, try to debug in Home page to test whether your code excecutes correctly:(or restart Portal in admin center)

    select "$('a:contains("Sign in")')" and move cursor to the first attribute.(0: a)

    pastedimage1585201103588v2.png

    press F10 to next step:

    pastedimage1585201255135v4.png

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans