How can I query all the fixlets action scripts in a site containing one word?
Add to that question. I need to know what fixlets are using a particular logic in it. There is a key word I’m going to look for.
(id of it, name of it) of fixlets whose( script of it contains “something”) of all bes sites
Can’t quite figure out how to get that to work
This topic has a working example.
I have something I should be able to post tomorrow. I built a custom dashboard in my console to search for a string in the Title, Relevance, or Action Script for all sites. I should be able to pull the session relevance out of that.
Control— menu - tools – create custom filter
(id of it, name of it) of bes fixlets whose( script of action of it contains “something”)
Thanks for doing a more thorough search for me @gearoid
Here’s the excerpt from my dashboard. You’ll probably need to do some formatting; I have this evaluating in JavaScript, and then I use JavaScript to build an HTML table from the resulting arrays. This returns the ID, Link, Type, Site Name, and the line containing the matching string.
/* Header Row */
(
b of "ID" as html,
b of "Link" as html,
b of "Type" as html,
b of "Site Name",
b of "Content" as html);
/*Result Rows - must match data type of Header Row so cast "as html" */
((id of item 0 of it as string as html),
link of item 0 of it,
type of item 0 of it as html ,
name of site of item 0 of it as html,
item 1 of it as html)
of (it, concatenation of ps of (
("Name:" & it) of names of it;
("Relevance:" & it) of relevance clauses of it;
("Script:" & it) of substrings separated by "%0a" of scripts of actions of it;
(
("Baseline Component Name: [" & id of it as string & "]: " & name of it);
("Baseline Component Script [" & id of item 0 of it as string & "]: " & item 1 of it) of (it, substrings separated by "%0a" of scripts of actions of it);
("Baseline Component Relevance [" & id of item 0 of it as string & "]: " & item 1 of it) of (it, relevances of it)
) of components of component groups of it
) whose
(it as string as lowercase contains "Search Term Here" as lowercase))
whose (item 1 of it as string !="") of
fixlets of all bes sites