How can I filter the Body or Message property to just return the text after Rationale: and before Remediation so I just return Fixlet Name (text), Rationale (text)
( item 0 of it as string & “$x$” &
item 1 of it as string)
of (
(if (exists Name of it | false)
then (concatenations “%0A” of (Name of it as string))
else ("")),
(if (exists Body of it | false)
then (concatenations “%0A” of (Body of it as string))
else ("")))
of
bes fixlets
whose (
(name of site of it = “CIS Checklist for Windows 10”))
I’ve not tested this at all, but how about something like:
( item 0 of it as string & "$x$" &
(preceding text of first "Remediation" of following text of first "Rationale:" of it | it) of item 1 of it as string)
of (
(if (exists Name of it | false)
then (concatenations "%0A" of (Name of it as string))
else ("")),
(if (exists Body of it | false)
then (concatenations "%0A" of (Body of it as string))
else ("")))
of
bes fixlets
whose (
(name of site of it = "CIS Checklist for Windows 10"))
The formatting is unworkable with tabs, line breaks etc … is there a better way ?
( item 0 of it as string & “$x$” &
(preceding text of first “Remediation” of following text of first “Rationale:” of it | it) of item 1 of it as string & “$x$” &
item 2 of it as string )
of (
(if (exists Name of it | false)
then (concatenations “%0A” of (Name of it as string))
else ("")),
(if (exists Body of it | false)
then (concatenations “%0A” of (Body of it as string))
else ("")),
(if (exists Category of it | false)
then (concatenations “%0A” of (Category of it as string))
else ("")))
of
bes fixlets
whose (
(name of site of it = “CIS Checklist for Windows 10”))