Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RRDNG (RM) PUB how printModuleBook.dta can create drop down selection for external variables in wizard?

Hi

in PUB templates we can use external variables that can be used also with the RRDNG  (in DNG)
The wizard also uses the parameters in description.

For example in printModuleBook.dta the external variable:
showComments
Include Comments(type:boolean)
will create a checkbox

But there is also a drop down choice:


How is this created?

in printModuleBook.dta 2 variables are defined:
showEmbedMinimized,showEmbedMinimized
but the descriptions are for boolen attribute: 
Show Embedded Artifacts Minimized (type:boolean)
(I would expect some sort of enumeration)

Actually I was not able to find and exact match for what appears in the wizard (even searching in the XML of the template)
Is this a very specific behaviour created only for this use case?

Has somebody been able to create a custom drop doen for the wizard?
Any help will be appriciated

Best regards
Luca





0 votes

Comments

This is additional logic added by DOORS Next development team. Pls check this page and see if this helps you https://jazz.net/wiki/bin/view/Main/RRCCustomRRDGReportsConfigurations.



One answer

Permanent link
You're correct - the DNG report wizard is displaying the drop down and setting the two boolean variables under the covers.

If this were using Configuration Metadata for the variable then you could provide an XPath expression for the values and what to display and it would create a drop down during generation, but I can't find anywhere they are doing this in the template for the example above

0 votes

Comments

Hi Davyd were you able to do this?

Can you pls give me a starting point for using the XPath expression? (I've seen the metadadata configuration only in RTC and ETM with a dynamic link)
Thank You
Luca

Yeah, it's not really going to work for a simple list of string values I don't think - but in your template you right click on the variable in the right hand panel, and choose Edit Configuration Metadata...

You would somehow need to set up and define a new data source to feed the values in - you could potentially try creating an XML file and connecting that as your data source, but then you'd need to make that available on a server to download. Quite complex for a single drop down

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,132

Question asked: Nov 26 '24, 12:51 p.m.

Question was seen: 310 times

Last updated: Dec 02 '24, 5:26 p.m.

Related questions
Confirmation Cancel Confirm