Substitution Key ($-things) for Relation Type in Variable substitution available?

AIO64-5.1.6-1 - Windows 10

In the list of Families is a column for Relation type namend ‘Relationship’. In the window of Family this variable field is called ‘Type’.

Using $u[Relationship] or $u[Type] does not work for variable substitution. So, my question is if there is - like $j for Gramps ID for the marriage - a key in the set of marital variables for variable substitution of Type of Relationship.

The Substitution Values wiki doesn’t list Relationship or Type, but perhaps some clever users know some tricks?

I found a trick myself, but not an elegant one (in my opinion): in attributes one can define a key named for instance ‘Marital status’ and value ‘unmarried’. In fact you have to enter the Type twice, once as a variable and again as an attribute.
Maybe an idea for the next upgrade of Gramps to add Relation Type in the set of substitution keys?

1 Like

Glad you found something that works. Are you familiar with the Gramps bug tracker? You can make feature requests there too.

Yes, I know. Thanks for your commments

1 Like

Great! When you file the feature request on MantisBT, please link to this Discourse thread in the “Additional Information” section.

So although you will have to re-write the detailed suggestion for the implementation in the (Summary, Description and “Steps To Reproduce”) sections above, you won’t have to regurgitate the backgound reason for the request because that is already in this dicussion thread.

Done! I also added the wish to have substitution keys for all variables in the database.

  • 0013189: Creation of a Substitution Key for Marital Variable ‘Relationship Type’
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.