Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

(Portal - Button) Create Custom Button in Profile Page of Custom Portal

Posted on by Microsoft Employee

Hi All,

I want to add custom button (Next) on profile page of custom portal.

For this I add the script on Profile "Web Page, but nothing appears.

Actually after customer update there profile I would like them to move to next page where they can select the product.

$('#SubmitButton').after('<input type="submit" name="ctl00$ctl00$ContentContainer$MainContent$MainContent$mySubmitButton" value="Register" id="mySubmitButton" class="btn btn-primary">');

But it does not show anything on profile page.

Can some one help me on this

Thanks in advance

*This post is locked for comments

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: (Portal - Button) Create Custom Button in Profile Page of Custom Portal

    Hi,

    You can use below code in your profile web page, for example, I have added cancel button

    $(document ).ready(function() {

      $('#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton').after('<input type="button" value="Cancel" onclick="javascript:clearIsDirty();disableButtons();window.history.back();" id="CancelButton" class="btn btn-primary"/>')

    });

    cancelpage.png

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: (Portal - Button) Create Custom Button in Profile Page of Custom Portal

    Hi,

    take a look here - debajmecrm.com/.../place-custom-button-on-registration-page-in-dynamics-365-portals

    Hope this helps.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans