Notifications
Announcements
No record found.
Hello All Experts,
I need to add a custom button that will open a popup as like when we click Assign button.
any help will be appreciable?
Hello,
Everything depends on what do you want to be shown in that popup window.
If you want to compose something nice-looking in a relatively easy way and you're familiar with React/FluentUI you can check the following post - butenko.pro/.../
Hi Andrew,
Thanks for your information. but i need to call the exact same dialog box which gets open when click on the Assign button.
so, is there any way which can be utilized to call that same exact pop up box .
Hi EmployeeOcta,
If you only want to get assign function, maybe you don’t need create button and dialog, you can use OOB workflow to achieve it.
There is a step ‘assign record’ in workflow, you can add it.
If you want to copy assign dialog to new button, you can unpack, modify Form XML of forms, and repack solutions because a Dialog Box is nothing more than a system form.
You can refer following link to know more about it:
https://blog.thenetw.org/2019/06/10/dynamics-365-custom-dialogs-in-uci-part-3/
or refer following thread to know more ways:
https://community.dynamics.com/365/f/dynamics-365-general-forum/348182/how-to-design-dialog-form-in-unified-interface?pifragment-110267=1#responses
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Hello Leah,
Thanks for your reply. but i am not sure whether dialog will exactly be working same as open after clicking on Assign from your given links.
if we look at the below dialog it's after clicking on Assign button and which contains the lookup fields.
is there any way that i can call this dialog only by it's id or something like that.
If you want to open that dialog I would recommend investigating how dynamics does it and use the same code.
Good luck.
Hello Andrew,
Thanks for the information. actually i donot want to utilized the core command associated with that, simply i need to utilize the similiar dialog but only assign the contact records.
i think this type of requirement is not possible with that Assign dialog.
Also there are points like lookup do not work on dialogs.
Everything is possible. The other question is how long could it take.
If you don't want to develop the custom dialog using Html/JS/React/Whatever you always can use Canvas App and open it from your code.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 45 Most Valuable Professional
iampranjal 36
Satyam Prakash 31