On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Create and use of JS functions

Said
Said Junior Member
edited 2020 23 in DevShare Downloads #1
Define any js function in the initialize like:function myFunction(str){dosomething;}reportContext.setPersistentGlobalVariable("myFunction",myFunction);To use this function in script or in expressions just call:myFunction("str");