web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Hide Go Live button in Marketing Email

(0) ShareShare
ReportReport
Posted on by

Hi,

I want to hide Go Live button in marketing email form load based on the custom script.

1. In ribbon workbench, right click the Go Live button, click Customize command.

2. Created Enable rule, specified custom script will return false or true.

3. Add the enable rule to the 'msdyncrm.msdyncrm_marketingemail.GoLive.Command'.

4.The command is already mentioned in the Go Live button -> command property.

This functionality is working perfectly. But the problem is, while loading the form, an empty alert popup is displaying with OK button. I could not trace how this popup is displaying.

If I remove the enable rule, then the popup is not displaying...

Kindly help me to sort out this.

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at
    RE: Hide Go Live button in Marketing Email

    Hi Anand,

    It seems that you had added some alert function such as Xrm.Utility.alertDialog to handle output message of exception or success/error callback function?

    I remember that I encountered a similar problem as yours in a previous thread, the user used an alert function, it could display message in legacy web client, but the popup was blank in UCI.

    However, I forgot what that funtion name exactly was.

    If there is any alert function in your code, you could change it to Xrm.Navigation.openAlertDialog function and give a larger value to height property.

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/openalertdialog

    This function could display message in UCI.

    Anyway, it would be helpful if you could share me some of your code.

    Regards,

    Clofly

  • Anandhcrm Profile Picture
    on at
    RE: Hide Go Live button in Marketing Email

    You are correct...

    I have error callback function, in that i have used Xrm.Utility.alertDialog.

    Thanks for your solution

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 128 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans