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 - danbosscher

Pages: [1]
1
General Board / Conditional Table Generation for Attributes
« on: February 12, 2015, 07:27:59 am »
I'm working on a document template where the properties of element attributes are displayed in a table format (separate table for each attribute). However, not every property that could be defined for each attribute is defined for every attribute, so I'm looking for a way to display each table with only the fields that will be defined.

My first idea was to set up a separate fragment for each field testing whether or not the field would be filled, similar to the following:

Select <Property> from t_attributes where <Property> is not NULL

This however ran into problems when two attributes have the same parent, as they would share the same Object_ID. The problem I kept running into was that all attributes that share a parent would end up in the same table.

I now have it working by defining a list of fragments each with a different possible set of fields defined and am able to get each attribute to then fall through to its appropriate table. However, this has me defining numerous version of the same table, requires more complicated SQL statements and is tedious and inefficient.

More or less, I'm wondering if anyone is aware of or can think of a better/more efficient way of accomplishing this

2
General Board / Table of Contents with Hyperlinks to Content
« on: August 29, 2014, 11:02:18 pm »
I've recently been working with the report generator to create pdf documents. I was wondering if there is any way to set up the generator such that a generated table of contents will contain hyperlinks to the referenced content (you click on Section 1 in the table of content and are brought straight to Section 1). I know that you can get this functionality with the generated bookmarks, but it would be convenient to have it in the table of content as well.

I'm using version 11 of EA.

Thanks much.

3
General Board / Re: Documentation Fragment Template - separated li
« on: September 04, 2014, 05:56:42 am »
Try

Label: [highlight]custom>[/highlight]{Name}, [highlight]<custom[/highlight]

Anything within a section (such as custom) should be repeated for each item. If it is the name of a recognized field enclosed in brackets {}, it will be replaced the current value for that field, otherwise it is treated as a literal.

I don't know what happens if there are no items, but placing Label before the beginning of the section will keep it from being generated more than once.

4
Bugs and Issues / Re: Document Generation Freezes - lists in Notes
« on: February 12, 2015, 06:13:11 am »
I think I've been experiencing the same problem or a similar one lately. If I import a template from a reference file and don't open it before generating a report with it, document generation freezes and I have to restart EA. As soon as I open the template everything works fine again.

I did not have a Requirement Notes section but I did have a Method Notes section also with a list.

I'm using 11.0.1107 Build 1107 on Windows 7 64-bit

Pages: [1]