[CONNECT Update 16] Write a CONNECT Report for Tag data

I want to write a Report for tag data.  So far, so good...

Report Tags

That reports tag data, but not where they come from. We need to know what the tag belongs to, otherwise it's hard to make sense of the Report.

How do I include the ID of the host element (the element to which the tag is attached) in that report?

Parents
  • Hi Jon

    Does adding a Column picking up on Element ID work for you? 

    Simple Testcase:

    In the Report Definitions Properties, I selected the Object Types Ellipses,Lines,Shapes (elements with Tags attached in the design) to be reported on and added the 'Tag Instances'  as related object.

      

    Then added a column 'Element ID' picking up on Elements > Raw Data > Element ID

    Previewed Report


    Regards

    Carl Myhill

    Technical Support Engineer

    Bentley Systems

        

  • In the Report Definitions Properties, I selected the Object Types Ellipses,Lines,Shapes (elements with Tags attached in the design) to be reported on and added the 'Tag Instances'  as related object

    Thanks: that almost works.  Using your suggestion I can create this Report...

    Tag Report

    That shows the host element ID but the value of only one tag instance (each host has 2 tags attached: tag01 and tag02).  How do I instruct the Report to show all tag instances attached to a host element?


    Looking forward to the next level of difficulty, what happens when we have more than one Tag Set attached to an element?  Can we filter the Report results using the Tag Set name?

     
    Regards, Jon Summers
    LA Solutions

  • Your observation is right, Jon. 

    If I do, Element to Tag instances, I see just one record. And, if I do Tag Instance to Element report, I don't get the ID of the host element at all. Looks like it's a bug. Can you please try out a similar situation with ItemTypes? 

    Is there any specific scenario you are trying with tags? Can you try to use ItemTypes there?

    Thanks,

    Mangesh


    This is a test

  • Is there any specific scenario you are trying with tags?

    On another thread, someone commented that the existing (legacy) tag reporting mechanism is (a) hard to use (b) not Excel-compatible. If we can write a 21st century Report for tags, we have a great result!

    As requests come up for Report requirements, I add them to our Reports step-by-step page.

    Can you try to use ItemTypes there?

    I can create a Report for Item Types that shows the host element ID...

    AreaAnnotator Report

     
    Regards, Jon Summers
    LA Solutions

Reply Children