It's all about the answers!

Ask a question

How to store per month data in RTC Work item?


Dhanya Saseendran (8821121) | asked Jan 25 '16, 12:02 a.m.
Hi,
We want to have an easy way to store a 12 month data for 3 years and after three years an easier for this to be extended to more years.
Below shown is how currently we are storing the data in the Quarterly manner. But there is a requirement to change it to monthly storage. Rather than creating new fields for each month for three years, for planned and realized, can anyone suggest a simplified method with arrays or so.. ?



Thanks
Dhanya

One answer



permanent link
Ralph Schoon (60.5k33643) | answered Jan 25 '16, 2:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is no array data type. It would potentially be possible to store the data encoded in a string attribute and to create a custom presentation that allows seeing and setting it.

Comments
Dhanya Saseendran commented Jan 25 '16, 10:00 a.m.

hi Ralph,

Could you please elaborate on creation of the custom presentation part?

Thanks
Dhanya


Ralph Schoon commented Jan 25 '16, 10:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I haven't done it and would consider it too expensive. Here is a link: Custom Editor Presentations. If you want to really try this, start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/

Your answer


Register or to post your answer.