The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Where is the code for functions in Jelly like "FilteredGlideRecord("kb_knowledge")?

Ptr1000
Giga Contributor

In attempting to better understand (and modify) some Jelly, I ran accross var kb = new "FilteredGlideRecord("kb_knowledge"); I would be good to see the code behind this but I have been unable to find it.

Any suggestions?

Pat

3 REPLIES 3

john_lamberta
Kilo Expert

FilteredGlideRecord seems to be an extension of GlideRecord.   The key difference is the addition of a method called "applyRowSecurity", which enforces ACLs on the query.   This functionality seems very similar to GlideRecordSecure, introduced in Calgary.   As for the actual code behind FilteredGlideRecord, that is not something that we have access to see, since it is part of the compiled code on ServiceNow's side of things.   Therefore, we can only infer the usage of it through examples like this one.



For answers to more questions like these, be sure to come out to fruDevCon'14 in October, the second annual ServiceNow developers conference, presented by Fruition Partners in Chicago.   Keep posted at fruitionpartners.com for more information, or visit our booth at K14.



----


JOHN LAMBERTA |   Senior Technical Consultant, Fruition Partners



fruitionpartners.com | ELEVATE SERVICE MANAGEMENT TO THE CLOUD


SERVICENOW MASTER SERVICES PARTNER


Proud to be a PLATINUM SPONSOR of ServiceNow's KNOWLEDGE14 Conference.


Join us in San Francisco, April 27 - May 1, Register now!


Ptr1000
Giga Contributor

Thanks John.   I was thinking the functionality was hidden, but we can only guess what other methods exist.   Pat


Marcus Fly
Tera Expert

Pat Romano,



FilteredGlideRecord is indeed just an extension of GlideRecord and has no other functionality behind it other than "applyRowSecurity".



Hope this helps