6/20/2025 10:35:46 AM
|
|
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!
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.
|
|
|
|
Search/Grep over all released Architect Scripts?
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.
|
|
|
|
Re: Search/Grep over all released Architect Scripts?
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 |
|
|
| |
| |
|
Re: Search/Grep over all released Architect Scripts?
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.
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! |
|
|
|
Re: Search/Grep over all released Architect Scripts?
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.
|
|
|
|
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!
|
|
|
|
|
|
|
|