Options

NAV Object Splitter v3.0.0.0

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
edited 2013-04-22 in Download section
NAV Object Splitter
An object splitter? Again? No! Please read about the advantages below:

General purpose of this software is to provide an easy way to prepare Dynamics NAV object text files to be used with comparision software like "Beyond Compare" or "UltraCompare" and to give the user an easy to use interface and a flexible facility to name, order and arrange the resulting object files which is an "must have" when updating or merging objects.

Naming is done with a naming template which provides the following placeholders:

- {id} *
- {type} *
- {name}
- {date} *
- {time} *
- {version}

All placeholders flagged with an asterisk (*) support formatting.
For example:

"{type}_{id:000000000}.txt" will result in
"Codeunit_000000001.txt" for Codeunit 1.

Or
"{type}_{id:000000000}_{version}_{date:yyyyMMdd}.txt" results in
"Form_000000001_NAVW15.00_200702 28.txt"
for Form 1 in Dynamics NAV 5.00.

Requires Microsoft .NET Framework 2.0.

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

Discuss this download here.

Comments

  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    NAV Object Splitter v1.2.0.0
    General purpose of this software is to provide an easy way to prepare Dynamics NAV object text files to be used with comparision software like "Beyond Compare" or "UltraCompare" and to give the user an easy to use interface and a flexible facility to name, order and arrange the resulting object files which is an "must have" when updating or merging objects.

    Changes since last mibuso.com version V1.1.0.0:

    V1.1.1.0 (15.06.07)
    - To support localized object text files (OBJECT-PROPERTIES section), a configuration file is supplied for english and german.

    V1.2.0.0 (31.08.08)
    - Added support for Page objects (NAV 6.00)
    - Now uses a status bar instead of a message box for informational messages.

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

    Discuss this download here.
  • Options
    DenSterDenSter Member Posts: 8,304
  • Options
    SilverXSilverX Member Posts: 134
    DenSter wrote:
    Does it work on Vista?

    It was developed on Vista 8)
    Because this was not your question: Yes, it works for me!

    Greets,
    Carsten
    Cheers
    Carsten


    ==> How To Ask Questions The Smart Way

    This post is my own opinion and does not necessarily reflect the opinion or view of my employer.
  • Options
    DenSterDenSter Member Posts: 8,304
    Thanks. The object splitter I've been using doesn't, and I've had to run it in an XP VPC. I'll give this one a try next time that I need to split objects.
  • Options
    DenSterDenSter Member Posts: 8,304
    Great little tool Carsten, works like a charm. Thanks for keeping it such a small tool without an installer. It is quick and accurate, my new favorite objet splitter :)
  • Options
    meikcremermeikcremer Member Posts: 7
    Hi Carsten :D

    it's also perfect for versioning your modifications in subversion (for everyone, who doesn't want to spend days with Team Foundation Server). Simply use a nice subversion client for managing your versions like smartsvn and together with beyond compare you have a very powerful versioning system.

    Thanks Carsten, it would be nice hearing from you (guess you still know my mail address :wink:)

    Bye for now.
    Meik
  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    NAV Object Splitter v2
    Prepare Dynamics NAV object text files to be used with comparision software like "Beyond Compare" or "UltraCompare" and to give the user an easy to use interface and a flexible facility to name, order and arrange the resulting object files which is an "must have" when updating or merging objects.

    Features:
    - Rewritten from scratch :)
    - Command line version (use "NavObjectSplitterConsole.exe -help")
    - Sorted join (NAV order, not alphabetical)
    - File naming template(s)

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

    Discuss this download here.
  • Options
    lvanvugtlvanvugt Member Posts: 774
    Carsten the tool works great. I would however like to have the possibilty to use only the 3 first letters of the objects type as prefix, just like MS is also doing in their NAV core development. Could you add that to the tool. A File naming option like {type3}...

    Example
    Using {type3}{id}.txt would result in COD1.txt for codeunit 1.
    Luc van Vugt, fluxxus.nl
    Never stop learning
    Van Vugt's dynamiXs
    Dutch Dynamics Community
  • Options
    SilverXSilverX Member Posts: 134
    edited 2010-02-09
    Hi Luc,

    thanks for your suggestion. It is implemented in the upcoming version. Use "{type,3}{id}.txt" for "Cod1.txt" or "{type,2}{id}.txt" for Co1.txt.

    Unfortunately the current version has some bugs, especially in OS version checking. The Windows 7 version check requires Windows 7 :( So if you have Windows 7 (which everybody should) you are lucky for now.

    The fixed version is already online. Many thanks Luc!!
    Cheers
    Carsten


    ==> How To Ask Questions The Smart Way

    This post is my own opinion and does not necessarily reflect the opinion or view of my employer.
  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    NAV Object Splitter v2.0.1
    Prepare Dynamics NAV object text files to be used with comparision software like "Beyond Compare" or "UltraCompare" and to give the user an easy to use interface and a flexible facility to name, order and arrange the resulting object files which is an "must have" when updating or merging objects.

    Features:
    - Rewritten from scratch :)
    - Command line version (use "NavObjectSplitterConsole.exe -help")
    - Sorted join (NAV order, not alphabetical)
    - File naming template(s)
    - Added support for naming template length limit:
    "{type,3}{id}.txt" -> "Cod1.txt" for Codeunit 1.

    Fixed some bugs:
    - Fixed bug on non Win 7 machines: The Windows 7 check required Windows 7. Good idea :/
    - Fixed some ui errors

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

    Discuss this download here.
  • Options
    lvanvugtlvanvugt Member Posts: 774
    =D> Wow that's a real quick update. Compliment!

    Unfortunately, as I have tested it just now, it seems not to work. :?

    I wanted to use the following File naming (based on the standard {type}{id}.txt): {type,3}{id}.txt and then I am getting this error:

    Error...
    Object reference not set to an instance of an object.
    OK

    No files are created. :cry:
    Next to that: using either of the standard types the tool throws the warning (even when the file does not exist):
    Destination File ...... exists. Overwrite?
    So not yet OK, it seems. :bug:
    Luc van Vugt, fluxxus.nl
    Never stop learning
    Van Vugt's dynamiXs
    Dutch Dynamics Community
  • Options
    SilverXSilverX Member Posts: 134
    Hi Luc,

    hmm, thats really boring. Treat the combo box as a readonly dropdown for now and edit your templates in the config file. That works. I will look into it in the next days.

    I can not reproduce the second problem. I've checked it some minutes ago without any problem. Can you please send me some infos on your setup (source file, dest. folder etc.)

    /Carsten
    Cheers
    Carsten


    ==> How To Ask Questions The Smart Way

    This post is my own opinion and does not necessarily reflect the opinion or view of my employer.
  • Options
    lvanvugtlvanvugt Member Posts: 774
    Hi Carsten,

    Your tip on updating gthe config file worked OK. Thanx.

    About the second issue: cannot reproduce. Probably it was related to the first issue.
    Luc van Vugt, fluxxus.nl
    Never stop learning
    Van Vugt's dynamiXs
    Dutch Dynamics Community
  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    NAV Object Splitter v2.0.1.0
    Prepare Dynamics NAV object text files to be used with comparision software like "Beyond Compare" or "UltraCompare" and to give the user an easy to use interface and a flexible facility to name, order and arrange the resulting object files which is an "must have" when updating or merging objects.

    Features:
    - Rewritten from scratch :)
    - Command line version (use "NavObjectSplitterConsole.exe -help")
    - Sorted join (NAV order, not alphabetical)
    - File naming template(s)
    - Added support for naming template length limit:
    "{type,3}{id}.txt" -> "Cod1.txt" for Codeunit 1.
    - Drag & Drop

    15/03/2010:
    Fixed a bug and made some improvements:
    - Fixed naming template UI bug
    - Made Sort the default and saved in config (suggested by Paul Furlet)
    - Dynamic change of source/destination icons (suggested by Paul Furlet)
    - Implemented drag & drop (suggested by Paul Furlet)
    - Autocreate destination directory if it does not exist (suggested by Davor Perkovac)

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

    Discuss this download here.
  • Options
    vaprogvaprog Member Posts: 1,124
    Thanks for the update.
    You addressed two points which I missed in the 1.x version:
    • Command line interface
    • Preconfigure naming templates

    I am having problems with the time variable, though. Both, time and date contain the date value with time set to 00:00:00.

    I am working with a German locale on a Windows 7 box.
    The OBJECT-PROPERTIES section of the text object file looks like this:
    OBJECT-PROPERTIES
      {
        Date=26.04.10;
        Time=22:54:56;
        Modified=Yes;
        Version List=NAVDACH4.00,GC01.01;
      }
    
  • Options
    SilverXSilverX Member Posts: 134
    Hmm, looks like a bug :) I assume you are using {date} and/or {time} without a format string.
    Please use formatters as a workaround for now. "{date:yyyyMMdd}" and "{time:hhmmss}" are working examples.

    /Carsten
    Cheers
    Carsten


    ==> How To Ask Questions The Smart Way

    This post is my own opinion and does not necessarily reflect the opinion or view of my employer.
  • Options
    vaprogvaprog Member Posts: 1,124
    Initially I used formatters, but after I did not get a time value other than 00:00:00 I left them out to check whether the error is with my format string. It showed that the error was not my format string but the missing value.
    My string was {time:HHmmss} to get 24 hours.
  • Options
    SilverXSilverX Member Posts: 134
    Ok, this is indeed a bug. I accidently subtract the time component from the full datetime which results in a time component of 0 :)
    I'll fix this in the next version.
    Cheers
    Carsten


    ==> How To Ask Questions The Smart Way

    This post is my own opinion and does not necessarily reflect the opinion or view of my employer.
  • Options
    teojuradoteojurado Member Posts: 6
    SilverX wrote:
    Ok, this is indeed a bug. I accidently subtract the time component from the full datetime which results in a time component of 0 :)
    I'll fix this in the next version.

    Simply amazing util!!.... Thanks!!!
  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    NAV Object Splitter v3.0.0.0
    Prepare Dynamics NAV object text files to be used with comparision software like "Beyond Compare" or "UltraCompare" and to give the user an easy to use interface and a flexible facility to name, order and arrange the resulting object files which is an "must have" when updating or merging objects.

    Features:
    - Fast!
    - Command line version (use "NavObjectSplitterConsole.exe -help")
    - Sorted join (NAV order, not alphabetical)
    - File naming templates like {type}, {TYPE,3}, {Name,10}
    - Drag & Drop

    V3 changes (16/05/2012):
    - Added support for new Object type "Query"
    - Bumped version to V3 (major NAV, major splitter :))
    - Fixed a bug in files per second calculation (oups)
    - Now allows type and name to be in (almost) any case like "type", "NAME", or "Type"

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

    Discuss this download here.
  • Options
    vaprogvaprog Member Posts: 1,124
    With the console version 3.0.0.0 I get the following message (Line break in a standard 80 character per line console as quoted):
    Die Zieldatei Table_000050106.txt existiert bereits. Überschreiben? [Y]=Ja [N]=N
    ein [A]=Immer [V]=Niemals
    Answering with Y, A or V does not work. The accepted answers appear to be
    [J]=Ja [N]=Nein =Immer [E]=Niemals
Sign In or Register to comment.