getrefrecord still a valid feature to be used

Anubhav24
Mega Sage
Mega Sage

Hi All,

 

I am wondering if getreference with a callback function is still  a relevant feature which we can use or do we have something else or do we always need to use GlideAjax if we need some values from backend to frontend.

Also does it hampers the performance even if it is used in a callback function.

 

Thanks in advance.

1 ACCEPTED SOLUTION

Hi @Anubhav24 - Absolutely. GlideAjax is both recommended and best practice as per the Best Practice article directly on ServiceNow's developer site: 

 

https://developer.servicenow.com/dev.do#!/guides/utah/now-platform/tpb-guide/client_scripting_techni...

 

@Anubhav24 - To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.

 

Thanks, Robbie

View solution in original post

5 REPLIES 5

@Anubhav24 

That is correct.

 

Best Regards
Aman Kumar