Skip to content

Cross-Reference short-hand for Additional Attributes #9152

@tkapias

Description

@tkapias

Summary

Currently the Cross-Reference short-hand syntax does not provide a way search an entry by UUID and to select its Additional Attribute by name.

Current documentation: Entry Cross-Reference.

Examples

I propose to add one more field in the short-hand to allow searching for a title in the Additional Attributes. Example: {REF:O:addattribute1@I:033054D445C648C59092CC1D661B1B71}

It would return the content of the Additional Attribute.

Example of documentation updated:

#Entry Cross-Reference

- A reference to another entry’s field is possible using the short-hand syntax: `{REF:<FIELD>:<SEARCH_TITLE>@<SEARCH_IN>:<SEARCH_TEXT>}`

- `<FIELD>` and `<SEARCH_IN>` can be one of following:

    * T - Title

    * U - Username

    * P - Password

    * A - URL

    * N - Notes

    * I - UUID (found on entry properties page)

    * O - Custom Attribute (SEARCH_IN and SEARCH_TITLE only)

## Examples:
`{REF:U@I:033054D445C648C59092CC1D661B1B71}`
`{REF:O:addattribute1@I:033054D445C648C59092CC1D661B1B71}`
`{REF:P@T:Other Entry}`
`{REF:A@O:Attribute 1}`

Context

I use Python-Keyring to fetch passwords or tokens from the command line or from some scripts through the Secret Service Agent. And I link the Secret Service entries to the original entry with Cross-References.
Sometimes I have multiple tokens for a user inside the same entry. I would like to Cross-Reference the Additional Attributes for those.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions