How to call LaunchApp for use with Stylesheet

walterqmasonwalterqmason 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

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

    Any idea?
  • Revolution1210Revolution1210 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
  • emanuelemanuel 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-->
  • prabhupdeshprabhupdesh Member Posts: 49
    oh..i wanted to answer it but revoulution has already answered it...well..revolution is correct
Sign In or Register to comment.