Products

Home Forums eaDocX queries Tagged value printing too much info?

Home Forums eaDocX queries Tagged value printing too much info?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #8206
    Ken Norcross
    Participant

    Hi,

    I am not sure when this started but now we have tagged values that print “extra” information.

    The actual value first prints followed by a “:”, and then a label of ” Default:” followed by the default value for the tag. All of this prints in bold.

    These are tags that use the Tagged Value Types in Sparx:

    http://www.sparxsystems.com/enterprise_architect_user_guide/12/extending_uml_models/predefinedtaggedvaluetypes.html

    These tags are bundled in a profile packaged in a custom MDG, and we use “default” values, which show up as the extra information in the eaDocX output.

    We have been using these tags since we started with eaDocX, and we upgraded to Sparx V12 and eaDocX v3.5.5.0 a few months back. I didn’t notice anything at the time we upgraded, but I have not been generating much in the last few months so I can’t be sure if this problem was present right after the upgrade. I just noticed this issue yesterday.

    So for example for a tag that is typed as Boolean (a sparx pre-defined tag value type) what prints is:

    True: Default: False

    I am trying to work up a simple example that demonstrates the problem, without recreating our MDG, but can you see anything in your code that could cause this?

    #8208
    eadocX Support
    Participant

    We added the function quite a while back to print the ‘description’ field which Sparx have added to Tagged Values..
    ..but.
    in release (3.6.2.7) we have stopped doing this by default. There is now a setting In Repository Settings called ‘Print tagged value with notes’ which we default to ‘false’. This is makes the TV print with its notes.
    So, if you install the latest version, the TV notes should not print.
    Quite WHY a TV has its own notes, and no other Sparx attributes do, is not clear to me!

    #8209
    Ken Norcross
    Participant

    I am still working on getting access here to upgrade from 3.5.5.0, it may take a while longer. I don’t think this text would come from the tag value description.

    I have constructed a simple example that demonstrates the issue.

    I am attaching a file with a test custom tag and a test custom profile.

    Here are the instructions to recreate the problem:

    • This reply was modified 8 years, 10 months ago by Ken Norcross.
    #8211
    Ken Norcross
    Participant

    Trying one more time to upload the files…

    • This reply was modified 8 years, 10 months ago by Ken Norcross.
    #8213
    Ken Norcross
    Participant

    New instructions to recreate the issue…

    – import the custom tag as reference data

    • Project>>Data Management>>Import Reference Data…
    • file “TestTagValueTypeReferenceDataExport.xml”

    – install the custom profile that uses the custom tag

    • open the resources window View>>Resources
    • right click on the UML Profiles folder and import the test profile package “TestProfilePackage.xml”

    – create a model using the stereotype in the test profile

    • add a Class element to a diagram
    • set the stereotype to <> from the profile called “TestProfilePackage”
    • click OK as needed to close the property dialog

    – the Class element in your model should now have a new tab available in the profile dialog down where you see the Tags tab

    – the custom test tag called “TestTagValueType” should be visible on this new tab, set the value to True (not really needed)

    – create an eaDocX document that prints this element
    – print the stereotype as a table with two columns, name and the test tag

    I will include the contents of the custom tag reference data file and the custom profile file in further posts below…

    • This reply was modified 8 years, 10 months ago by Ken Norcross.
    #8215
    Ken Norcross
    Participant

    This the the content for the custom tag reference data file, save the xml text below in a file to import it into Sparx.(TestTagValueTypeReferenceDataExport.xml)

    ——————————————-







    ——————————————-

    • This reply was modified 8 years, 10 months ago by Ken Norcross.
    #8217
    Ken Norcross
    Participant

    This the the content for the custom profile. Save the xml text below in a file and import into Sparx. (TestProfilePackage.xml)

    ————————————-

















    ——————————————–

    #8218
    eadocX Support
    Participant

    This really is fixed in 3.6 – if you can find a way to use this version, i’m sure you’ll find this issue has gone away

    #8219
    Ken Norcross
    Participant

    Thanks, we are working on getting access to upgrade, I will let you know the result. This may take a few days.

    #8220
    Ken Norcross
    Participant

    I just upgraded to 3.2.6.7 and as you predicted the Tag Value issue is gone. Thanks!

    But now I have the “Error generating document” issue mentioned in the other thread (missing method error).

    I will go through some of the suggestions there to see if I can fix that.

    I am using EA V12.0.1211 and would have similar organizational issues for upgrading that to the latest of 1215, so hopefully there is a different fix that will work for me.

    #8221
    Ken Norcross
    Participant

    Upgraded eaDocX to v3.6.2.7 and Sparx to V12.0.1215 and everything is back to normal, thanks!

    #8222
    eadocX Support
    Participant

    Phew!

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download