Driver Not being captured

ken 7 years ago

When I enter the ibutton its captured all works good but when doing the reports trips the driver is always empty can someone help please

Anton Tananaev 7 years ago

Try to configure attribute copying for driver id.

ken 7 years ago

Like this?

<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>driverid</entry>
Anton Tananaev 7 years ago

I think the key should be "driverUniqueId".

ken 7 years ago

I added to traccar.xml

<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>driverUniqueId</entry>

and generated the report again but still empty

Anton Tananaev 7 years ago

I think you misunderstood how it works. It only works for new data.

ken 7 years ago

Ok Thanks

ken 7 years ago

Worked Perfect Thanks

ken 7 years ago

Quick question do also display the driver when i export to excel is that an option also is it possible to hide the key and display the driver name

Thanks

wolfbg 7 years ago

Ken: via Computed Attributes you can change ID to driver name. In Exel it will show driverUniqueId=Smith
Anton Tananaev: why driverChanged is not associated with position coordinates - Longitude/Latitude or address?

ken 7 years ago

Hi Wolf driver uses ibutton its not associated with position coordinates the problem with excel is when i export the report the driver column is not showing also do you know how to set the attribute. One last thing can i create an attribute if drivers identification id is not in the system it will issue a warning.

Thanks

wolfbg 7 years ago

driverUniqueId == "123456789" ? "Smith":
null
This works for me.

ken 7 years ago

You will need to do all drivers like this is there a way to set as default

ken 7 years ago

Is there guide with attributes how they work or something that will show me what i can use

ken 7 years ago

Is it possible that if the ibutton is not associated with the driver an notification is shown / sent ?