|
DayNotez User Interface > Dialogs > Export > Export Templates > Names used with Entry Export
The following information is applicable when exporting DayNotez entries.
Macros
Macros are used to insert text from the current DayNotez entry or application. The format is as follows.
<macro name="xxxx"/>
The following macro names are supported.
| • | AudioCopy - Inserts the name of the voice memo file and makes a copy of the wave file in the export directory. Care should be used with this macro since the amount of space used by copies of the audio files can be very large. |
| • | EntryDate - Inserts the date of the current entry. |
| • | EntryTime - Inserts the time of the current entry. |
| • | CategoryName - Inserts the category name of the current entry. |
| • | Contact - Inserts the contact name from the current entry. |
| • | Count - Inserts the number of entries to be exported. |
| • | FilterName - Inserts the name of the filter. |
| • | FilterDesc - Inserts a description of the filter. |
| • | Id - Inserts the unique identifier of the current entry. |
| • | Note - Inserts the text of the current entry. |
| • | Now - Inserts the current date and time. |
| • | Photo - Inserts the current photo name. Used with the Photos repeat group. |
| • | PhotoCopy - Inserts the current photo name and makes a copy of the photo in the export directory. Used with the Photos repeat group. Care should be used with this macro since the amount of space used by copies of the photos can be very large. |
| • | Tag - Inserts the current tag. Used with the Tags repeat group. |
| • | Tags - Inserts the tags from the current entry. The tag names are separated by the character '|'. |
| • | Duration - Inserts the duration of the current entry. |
Repeat Groups
Repeat groups are used to repeat template export text for a given set of entities. The format is as follows.
<repeat name="xxxx"/> template text </repeat name="xxxx">
The following repeat groups are supported.
| • | Notes - Repeats the enclosed export template text for each entry being exported. |
| • | Tags - Repeats the enclosed export template text for each tag of the current entry. Should be used inside a Notes repeat group. |
| • | Photos - Repeats the enclosed export template text for each photo of the current entry. Should be used inside a Notes report group. |
Conditional Sections
Conditional sections are used to insert export template information only if a condition is true. The format is as follows.
<if name="xxxx"/> template text <else name="xxxx"/> else text </if name="xxxx">
The following conditional sections are supported.
| • | HasAudio - Inserts the enclosed template text if the current entry has a voice memo. |
| • | HasCategoryFilter - Inserts the enclosed template text if the a category filter is in use. |
| • | HasContact - Inserts the enclosed template text if the current entry has a contact name. |
| • | HasPhotos - Inserts the enclosed template text if the current entry has at least one photo. |
| • | HasTags - Inserts the enclosed template text if the current entry has at least one tag. |
| • | IsFiltered - Inserts the enclosed template text if there is a filter active. |
| • | IsFollowup - Inserts the enclosed template text if the current entry has the follow up flag. |
| • | IsPrivate - Inserts the enclosed template text if the current entry is marked private. |
| • | IsArchived - This conditional is only supported on desktop. |
|