Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT and MaximoDataSet (return data type in BIRT)
BIRT and MaximoDataSet [message #1800666] Fri, 04 January 2019 19:01
Anh Doan is currently offline Anh DoanFriend
Messages: 2
Registered: January 2019
Junior Member
Hello all,

I am a student, but i am super confused as to what data type the maximoDataSet.getString() returns. I am assuming it to be a string, but when i use string methods like split(), i get a Java Lang exception that says cannot perform string method on array.

So i go and use array methods like .join("") , and i get an exception.

methods that do work is .slice() , and access using array offset works, so it has to be an array. So figure lets join the array using .join("") then use javascript string methods like .split() , works great in chrome's browser console, but throws exception in BIRT....and i am totally lost.

I am trying to do is collect everything before the first "-"

//the sample string array is ['a','n','-','h']

1. maximoDataSet.getString("location").join("").split("-",1)

result i am expecting is : 'an'

Anyone have any idea what i am doing wrong in BIRT, but works in chrome's console?
Previous Topic:DataException: The new column name or alias...
Next Topic:Birt get resource path
Goto Forum:
  


Current Time: Tue Jul 16 16:06:59 GMT 2019

Powered by FUDForum. Page generated in 0.02575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top