I do not now, but I think that it is missunderstanding. This is for exporting data, not objects. If I understand correctly, Phani is asking for how to export Navision objects (forms, reports, tables etc.), not data (records).
You can read the table of objects and you can export if a file the BLOB in which the object is. Also for importing this is possible. (At least I succesfully did this for version 3.??).
So for importing I had to create a new record (or GET the record) in table Object. I read the file in it and saved it. And it worked.
The negative was that I had to close and re-open the DB to have the new object available (I used a NAS that time, so I let the NAS restart).
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
You can export the a fob by exporting the BLOB reference in Object table.
Export to TXT seems impossible: you should follow Kine's solutions: sendkeys...
Yes, you can work with the binary data in the BLOB field of the Object table, but there is no warranty that you will not corrupt some object or that the database will be consistent. For example, what about exporting the BLOB, changing field type, importing the BLOB back - will be the field correctly retyped? Will be data from this field lost? What exporting, adding new field, working with it that it have some values, and after that, you will import the object into the BLOB back. Will Nav check that the data will be lost??? [-X
For your development it can be used, but not for LIVE db!
LS Retail does this for object replication. I haven't tested all the areas but it works fine. You can replicate the objects through copying the object records.
Ahmed Rashed Amini
Independent Consultant/Developer
I've laso developed with the object table and the Blob field. but in 1 of 5 tests it demaged my database ;-(
This was the first reason why now i use keystrokes. The oter reson is, u must export evry object seperate and store in filename or in seperate file the object infos (like Version List, modify, Date, time´, etc)
Ar3n, yes, but that's a bit more complicated than that. Basically there are three different products, LS Scheduler, LS Data Director and LS Retail. LS Data Director is built on top of Scheduler and that's the one that does object replication. AFAIK the connection is that if you buy both LS Retail and LS Scheduler then you get the DD for free, or something like that.
Have viewed the product demo. But havent seen exporting/importing of object its just marking. Maybe you just misunderstand the concept of their product. You can also create something like that via AllObj table.
There is one magic in Navision
Currently I'm investigating this feature... some reverse engineering.
As it seems for me there are some functions which even check fields changing for tables. And this functionality could be running without showing up import dialog. But still I can't handle this already two weeks...
I will try to watch how devtool works with open Navision (as somebody told here).
If I will find a solution, I will let know. Currently I see only two possible legal ways (SendKeys - not good, winApi messaging - better:))
If anybody has info on investigation of this possibility, please let me know.
Br,
Igor
Have viewed the product demo. But havent seen exporting/importing of object its just marking. Maybe you just misunderstand the concept of their product. You can also create something like that via AllObj table.
I was a developer in this project. The functions export/import is functions export/import really. [-X
Hello,
I think it won't be legal (license) if celenia product has such possibility w/o MS permission, or it's using some special features which were provided by MS to them.
Maybe Celenia representatives could show flash demo that it's working?:)
Also it could be decode/encode functionality for object table BLOB fields with import/export. But it must be like before import to object table there must be fob encoding, and for comparing fields changing there must be current blob decoding. And then FOB format must be compared. Then if FOB must be imported, it must be encoded back and imported. So I think it's too complex to handle this way and not too cheap to make such thing.
Maybe it makes sence who is who?:)
I think we could find out how it works ourselves on forum
There is RSA1 crypted object in blob, just need to find out how to decrypt it Then will be next step -> parse FOB for tracking table changing to prevent damage while importing.
Maybe somebody has ideas on RSA decryption?
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
ERASE('C:\XML_Customer.xml');
TestFile.CREATE('C:\XML_Customer.xml');
TestFile.CREATEOUTSTREAM(TestStream);
XMLPORT.EXPORT(50001,TestStream);
TestFile.CLOSE;
MESSAGE('xml customer Export Complete');
I do not now, but I think that it is missunderstanding. This is for exporting data, not objects. If I understand correctly, Phani is asking for how to export Navision objects (forms, reports, tables etc.), not data (records).
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
So for importing I had to create a new record (or GET the record) in table Object. I read the file in it and saved it. And it worked.
The negative was that I had to close and re-open the DB to have the new object available (I used a NAS that time, so I let the NAS restart).
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Export to TXT seems impossible: you should follow Kine's solutions: sendkeys...
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
For your development it can be used, but not for LIVE db!
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I've laso developed with the object table and the Blob field. but in 1 of 5 tests it demaged my database ;-(
This was the first reason why now i use keystrokes. The oter reson is, u must export evry object seperate and store in filename or in seperate file the object infos (like Version List, modify, Date, time´, etc)
regards
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Won't the table definition in the object table be different from SQL server's definition?
Sorry Kine, you don't right - it's possible. [-o<
Just look to Navision DevTool - this tool can to export an objects to open Navisions. How? ](*,)
Ok may be you right but I doubt in exists two different way for export/import NAV objects. One I see.
RIS Plus, LLC
Have viewed the product demo. But havent seen exporting/importing of object its just marking. Maybe you just misunderstand the concept of their product. You can also create something like that via AllObj table.
Currently I'm investigating this feature... some reverse engineering.
As it seems for me there are some functions which even check fields changing for tables. And this functionality could be running without showing up import dialog. But still I can't handle this already two weeks...
I will try to watch how devtool works with open Navision (as somebody told here).
If I will find a solution, I will let know. Currently I see only two possible legal ways (SendKeys - not good, winApi messaging - better:))
If anybody has info on investigation of this possibility, please let me know.
Br,
Igor
Ok. So where does this function can be found?
I think it won't be legal (license) if celenia product has such possibility w/o MS permission, or it's using some special features which were provided by MS to them.
Maybe Celenia representatives could show flash demo that it's working?:)
Also it could be decode/encode functionality for object table BLOB fields with import/export. But it must be like before import to object table there must be fob encoding, and for comparing fields changing there must be current blob decoding. And then FOB format must be compared. Then if FOB must be imported, it must be encoded back and imported. So I think it's too complex to handle this way and not too cheap to make such thing.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
I think we could find out how it works ourselves on forum
There is RSA1 crypted object in blob, just need to find out how to decrypt it Then will be next step -> parse FOB for tracking table changing to prevent damage while importing.
Maybe somebody has ideas on RSA decryption?
Come on man. Selfishness is not good to your personality, and not good to see in this forum.