Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jozzi

Pages: [1]
1
Hi Geert,

thank you very much! I understood the idea and adapted it to my needs, and everything works as it should. I am very grateful to you. It helped me a lot. Have a nice day! Jozzi







2
Hi,

thank you for your response.

The intention is to achieve this using a "customer template" and "inserted templates" into "the customer template":

For each class, a table should be generated containing rows. Each row should have the attribute name and its tagged values in the columns (I know how to add TV to columns). The problem is that all attributes of class are being generated into a single row of the table (I need each row to correspond to an attribute).

I am afraid that scripting is currently outside my scope :(.

Thank you

Jozzi






3
Hi,

I have a diagram with several classes with attributes and tagged values on the attributes.

I need to generate documentation where each attribute is on a separate row of the table. The first column will contain the attribute name and the other columns will contain the TV values. Currently, all attributes are being generated into a single row of the table.

Unfortunately, I'm not very skilled at creating templates and I only know basic SQL. I tried to resolve the situation in the following way.

1) Basic template
Quote
diagram >
element >
< element
< diagram

element >

attribute >
<table>
  <tr>
    <th>Attribute (name of attribute)</th>
    <th>Type (type of attribute)</th>
    <th>Format (tagged value)</th>
    <th>Note (note of attribute</th>
  </tr>
  <tr>
    <td>{Template - a3_Class_Att_Name_API}</td>
    <td>template</td>
    <td>template</td>
    <td>template</td>
  </tr>
</table>         
< attribute
< element
< package


2) Template - a3_Class_Att_Name_API
Only the custom field "Name" base on this script (custom sql query):
Quote
select
      a.Name as Name
   from t_attribute a
      left join t_object o ON a.object_ID = o.object_ID
      left join t_attributetag at ON a.ID = at.ElementID
   where
      o.object_id =#OBJECTID#

Thank you very much for your help.


4
Hello, is there a possibility to sort the elements in the template according to Z-order on the diagram?

I have a template for use cases (without fragments). Everything works fine. But I would like to sort the UCs according to Z-order. Do you have any idea? It'll be a game-changer for me

Thank you. Jozzi

Pages: [1]