Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   Title expressions (https://www.kinook.com/Forum/showthread.php?t=5373)

Jon Polish 08-27-2015 08:47 AM

Title expressions
 
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/Ma...tem_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

Quote:

Originally Posted by kinook (Post 21194)
To add a space, use

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

http://www.kinook.com/UltraRecall/Ma...tem_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

Quote:

Originally Posted by Jon Polish (Post 21199)
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


All times are GMT -5. The time now is 07:41 AM.


Copyright © 1999-2023 Kinook Software, Inc.