I have been wondering if it’s possible to do a compare of two FOB files and see what has been changed. And of cause it’s possible. But I’m not a binary geek and I really want to see the same result as if you where comparing two text files.
So what I’m actually asking is: Is it possible to extract the source text from the FOB file?
Maybe not directly, but somehow in “smart” way?
Alternatively is there a way where I can “read” the source code of an object automatically into a different object? I’m thinking this is sort of what is being done in CodeGenius?
I know I maybe have a bit too much time available right now to ask this, but I was just thinking that this could be cool!
Can you explain a little bit more about your second question?
What I did in one of my objects was that I’m reading the binary (BLOB) from an object, change it and write it back so it behaves differently after this.
Reason for this is to call a “Form.RUN(RecRef)” or “Report.RUN(RecRef)” which is usually not possible in NAV.
Our good old member Søren Nielsen has here created a function that sort of reads the text. But it’s in a separate program. I would like to see it in a automation class control where can use it directly from within.
Erik is currently testing an automation version of the the cool tool which the good old member Søren Nielsen has created.
As soon as these tests are finshed successfully we will publish the results to enable everybody to read/save and compile NAV objects in text format from within C/AL code.
Hi Thomas,
Yes I am. And right now it’s looking great. I just need to get a bit better understanding for working with streams… (got any tips for great links regarding streams)?