File integration can't find .txt file
Hi,
I just add an integration file on my BarTender 2021 R9 Enterprise server.
1. Looking in a specific directory for a .txt file
2. Delete it
3. Print a label with database = .txt file
With integration OFF, I can paste my .txt file in my directory, open the label, set preview and everything is OK. I can print my label.
With integration ON, I paste my .txt file in my directory, it's deleted and I get the following message :
(translated from french)
Print job of label.btw failed : job canceled
Failed to create records because : unable to open or read file .txt
Check path and authorization
Detail : .txt file is not find
If I change my integration with file deletion = off, I paste my .txt file and the label is well printed (in an unlimited loop)
What is wrong in my configuration ?
Thank you
-
Peter Thane
★ BarTender Hero ★
Have you declared the contents of the Text/Trigger file as the %Event Data% for your Integration?
Do you steps look something like this?
0 -
Frédéric BERGER
★ BarTender Hero ★
Hi Peter,
thank you for your time.
In fact I think I understood my error.
I used an old tutorial on internet and I think some parts where missing.
I decided to change my integration with no file deletion at detection
I added an action which delete my file after printing the document.Now everything works well.
I'll try to optimize my integration maybe with renaming my file at detection.
Many thanks0
Iniciar sesión para dejar un comentario.
Comentarios
2 comentarios