Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Account Form Pop Window

(0) ShareShare
ReportReport
Posted on by

Hi All,
Please Suggest as I am new in Dynamic 365 . the senario is when the new button on Account will be clicked then pop up will show with 3 radio button of Account Form
1)Account_org
2)Account_Site
)Account_Franchise

When we will selected any one then them it will save the record which is associated with it .

Thanks & Regard 

Abhishek Mishra

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Account Form Pop Window

       <html lang="en">

         <head>

           <script type="text/javascript">

             function ContinueButton() {

               var parameters = {};

               parameters["formid"] = "test";

               Xrm.Utility.openEntityForm("account", null, parameters);

               var windowOptions = {

            openInNewWindow: true

    };

    Xrm.Utility.openEntityForm("account",null,null,windowOptions);

             }

           </script>

         </head>

         <body>

           <form id ="test">

                     <input  name="test" type="radio" id="AccOrgID"  value="C542DC53-2E8D-4C92-9DB8-3556A8BE234D"/> Account Org

             <input  type="radio" id="AccSiteID" name="test" value="ACDAEB35-5E9C-49BB-A15F-B40959487B92"/> Account Site

             <input  type="radio" id="AccFranId" name="test" value="F5262F1B-7747-4BBE-AF3C-99BE573661AD"/> Account_Franchise

                   <div class="modal-footer">

                     <button type="button" class="btn btn-danger" onclick="ContinueButton();" >Continue</button>

                     <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>

                   </div>

         </body>

       </html>

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Account Form Pop Window

    Hi Abhishek ,

    Try to start writing code yourself , I have already shared the reference in the above . We will be help you once you can write something yourself and stuck in some point .

    So please start writing code and above reference have everything.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Account Form Pop Window

    Thanks for reply . please suggest me the js code .

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Account Form Pop Window

    Hi Abhishek ,

    You need to follow below steps -

    - Install Ribbonworkbench if you don't have.

    - Create a test solution and add the Account entity over there , make sure while adding the Account entity choose do not add required component.

    - Open Ribbon workbench and choose the solution.

    - In the Ribbon workbench In the Home Grid Area select New button.

    - Right click and hide the button.

    - Create an new button and give the name NEW and in the command action include JS library with JS function where you need to write your logic.

    - Now in the action method fire OpenEntityForm with new window.

     docs.microsoft.com/.../jj602956(v=crm.8)

     - Do Publish 

    - You can design your form accordingly and add your save logic in the onsave function of account entity form.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans