SOTA Hunt Filename Bug

Multiple activations today. SOTA hunts in more than one. But when you activate the logs from the second activation, the SOTA hunt log is overwritten because the filename is not unique.
Minor issue but can we add something small to the filenames for SOTA hunt logs so they are unique for the operation?

Alan

Just looking at new templating features in March release, you could add {{first8 op.uuid}} to the filename as workaround for now.

Qsl thanks
Alan

I’d like to know a bit more of the logic behind the template settings:

At the moment I cannot work them out
e.g. the leading r? Is that a literal?
image

The > symbol?

How are the filename Templates interacting with the choice of compact versus non-compact file naming selections?

Alan

I’m adding, by default, a timestamp to the filename to make it more unique.

But M1SDH’s suggestion should work for now.

first.8 op.uuid comes back an error, op.uuid is fine but first.8 won’t work. Ideas?

it’s first8 NOT first.8
no decimal - the template instructions are correct the example threw me
Alan

Yup, the templates will need some documentation.

As of now, this file in the source code has some notes:

There’s also some brief text at the end of the Export Options Settings Screen.

Yes - and I assume the qso is accessible to the qso records, op is accessible to both filename and qso, but qso. is not accessible to a template filename.
Needs to be documented with lots of examples.
Alan

Indeed.

The templating system is rather powerful, and I’ll start using it in other places, like spotting messages for example.

The example displayed under the template entry,
image

doesn’t really marry with reality
image

Where is the “for” literal? and the callsign?

Alan

{{>OtherActivityName}} references an internal template with the default file names.

The comments on the file linked above explain a bit how it works.

And you can see the templates themselves in line #246

That particular template, OtherActivityName looks like

{{op.date}}{{#if log.includeTime}} {{op.startTime}}{{/if}} {{log.station}} for {{log.handlerShortName}}

(this includes the new timestamp to fix the issue for SOTA Hunted)