Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Search/Grep over all released Architect Scripts?
Christopher Morley
Posts: 21
 
Search/Grep over all released Architect Scripts?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Sep 07 8:11 AM
I would like to do a search over all of our released Saleslogix Scripts without having to click-to-drill down in potentially hundreds of places.

I have a feeling there may have been a general assumption about overall security made years ago that is no longer the case, and I would like to perform a system-wide audit. The search string is very specific - a specific seccodeid, in fact.

Are custom scripts resident in their raw form on disk or in the database?

I'll figure it out anyway but I thought someone might know off the top of their head.

Thanks!
-Chris.
[Reply][Quote]
Ted Sturr
Posts: 78
 
Re: Search/Grep over all released Architect Scripts?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Sep 07 8:39 AM
They are stored within the database. In the past people have developed scripts to "rip" the scripts out of the database for doing searches. JH3 has a utility called Electrician that does searches for scripts within the system. Unfortunately John has disappeared and has not posted any updates to this software so it does not look into .net forms in 7.0 and I have had some unexpected results doing searches so I can not recommend this option any longer.

Ted
[Reply][Quote]
Christopher Morley
Posts: 21
 
Re: Search/Grep over all released Architect Scripts?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Sep 07 12:46 PM
Thank you Ted. I guess it is good that we are still on 6.x, and that the only .NET form we have added to it is the one I wrote.

-Chris.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Search/Grep over all released Architect Scripts?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Sep 07 3:05 PM
I have seen similar systems custom built by many people.
It isn't hard to do, you just need to spend some time properly parsing the Data Blob.
[Reply][Quote]
John H. Hedges
Posts: 62
 
Re: Search/Grep over all released Architect Scripts?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Sep 07 1:35 PM
Well, I haven't *completely* disappeared... I'm just keeping a "lower profile," so as to confound the papparazzi.

Quote:
Originally posted by Raul A. Chavez

It isn't hard to do, you just need to spend some time properly parsing the Data Blob.

That's true for script code, and some of the embedded properties of form controls, since that stuff is mostly stored in plain text within the BLOB. The product Ted was referring to...

http://www.jh3.com/software/electrician.htm

...actually opens up each BLOB, extracts the serialized objects, does the necessary Delphi/BDS deserialization, and will also deserialize most objects that are serialized within those - in other words, it deserializes recursively until everything (in theory, anyway) is human-readable... other than bitmaps, which it mostly ignores, since they're not really searchable to begin with.

That's the only way to determine the field-binding of most controls, I'm sorry to say. That's the piece of info people most often want to obtain - and unfortunately that part of it isn't so easy!
[Reply][Quote]
Christopher Morley
Posts: 21
 
Re: Search/Grep over all released Architect Scripts?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Sep 07 2:22 PM
papparazzi avoider!

Anyway, yes, I figured how to parse out the datablob last night to some extent however given your post John, I may still get Electrician.
I don't necessarily need field-binding at this point, I just need more searchability than I can get out of the Architect UI like specific plug-in names, timestamps, versions, authors, side-by-side with the actual script/form content, filtered and sorted in multiple ways (need SQL to do it).

-Chris.
[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 © 2025 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): 6/20/2025 2:59:10 PM