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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

.mhtml file on button click

(0) ShareShare
ReportReport
Posted on by 420

Hi i have a mhtml file stored in my machine

I want it to be opened on clcik of a ribbon button

Please guide the procedure or steps

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    Hi Pallavi, 

    Add JavaScript action on button command and using JavaScript function you can open your mhtml file..

    You can use Great tool  Ribbon workbench  www.develop1.net/.../Ribbon-Workbench-for-Dynamics-CRM-2011.aspx

     to add ribbon button or modify existing button, and add/modify command, and add javascript function. 

    Hope this will help.. 

  • Pallavi Manocha Profile Picture
    420 on at

    Hi..yhanka for your reply..

    I used ribbon workbench itself.. Made a button..

    On the button i binded a command which had a opem url action..

    I provided the link where my .mhtml file was stored.. But it doesmt do anything..

    Can u please gelp on how to do that.. Or if we havr to use javascrip how we have to open .mhtml doc

    Thanks 

  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    I think you are using url like c:\...\document.mht

    instead of that either you can put this document into IIS and give website url like http://localhost..

    or try by adding javascript and open document from javascript..

  • Pallavi Manocha Profile Picture
    420 on at

    Hi,thankyou for your reply.

    What are the pre requisites to put a file on IIs server and then how can we acess the same.

    If you can guide me a little more it willbe very helpful

  • Pallavi Manocha Profile Picture
    420 on at

    Is there any possible way on how we can do it through Activex objects

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans