Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics 2013 forms

Posted on by Microsoft Employee

Hi, I've got a custom entity that has a few different forms. When a user fills out a form - dynamics saves which form they last used so opens that one every time. Is there anyway to force dynamics, to select a specific form each time the new button is clicked on a sub-grid?

All users need to have access to all of the forms so can't do anything with security rules. Have also tried forcing the form view via JS which works but creates a lot of internal dynamics errors.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 2013 forms

    Yep the main problem with that is that  when the user clicks the new button on the sub-grid it populates a field but when I try to set that field (a lookup) it doesn't set it. 

    I've used the Xrm.Page.ui.formSelector documentation to get it to change to the form I want - but it doesn't pass the data across. Is there a way to find out using JS when the form has transferred from Job, to closure? (for example).

  • PekkaSahlsten Profile Picture
    PekkaSahlsten 827 on at
    RE: Dynamics 2013 forms

    When done correctly selecting a particular form in JavaScript should work OK. Do you always want to use the same form when creating a new record of that entity? Then you could always check if the record is in create state and switch to a particular form then. Or how have you tried to do the JS?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans