NR

Hi all,

I am trying to use a value obtained in a report later in a macro, is it possible to have some global variable or an alternative which would allow me to reuse that value ? Basically i need Obj Def Attribute values in the macro, which can only be fetched in the report.

And also, is it possible to customize tooltips of objects in a model ?

by Cristian Franzin
Posted on Wed, 10/27/2010 - 23:46

1. To reuse data from macro between macro and report

In macro:

reportInfo = Report.createExecInfo(.....

reportInfo.setProperty("Data","")

result = Report.execute(reportInfo, false);

result.getProperty("Data")

 In report:

Context.setProperty("Data", "SomeData");

2. I don't think it's possible... I don't know

 

best regards,

0
by Nitin Rao Author
Posted on Fri, 10/29/2010 - 08:31

thanks, ill check it out.

0
by Nitin Rao Author
Posted on Wed, 11/03/2010 - 13:39

it works great! but the problem is everything is passed as a String. If i want to pass like an Object Occurence Array, it is passed as a String, and im not able to use this in any method in the macro.

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CP
  • BZ
  • Profile picture for user TEF_Bernd
  • ПЦ
  • CR
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock