Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

In CRM Portal Profile page need a sapce update button and cancel button

(0) ShareShare
ReportReport
Posted on by 120

Hi Team,

In my crm portal profile page i have added cancel button using custom jaavscrpt

  1. $(document ).ready(function() {  
  1. //Add cancel button next to update button  
  2. $('#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton').after('<input type="button" value="Cancel" onclick="OnCancelClick()" id="CancelButton" class="btn btn-primary"/>')  
  3. });  
  4. //Navigate to home page on Cancel Click  
  5. function OnCancelClick()  
  6. {  
  7.     window.location.href="/";  
  8. }  

Button added but there is no space between Update & cancel like below

5008.pastedimage1657731543368v1.png

Please help here

  • Haritha222 Profile Picture
    Haritha222 120 on at
    RE: In CRM Portal Profile page need a sapce update button and cancel button

    Thanks for the reply,

    I got a cancel button, but issue is there is no space between Update & Cancel button like above image

  • CRMJetty Profile Picture
    CRMJetty 3,508 on at
    RE: In CRM Portal Profile page need a sapce update button and cancel button

    Hello,

    Pls refer this below thread,

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/290239/portal---button-create-custom-button-in-profile-page-of-custom-portal?pifragment-97030=1

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans