Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Off Topic Forums - General & Off Topic
Forum for off topic and general discussion. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General & Off Topic | New ThreadView:  Search:  
 Author  Thread: SLX and the BLOB
Steve Meyers
Posts: 11
 
SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 06 6:02 PM
fiogf49gjkf0d
Greetings,

I am aware of at least three tools to decode and document SLX BLOB, ExecuteSQL (In the Administrator), Database Documentor (QGate) and Electrician (JH3). However, I am an "under-the-hood" type of person and I REALLY want to know how these products "Decrypt" the BLOB's. I can parse most of them, but it is an incomplete picture. So, is there anyone out there willing to share?

Thanks,
Steve Meyers
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 06 9:22 PM
fiogf49gjkf0d
Steve,
To be honest.. no.. not in a public forum and probably not for free.

As one who has "decoded" the blobs (like JH3 - John and others), we use that knowledge to develop tools that we sell. It's just that simple. It took many.. many hours to uncover a lot of the internals and that knowledge is worth a bunch of bucks. As a BP I know you can certainly appreciate that.

Also AFAIK distribution of that knowledge would be against SalesLogix Licenses and (Partner) agreements.

--
rjl
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 2:58 AM
fiogf49gjkf0d
Hi RJ,

Aren't these fields’ standard SQL data fields that contain binary data that you can stream out in the same way you access an image from a database.
The process of extracting this data isn't SLX specific or are you talking about what you do with that data once you have read it?

Thanks
Duncan
[Reply][Quote]
Steve Meyers
Posts: 11
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 9:14 AM
fiogf49gjkf0d
RJ,

That is the response I expected, but it never hurts to ask. I guess I will hack at it

Steve
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 11:34 AM
fiogf49gjkf0d
I'd have to disagree. I've never seen any BP agreement that would be in violation by sharing *any* knowledge gained about SLX.

As far as sharing the info, that's what this site is all about .
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 12:18 PM
fiogf49gjkf0d
Hi Steve,

Each BLOB is different. Basically, the BLOBs in SLX are serialized Delphi classes. So, the serialized class for one BLOB would be different than a serialized BLOB for some other type.

The only one I've ever taken the time with is the Report plugin BLOB. The BLOB data for Report plugins appear to be a serialized class called "TCRWReportWrapper", which inherits from the Delphi TComponent, with the actual report file appended to the end. A serialized component will end with two conscutive null chars (the serialized component will not have two consecutive null chars internally). So, you could just read the BLOB look for the two consecutive null chars and then everything following write out to a file with an RPT extension and you'd have the report file. If you wanted to, you could also parse out details from the serialized object before the two consecutive null chars as well. Delphi's component streaming can get complicated and each BLOB type can be different to some extent and some of the binary representation of the serialized objects can be incomprehensible at times. But patience and you'll likely be able to figure out any of the ones you really need

The process is fairly simple to figure out the different BLOB types, although very tedious and can take some time. Start by writing the BLOB data out to a file and then use a good text editor (ie: something like TextPad, UltraEdit, etc - *not* something like Notepad) to start looking for patterns in the characters in the file to find the data you want. Then in code look for those patters to parse out the values.

Make sense?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 12:21 PM
fiogf49gjkf0d
BTW, I do have some C# code that extracts the report file out of the BLOB, and have written the same code in VBScript as well (which might take some additional time to locate since it is not something I've likely used since I originally wrote it a long time ago). I could post that if it would help.

-Ryan
[Reply][Quote]
Steve Meyers
Posts: 11
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 12:32 PM
fiogf49gjkf0d
Thanks Ryan. I appreciate the tip.
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 06 1:23 PM
fiogf49gjkf0d
The C# code alone would make a great article and VBScript included would be pretty sweet.
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: SLX and the BLOBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 06 3:03 AM
fiogf49gjkf0d
I have to agree with Ryan, the whole point of this site is to make it easy for people to use and develop in SalesLogix.
I've also extracted the blob data from the plug-in table to interrogate groups - this part is easy, however slicing the data to do something with it is more complex
--
Duncan
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 7:42:19 PM