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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Save and Close button acts as Save and New on custom entity

(1) ShareShare
ReportReport
Posted on by

Hi,

I'm having issues with the Save and Close button on a custom entity since it acts like Save and New, saving the record and opening a new entity form.

When using the same button for the new entity form, it saves and closes the record.

The issue only exists when adding a related record from a form subgrid, and only for users other than system administrators.

We have tried debugging every script loaded but no results. I have a slight suspicion this is privilege related but I can't figure out where to look.

The user group experiencing the issue have full org. privileges for the custom entity.

The Save & Close and Save & New buttons are completely uncustomized.

Maybe worth noting that the Save & New button exists in the form ribbon when using Ribbon Workbench, but not in the displayed form ribbon (regardless of user).

We are running Dynamics 365 On Premise version 1612 (8.2.2.112) (DB 8.2.2.112)

Thank you in advance

Regards

Sebastian

I have the same question (0)
  • Dynamics365 Rocker Profile Picture
    7,755 on at

    Hope below link will help you.

    www.cobalt.net/.../save-new-button-go

  • SeStri Profile Picture
    on at

    Mr Rocker, unfortunately the blog post didn't really handle the Save & Close-issue, but thank you for the information! It will absolutely be useful in the future.

    Further testing with the affected users revealed that ALT+S also triggers the Save & New functionality, which is really weird.

    I'm leaning towards this being a privilege-related issue, maybe for a related entity, but the behavior is still vert non intuituve...

    Regards

    Sebastian

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Privledge shouldn't change the save behaviour. Did you check if you have any js running on save event or may be a business rule?

  • SeStri Profile Picture
    on at

    Hello Ravi,

    Even further testing shows that this seems to be related to a Dynamics app... We will continue troubleshooting.

    Regards

    Sebastian

  • Arun Vinoth Profile Picture
    11,615 Moderator on at

    You may experience UI flat layering in app, like when you open a new record creation form A from view then click New button will layer a new form B on top of existing form A - once you click the save & close in form B will close it but the previous layer form A will resurface. Hence you feel like save & new.

    When you press back button the same experience will surface. This is a different experience like window.open in same same tab compared to Response.Redirect

  • SeStri Profile Picture
    on at

    Hi Arun,

    I think you are describing the app for phones or tablet, but we are using the App Modules in the browser.

    Thank you for you reply anyways!

    Regards

    Sebastian

  • SeStri Profile Picture
    on at

    For anybody following this, or experiencing the same issue, we have opened a ticket with Microsoft and will be working with them to resolve the issue.

    I will update this post when progress is being made!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans