Hi all,
Just wondering if there's any specific client side built in javascript method to open the enhanced email's contextual email box in cases? So for example when I press the + button on the timeline and add a email it'll open this contextual box. I want to mimic this with my own custom button but not sure if there's a documented method to do this. Screenshot below:
Hi Mike, did you find the solution?
Hi Mike,
Try this:
var entityFormOptions = {}; entityFormOptions["entityName"] = "email"; entityFormOptions["openInNewWindow"] = true; // Open the form. Xrm.Navigation.openForm(entityFormOptions, {}).then( function (success) { console.log(success); }, function (error) { console.log(error); });
This function also support pass parameter to the new form, you may read more here: Link for document
Hey
[quote user="Bipin Kumar"]Hi,
Can you please try below code
learn.microsoft.com/.../navigateto
[/quote]Hey bud,
So I use the navigateTo method often but that just opens a modal dialog box either centre or on the side. I want to recreate the email pop out box.
Hi MikeC282,
Sorry. Here you are https://powerplatformaw.blogspot.com/2022/09/how-to-show-and-hide-button-based-on.html.
If I answer your question then please mark it as verified.
Let me know if I can provide you with more details.
Thanks
Regards,
Abdul Wahab
Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
Direct/WhatsApp:+923323281237
E-mail: abdulwahabubit@outlook.com
Skype: abdul.wahabubit
Linkedin: www.linkedin.com/.../
Hi MikeC282,
You need to analyse the behaviour of this button to mimic it. I wrote a blog post: Post: Edit (blogger.com) on how to customize the existing or out-of-the-box button. It might be helpful for you.
If I answer your question then please mark it as verified.
Let me know if I can provide you with more details.
Thanks
Regards,
Abdul Wahab
Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
Direct/WhatsApp:+923323281237
E-mail: abdulwahabubit@outlook.com
Skype: abdul.wahabubit
Linkedin: www.linkedin.com/.../
Hey Abdul Wahab ,
I can't seem to see this blog post. It's asking me to sign up to blogger when I use the link. I think you're linking to the backend editing page of blogger.
Kind regards,
Mike
Hi MikeC282,
You need to analyse the behaviour of this button to mimic it. I wrote a blog post: Post: Edit (blogger.com) on how to customize the existing or out-of-the-box button. It might be helpful for you.
If I answer your question then please mark it as verified.
Let me know if I can provide you with more details.
Thanks
Regards,
Abdul Wahab
Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
Direct/WhatsApp:+923323281237
E-mail: abdulwahabubit@outlook.com
Skype: abdul.wahabubit
Linkedin: www.linkedin.com/.../
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156