PDA

View Full Version : Title expressions


Jon Polish
08-27-2015, 08:47 AM
I have created a template. I would like the title generated to be the name of the newly created item's parent and the date. My title expression is:

[Parent Title] || [Date Created]

There are two problems. First is that there is no space between the parent title and the date. I am sure this is due to my ignorance. The second is that when the template is used elsewhere in the tree, the result is this:

Templates2015-08-27 9:43 AM

This is the desired result:

HIPAA 2015-08-27 9:43 AM

What am I doing wrong?

Oh, and is there a way to suppress the display of time?

Thank you.

Jon

kinook
08-27-2015, 10:25 AM
To add a space, use

[Parent Title] || ' ' || [Date Created]

http://www.kinook.com/UltraRecall/Manual/custom_item_titles.htm

Parent Title currently displays the template's parent title rather than the item's parent title. I don't think it was anticipated that it would be used in an item title expression.

It's not possible to include only a date and not the time for a date+time attribute.

Jon Polish
08-27-2015, 11:05 AM
To add a space, use

[Parent Title] || ' ' || [Date Created]

http://www.kinook.com/UltraRecall/Manual/custom_item_titles.htm

Parent Title currently displays the template's parent title rather than the item's parent title. I don't think it was anticipated that it would be used in an item title expression.

It's not possible to include only a date and not the time for a date+time attribute.

1. Thank you for the explanation of how to create a space.

2. Why wouldn't a user want to have this in a template? It seems a natural use for title expressions, no? Why would I want to create a title expression outside of a template? It would be easier to just key in the desired title. The use of templates automates the process.

3. OK, I can live with this.

Thank you.

Jon

kinook
08-27-2015, 12:05 PM
2. Why wouldn't a user want to have this in a template? It seems a natural use for title expressions, no? Why would I want to create a title expression outside of a template? It would be easier to just key in the desired title. The use of templates automates the process.
Possibly, although the parent title is already shown in the Data Explorer and Item Parents panes. The main purpose of that attribute is for searching and displaying in the Related Items pane; attribute values from other items aren't supported in title expressions.

Jon Polish
08-27-2015, 12:42 PM
OK, I understand your point.

Jon