Products

Home Forums eaDocX queries Related Attributes

Home Forums eaDocX queries Related Attributes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6928

    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

    #6929
    eadocX Support
    Participant

    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…:-)

    #6930

    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

    #6931
    eadocX Support
    Participant

    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.

Viewing 4 posts - 1 through 4 (of 4 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