Import Objects with C/FRONT.dll (>= NAV 5.01)

garak
Member Posts: 3,263
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
With both you can export / import binary files.
So, for example with
you can export all objects (in the example form 10..15) to your specific folder.
With
you import the objects.
The return value of ExportFob is Void. But ImportFob return a String with the imported objects.
Regards
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
Do you make it right, it works too!
0
Comments
-
It would be nice if had ExportObjectAsText.
My guess they have added that for LS Retail Object replication feature they have to replicate objects to Stores.0 -
yes but i can also transfer the blob to the object table and NAV creates the objects (tables incl. SIFT tables) self.Do you make it right, it works too!0
-
Right, but it's not supported.0
-
Hi
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
Peter0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions