Tuesday, 7 April 2009

Launching desktop applications from a Web Part

If your looking for an easy way to create a Web Part which allows users to launch applications from a page on a SharePoint site, then it can be done with the Content Editor Web Part, as pictured below:

All you need to do is create some HTML tables and add the following hyperlink code to a cell in your table, copying your images wherever your image source code locates them:

<a href="javascript:LaunchApp('C:\\Program Files\\Microsoft Office\\Office12\\MSPub.exe')"><img alt="Launch Microsoft Publisher" src="images/PublisherIcon.jpg" width="54" height="54"></a>


You will also need to set "Prompt" or "Enable" for the "Initialize and script ActiveX controls not marked as safe for scripting" security option in Internet Explorer for the zone in which the portal is accessed. If this is an intranet, this should be fairly straightforward as your site should already be present in the "Local intranet" security zone, and more often than not controlled by a Group Policy. This is more difficult if your site is accessible as an extranet site because these machines a) may not trust the site and b) are quite often not controlled by a Group Policy. Obviously, this will relax the security for that zone in the browser, so do not modify this option unless you are sure about doing so.

I have uploaded the Web Part and images shown at the top of this article to the following location if you wish to have a look at or use my example - http://cid-3db995be5d5d9d8f.skydrive.live.com/self.aspx/Public/Launch%20Applications.zip.

20 comments:

  1. If you have a history of illness that is difficult to recover, maybe our next article will help you to recover

    Walatra Berry Jus
    Walatra sehat mata
    Qnc jelly gamat
    Obat gatal
    Obat infeksi jamur

    ReplyDelete
  2. Due to sending in those offer, You are investing in buy this realisation brand from the vendor if you're the earning prospective buyer. You read and sign the worldwide transportation structure affiliate agreement unwraps in any pickup's wind shield also known as loss. Transfer costs by now quotation probably have become controlled by change if you ever speed up you uttermost place a bet little..

    If the house is Camisetas De Futbol Baratas always went back following a established time it Maglie Poco Prezzo will undergo a 20% re selling commission rate aka refusal. For Coach Outlet Online Store something to qualify for head back or replace, The system had to be inside one of a kind overall disease utilizing manuel neuer trikot rot the labels it maillot de foot personnalise entered. hummel trikots In cases where the taken back service supplying is divided or is devoid of you should we will resultados de futbol see a Restocking charge all the way to 20%.

    By - applying your personal quote, You are investing maillot de foot pas cher in buy here food from the owner if you are the succeeding prospective buyer. You read maillot foot 2018 and accept the world shipping and delivery company conditions starts advertising in a meaningful door and bill. Significance allegations earlier amazon müller trikot in this article cited have been controlled by change inside event you improve you greatest tender value.

    ReplyDelete
  3. I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information and knowledge about health. |
    cara mengobati selulit |
    cara mengobati penipisan lapisan otak |
    OBAT LUKA BAKAR ALAMI |
    obat infeksi usus |
    Cara Mengatasi Sakit Ulu Hati

    ReplyDelete