Combine table column or row content with predefined string and interpret as path link
I am developing an internal information system within our engineering group. The ACL feature of Moinmoin is perfect for adding suitable levels of control to pages containing Policies and Procedures.
However another side of the system is to provide project and index pages with access to external data which all users will be modifiying - I want to make that process simple and accurate. Pathnames in a table column or row become repetitous and difficult to manage. Like many engineering organisations (and other types I expect) we arrange data in a logically structured maneer based on a drawing number or like key. A typical file structure could be:
- drive/document/directorydrawing/drawing1
- drive/document/directorydrawing/drawing2
- drive/document/directorydrawing/drawing3
- etc
I'd like to define a path as 'drive/document/directorydrawing' somewhere then set up a table where a column (or perhaps row) is define as a path based on the cell contents being added to the defined path:
Item |
Number and Link |
Description |
A |
Drawing1 |
Document or directory etc per path Drawing1 |
B |
Drawing2 |
Document or directory etc per path Drawing1 |
C |
Drawing3 |
Document or directory etc per path Drawing1 |
I imagine the table header would somehow identify this as a special table type, identify the relevant predefined path variable(s) applicable to the table and the column (or perhaps row) to be interpreted as the concatenated path.
I think if the destination is a file then it makes sense that the cell content contains the extension eg Drawing2.pdf, and is similarly displayed as in the table. If the destination is a directory (such as might open a windows explorer window) then no extension would be present.
Thanks in advance for your consideration of this request/suggestion.