Export Object as TxT file via code in a function

PureHeart
Member Posts: 190
Hi All,
Does anyone know if it is possible to export an object as txt (like form,report...) from Navision using a function and not the Export from the Object Designer?
I know is possible to export the objecy as *.bin but I would like to export it as text to be able to edit it as the standard function.
Many Thanks
Does anyone know if it is possible to export an object as txt (like form,report...) from Navision using a function and not the Export from the Object Designer?
I know is possible to export the objecy as *.bin but I would like to export it as text to be able to edit it as the standard function.
Many Thanks
Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=1123
http://www.mibuso.com/dlinfo.asp?FileID=1123
0
Comments
-
sorry, the objects are stored and crypted in the BLOB of table object. To only way to export the objects via code is as binary.
So, if you need text, you must go the way to the object designer .... (per hand or per WSHShell.sendkey)
RegardsDo you make it right, it works too!0 -
I wish we could... :x0
-
There is only one way - SendKeys and smulate the keystrokes to open object designer, select the object, and run the Export function with filling in the path and enter...
It is possible, I did it in our company version control system... ;-)
Or you can use external application which will attach the nav client and use the standard functions to export the objects. See example from http://gotcal.com/0 -
MMMMMM!
there has to be a way to export the object not CRYPTED....
Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
Yes kine, i do it also in this way. But this, and the manuel way, is the only way.
@PureHeart: Note, that in some cases you must export more then one object. And someone you must export Table, Form, etc. in one file. So you must simulate, after selecting the objects in o-designer (Toggle Mark), press Button ALL, Marked only, Select all and then export as text
@kine:
nice link ..
regardsDo you make it right, it works too!0 -
kine wrote:See example from http://gotcal.com/
Thank you very much for this link! With it, I was inspired to write a DLL that exposes the Got C/AL's object access routines to *within* the NAV client. See: http://www.mibuso.com/dlinfo.asp?FileID=1012
So, now it is possible! \:D/JEREMY VYSKA
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"0 -
JDVyska wrote:kine wrote:See example from http://gotcal.com/
Thank you very much for this link! With it, I was inspired to write a DLL that exposes the Got C/AL's object access routines to *within* the NAV client. See: http://www.mibuso.com/dlinfo.asp?FileID=1012
So, now it is possible! \:D/
Anyway THANKS SO MUCH Søren Nielsen!!!!Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
Haha... great minds, eh? If yours does anything mine doesn't, we can always strike up a conversation about collaborating to enhance the DLL.JEREMY VYSKA
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"0 -
JDVyska wrote:Haha... great minds, eh? If yours does anything mine doesn't, we can always strike up a conversation about collaborating to enhance the DLL.
Great Minds yes hahaha
Well I think mine does exactly the same as yours my import function take as input also the object ID and No. so after having imported it, it does compile it....
I would say it's the only differenceWhy don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
I'm trying to make the DLL work with NAS! Any Ideas?
Let's do this Jeremy!Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230
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