Book a Demo

Author Topic: Reporting on items within checklist tagged values?  (Read 4604 times)

CraigCullen

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Reporting on items within checklist tagged values?
« on: July 30, 2016, 01:21:48 am »
Can anybody help me to find a way of displaying the individually ticked items within a Checklist tagged value when generating documentation?
I see in the Predefined Structured Types webpage (http://sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/predefinedtaggedvaluetypes.html) it says in regard to Checklists "Whilst the element Tagged Value compartment and the Tagged Value window fields display the values 'Complete' or 'Incomplete', document and web reports will show the list of checklist items and the status of each (True for selected, False for unselected).".  However, for me this does not happen.
I have a template using the "Element.valueOf" field to display the contents of tagged values, but when I generate documentation it still just shows each Checklist as either Complete or Incomplete.
Thanks.

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: Reporting on items within checklist tagged values?
« Reply #1 on: January 17, 2020, 06:17:09 pm »
Hello with regard to below question: if I run a custom SQL query (My searches) for a Checklist type tagged value by querying t_objectproperties.Value, I get a string showing 0s or 1s (to show the unchecked/checked boxes), but I cannot show the names of the checked boxes.  Ideally I would like my query to return a string of the names of the checklist boxes that have been checked.  Any ideas?

Can anybody help me to find a way of displaying the individually ticked items within a Checklist tagged value when generating documentation?
I see in the Predefined Structured Types webpage (http://sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/predefinedtaggedvaluetypes.html) it says in regard to Checklists "Whilst the element Tagged Value compartment and the Tagged Value window fields display the values 'Complete' or 'Incomplete', document and web reports will show the list of checklist items and the status of each (True for selected, False for unselected).".  However, for me this does not happen.
I have a template using the "Element.valueOf" field to display the contents of tagged values, but when I generate documentation it still just shows each Checklist as either Complete or Incomplete.
Thanks.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reporting on items within checklist tagged values?
« Reply #2 on: January 17, 2020, 08:52:21 pm »
If the tagged value is defined in the model you can find the info.

If however the tagged value is part of a UML profile, defined in an MDG (the recommended way) then the different values are stored only in the MDG technology.

I don't see much other choice then to hardcode them in your query or script.

Geert