Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Custom form. Go Live button not shown

(0) ShareShare
ReportReport
Posted on by 2 User Group Leader

Hi everyone! 

We have made a copy of the the standard Marketing Email form and changed some fields to make it our own. 

But we suddenly realized that the Go Live button doesn't appear on our custom form. It is available on the standard form. Are there any limitations there that we should be aware of? 

can you not use a custom form for Marketing Emails? 

Br, Vivian

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Custom form. Go Live button not shown

    Hi Vivian,

    That's because of the "Go Live" process is complex:

    1. When "Go Live" button is clicked, system should validate field data of marketing email, when the email passes the validation, 

    the "Go Live" button need to be disabled and the "Stop" button should appear. 

    2. When "Stop" button is clicked, the "Stop" button need to be disabled and the "Go Live" button should appear again.

    In a word, the whole process is controlled by several rules.

    And even though with Ribbon Workbench, system will prevent the copied Go Live button to be shown in the custom form of Marketing Email.

    If you would still like to display the Go Live button for your custom form, please refer to following actions:

    In Ribbon Workbench, import the solution which we added OOB Designer form and custom form to.

    1. Copy the existing Go Live button(We can only see the ticked icon without label), insert it after Assign button.

    2. Create a custom button, insert it before the copied button.

    3. Add an "Enable rule" to the custom button: only enable the button when form state equals to "existing".(FormStateRule)

    pastedimage1602228461720v1.png

    4. Customize the copied button to get "Go Live" command and its javascript web resource.

    pastedimage1602228689778v2.png

    We only need to copy code of the second library: msdyncrm_DynamicsMarketing.CrmWebResource, and its function name should also be copied: MSDynCrmMkt.MktSvcStageSwitching.goLive.

    5. Create a new javascript web resource to save the copied code.(A replica of the existing library.)

    6. Add command to the custom button: set the library to the replica, and set the function name to MSDynCrmMkt.MktSvcStageSwitching.goLive.

    Remember to apply the rule to the custom button.

    pastedimage1602229029080v3.png

    7. The command of the custom button need to be set to our custom command instead of existing golive command, otherwise our custom button will be hidden by system.

    pastedimage1602229089092v4.png

    8. Publish the solution.

    Result:

    Now in the custom form, we are able to go live  marketing email with the custom button and its command.

    However, the custom button won't be hidden and the Stop button won't display automatically, therefore, we should repeat above actions to add Stop button to the custom form.

    pastedimage1602229371391v5.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

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,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans