Easy One-Click Form Transformation

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,495
edited 2015-08-04 in Download section
Easy One-Click Form Transformation
All of you that worked with the form transformation tool, have experienced that ... you have to click your mouse A LOT. You have to:
- Think whether you changed the transformation input or not.
- If yes, export the transformation intput of the forms you want to transform.
- Think whether you changed the form(s) or not.
- If yes, search for the forms in the object designer
- Export the forms
- Search for the Transformation folder (file directory)
- Select 'XML' and call the file "forms.xml"
- Go to explorer and do the transformation
- Import the pages.xml
- Compile the page(s)
A LOT of clicks and thinkabouts ... which takes time.
Imagine that you could do this all in far less mouse clicks ... and with far less thinking! That's why my colleague Stany and me started working on it ourselves ... and succeeded! [:)].
Enjoy the download, it's going to spare you lots of frustrations.

http://www.mibuso.com/dlinfo.asp?FileID=1129

Discuss this download here.

Comments

  • ashu_gargsashu_gargs Member Posts: 16
    Hi Waldo,

    Thanks a lot for the one click Transformation tool, it should be really helpful.

    I am getting an error message in compiling the form 177000, error message is found unknown variable “EXPORTOBJECTS” in the form.

    I am using Transformation objects from NAV2009 CD and then imported Form 177000 from your download, are there any more objects to this download ?

    Thanks,
    Ashu
  • WaldoWaldo Member Posts: 3,412
    Hey ashu,

    it seems you're not working with SP1. Only SP1 supports the IMPORTOBJECTS and EXPORTOBJECTS. Is that possible?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • WaldoWaldo Member Posts: 3,412
    By the way: you can find a bog about it here.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Great mod!

    Is there a way to avoid the Security Warning dialog, every time Microsoft.Dynamics.Nav.Tools.FormTransformation.exe is executed through WSScript?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • WaldoWaldo Member Posts: 3,412
    I think you have to disable (or was it "enable) the UAC on your machine.. .

    More info here.

    Thanks for using it ;-)

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    I disabled UAC, and rebooted, but no effect. I presume the warning is issued by NAV and not by Windows (7). The same happened in NAV 4.0 with the SHELL-command.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • WaldoWaldo Member Posts: 3,412
    Hm .. I don't use it anymore (I even don't use it anymore .. we don't transform) .. so sorry, can't help you with this :(

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Found it!

    Change the ConstValue of Text Constant ltxc_TIFFTool to: cmd.exe /c Microsoft.Dynamics.Nav.Tools.FormTransformation.exe

    Now the security dialog is gone.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • WaldoWaldo Member Posts: 3,412
    Cool! Thanks, Luc!

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • djkdjkdjkdjk Member Posts: 17
    Hi Community,
    Yesterday I download the tool from Eric. When I try to execute the transformation with the new button “Transform!”, I get the following error message in NAV:
    Microsoft Dynamics NAV Classic
    This message is for C/AL programmers: An exception was raised in method Run. The OLE control or Automation server has returned error (HRESULT) -2147352567. The component did not provide the exception description.
    OK

    The Debugger stop here in the code:
    Function: Form 177000 Transformation Forms\fct_IfactoTransform()
    laut_WSScript.Run(ltxc_TIFFTool, lint_WshMode, lbln_WSWait) ;
    …
    //Run the Tool
      lint_WshMode := 0;
      lbln_WSWait := TRUE;
      CREATE(laut_WSScript);
      laut_WSScript.CurrentDirectory(lrec_TIFFSetup."TIF path Import");
      laut_WSScript.Run(ltxc_TIFFTool, lint_WshMode, lbln_WSWait) ;
      CLEAR(laut_WSScript);
    
      //Wait for pages.xml being created before continuing.
      //Wait 15 seconds at most.
    …
    
    I Work with the 2009 R2 release.

    @ Eric: I can compile the form without errors.

    Thank you in advance for help

    Jeannot Keiser
  • WaldoWaldo Member Posts: 3,412
    what is the value of "ltxc_TIFFTool" at that time?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • MBrodie1979MBrodie1979 Member Posts: 21
    I wrote this article giving a brief outline of how to transform a form to a page. The MSDN steps are very long winded and hard to follow. It worked for me hope it helps others.

    http://www.capricorndynamics.com/Home/?p=150
  • GasparGaspar Member Posts: 2
    Hi Waldo,
    I see that it works with tables in the range of 177000 and they do not exist in my Navision 2009R2.
    Does not work in this case?
    Thank you in advance for help
  • mohana_cse06mohana_cse06 Member Posts: 5,503
    You need to import them from DVD Transformation Tool folder
  • GasparGaspar Member Posts: 2
    Thanks, Mohana
Sign In or Register to comment.