- This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › eaDocX queries › Related Attributes
Home › Forums › eaDocX queries › Related Attributes
Hi
Is it possible to output a list of attributes for related elements as newline separated rather than comma separated?
I am attempting to output this list as column in a table of elements
Looked through the options but cannot find a setting there
Cheers
If I understood correctly, you’re creating a table, one line per element, then in one cell printing an attribute of (some) related elements.
I’ve just tried this, and in a table it prints as a newline-separated list. If printed Inline, the lists will be comma separated.
…so I guess I don’t understand your question…:-)
Thanks for the reply. This is what I get in a table cell for the Description field of a set of related elements
All enquiries from staff, e.g. specialists, must go through the archives team, which has a limited number of staff.,
The process involved in providing an electronic copy of the required paper artefact is lengthy and time-consuming (see P5).,
Given that the current artefacts are either in paper or microfilm format, these need to be converted to an electronic format before the query can be responded to. This is achieved via standard office photocopier hardware, which is not ideally suited to, for example, scanning microfilm to a PDF file.
These are the descriptions of three related elements.
There indeed is a newline between each description, but there also appears to be an extra comma at the end of each description.
What I hoped to be able to output in a table cell is the following
All enquiries from staff, e.g. specialists, must go through the archives team, which has a limited number of staff.
The process involved in providing an electronic copy of the required paper artefact is lengthy and time-consuming (see P5).
Given that the current artefacts are either in paper or microfilm format, these need to be converted to an electronic format before the query can be responded to. This is achieved via standard office photocopier hardware, which is not ideally suited to, for example, scanning microfilm to a PDF file.
Which is a lot easier to read in the document.
Hope this clarifies my question
Thanks a lot
Ah – I see.
I designed it this way to look good when printing a short attribute value from each of the related elements. Then, a comma and a CR look sensible. In your case, it clearly doesn’t! Looks like you need a CR, LF, and no comma.
eaDocX does have an internal switch to determine which separator to use: CR+Comma for tables, just comma for Inline, but this isn’t a user setting.
If it was, it would be a document-wide or even an application-wide setting, and it would be hard to make it specific to each element type/stereotype.
The net of which is, I’m afraid I can’t offer any help…
…at least until 3.4, when you’ll be able to define you own EA Script to print that element type/stereotype, and then it’ll work just as you want.
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