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

Announcements

No record found.

News and Announcements icon
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

    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

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 125

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans