Book a Demo

Author Topic: Tagged Value Type Format  (Read 3708 times)

namealreadytaken

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Tagged Value Type Format
« on: December 14, 2018, 09:58:54 am »
Greetings,

I'd like to create a custom tag value checklist, to associate a requirement too multiple user groups; in most instances, the value will be "All". Other instances may involve one or multiple groups; user checks accordingly.

Is it possible to assign a default value to a checklist by adding the "default=" to the Type=Checklist syntax?

If not, what other options are there to track the requirement to one or more groups.

Thanks for your response,
Chris

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tagged Value Type Format
« Reply #1 on: December 14, 2018, 11:59:55 am »
"Warning, Warning, Will Robinson!"

When we say checklist we normally mean a "multi-option list" where one can optionally select a number of the options - from zero to all.

However, a Sparx Tag of type Checklist is truly a Checklist: a list of items, like names or tasks, for comparison, verification, or other checking purposes.  You check the items off as you go through the process.

So it can't be used for the purposes you are intending.  There also are usage issues with the type as defined, which you should be able to find with a search of the forum.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

namealreadytaken

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Tagged Value Type Format
« Reply #2 on: December 15, 2018, 09:43:05 am »
Thanks, Paolo for your response.

If I create the tag value checklist, can the defined options be populated from a CSV Import?

For example, in EA I add a tag type checklist named "Group Options" with the values: All, Group 1, Group 2;

In the CSV specification file, column heading = TagValue_Group Options. Values in the rows = above-mentioned options.

Does the row value check the applicable box in the defined checklist or is a CSV strictly a text format (i.e, In EA a label is created, Group Options, value = row entry.

Cheers,
Chris

 

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tagged Value Type Format
« Reply #3 on: December 15, 2018, 01:30:19 pm »
Thanks, Paolo for your response.

If I create the tag value checklist, can the defined options be populated from a CSV Import?

For example, in EA I add a tag type checklist named "Group Options" with the values: All, Group 1, Group 2;

In the CSV specification file, column heading = TagValue_Group Options. Values in the rows = above-mentioned options.

Does the row value check the applicable box in the defined checklist or is a CSV strictly a text format (i.e, In EA a label is created, Group Options, value = row entry.

Cheers,
Chris
It's pretty much strictly a text format.  If you searched the forum you'll see it's a while since I gave up on the Checklist.  Not that it's wrong (well, yes, there are issues with it as I noted at the time); it just didn't suit my needs.  But you should have a look in the t_objectproperties table to see what EA does with it these days.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!