Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Using standard JavaScript methods in BIRT
Rin
Hi,<br />
<br />
I'm trying to use some standard JavaScript methods like <span style='color: #0000FF'>string.replace(\RegExp\," ") </span>in beforeOpen event of a dataset, but it seems those standard JavaScript methods are not supported by BIRT. Since the code after the first call of a standard JavaScript methods never be reached.<br />
<br />
Shall I use some <span style='color: #0000FF'>import</span> statement before I call the standard JavaScript methods please?<br />
<br />
Thanks in advance
Find more posts tagged with
Comments
mwilliams
Nope. No need to use an import statement for that. If you look in the palette while in a script method, you can see the native javascript functions that are supported in BIRT. replace() is one of them.
Rin
Hello Michael,
I looked into the palette, and picked up some methods, now it's working greatly.
Thanks for your help