How to call LaunchApp for use with Stylesheet

walterqmason
walterqmason Member Posts: 8
We are trying to call LaunchApp to use the send to Word stylesheet option on a standard Navision command button. We noticed that the LaunchApp function in codeunit 1 is populated with two XML automation object but we don't know how they get the function populated and intialized. Can someone please provide us some insight?

Comments

  • Nacho
    Nacho Member Posts: 18
    I want to do same code

    Any idea?
  • Revolution1210
    Revolution1210 Member Posts: 161
    The executable builds the XML internally (when you click the Send to.. buttons), then passes to LaunchApp function in Codeunit 1, which in turn calls the LaunchApp function in Application Launch Management codeunit (403).
    Ian

    www.NextEqualZero.com
    A technical eye on Dynamics NAV
  • emanuel
    emanuel Member Posts: 22
    First parameter contains XML data of the form / report the user is on, second parameter contains GUID of selected stylesheet, third parameter is empty XML DOM object, where the result is stored.
    <--Emanuel-->
  • prabhupdesh
    prabhupdesh Member Posts: 49
    oh..i wanted to answer it but revoulution has already answered it...well..revolution is correct