BLOB Format

Borislav_Popov
Member Posts: 14
Does anyone know the format of the Binary Long Object used in NF ?
0
Comments
-
As the name says: it is binary information. You can import whatever object you want (*.doc, *.gif, *.zip). It really doesn't matter.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
A BLOB is data, FOB files do not contain data, they contain control objects. BLOBs are imported and exposted using the
commands:
[ImportName :=] := BLOB.IMPORT([Name [, CommonDialog]])
[ExportName :=] := BLOB.EXPORT([Name [, CommonDialog]])-jp0 -
I think Borislav wants to import NF-objects, directly into the object-table.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Thank You Luc. That's right, though not only import but construct them. There is no problem with importing them. What I really need is a tool that creates a *.fob file from a TXT file containing C/AL code. A Pseudo-Compiler. I doubt in the existence of such a tool so I need the format of FOB files.0
-
10x for Your reply. ok <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" /> wrong question i suppose. What i really need is the format of *.FOB but without the header. So i can construct a *.fob file and import it in a BLOB in the Object table.0
-
The only tool that compiles C/AL code into objects is in Navision Financials. For an end user, it requires the purchase of a license with the appropriate design granules.
Creating or modifying objects by any other means would be a direct violation of the end user's license. Not to mention the opportunity for corrupting or otherwise invalidating the accounting data stored in the database.-jp0 -
I think it's virtually impossible to compile standalone object, because all objects that are referenced must be available for compiler to do the checking (say, definitions of tables that are used, and so on...)0
-
I don't think that good idea is to create obj compiler.
1.NF will not give any support in this, in case if your compiler N times will better, too !
2.NF changing obj in every next version, you will not be able follow changes.
The best thing that you can do, create txt file & import/ compile them using NF compiler. I hope NF latests versions a copatible with older <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />
If you need to automatic there no solution known by me.
Anybody know how call compiler func from C/AL ?
In future NF plans are making a new compiler. I don't know how far they will try to go & how many years it takes. I hope C/AL will look less than 5 years antique.0 -
If you really want, you could export an object (directly from Objects table), finger it a bit and import it back. If you need to change only some key features, it will work. Using this approach, I was able to create an "universal form" what can display 2 fields (usually code + name) of any Navision table.0
-
Is there already a solution for:
1. automatic exporting objects in txt-format from C/AL?
2. Is it possible to get objects in txt-format via C/Front ?
best regards,
Jan0 -
If you need to dynamically create objects in the NF Database, you can create a text-file containg the C/AL Code. The structure of this format can be examined by exporting the existing objects in the database in text format.
Of course this requeres the corresponding licence permissions to do so!Regards
Pc0 -
to Pc
And how can you dynamically import the created txt format object ?
Urmas0 -
You can create a variable liek this
Name: Obj
Type: Record
Subtype: Object
With Obj do begin
Type := Type::Form;
Id := 50000;
....
BLOB.IMPORT(FilenameOfYourTextFile);
INSERT;
end;
The only thing you cannot do dynamically is to compile the object.
Regards
PcRegards
Pc0
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