Hi, i've tested the new C/Front.dll for NAV 5.01 (5.00 SP1) and i saw there 2 new nice functions.
The first nice is
ExportFOB()
the second one is
ImportFOB()
With both you can export / import binary files.
So, for example with
CFrontDotNet.Instance.ExportFOB("Drive:\\Folder\\YourExportFobFile.fob","WHERE(Type=CONST(Form),ID=FILTER(10..15))");
you can export all objects (in the example form 10..15) to your specific folder.
With
NavisionImportMode ImportMode;
ImportMode = NavisionImportMode.Overwrite;
CFrontDotNet.Instance.ImportFOB("Drive:\\Folder\\YourExportFobFile.fob",ImportMode);
you import the objects.
The return value of ExportFob is Void. But ImportFob return a String with the imported objects.
Regards
Comments
My guess they have added that for LS Retail Object replication feature they have to replicate objects to Stores.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
What is the version of your CfrontDotNet.DLL ?
Mine is version 5.0.24199 and it don't seem to have these Import/export functions
Best regards
Peter