Help with Adding a pdf to the Paperless App

Hi,
Im trying to add a pdf document the Paperless App from Mariner Software. I can get the file to add to Paperless but I cant get the title or tags to set. Anyone have any ideas?
set this_file to theFile
set the_category to "Personal"
set the_title to "The Title"
set the_tags to "software"
set theLibraryName to "Paperless Library"
tell application "Paperless"
activate
set theDoc to (the first library whose name is theLibraryName)
tell theDoc
set result to make new document with properties {title:the_title, tag:the_tags, category:the_category, file:this_file as alias}
add result without prompting
end tell
end tell
1. The title is never set
2. If I keep the tag property the document never gets added.
Anyone know what I am doing wrong?
Im trying to add a pdf document the Paperless App from Mariner Software. I can get the file to add to Paperless but I cant get the title or tags to set. Anyone have any ideas?
set this_file to theFile
set the_category to "Personal"
set the_title to "The Title"
set the_tags to "software"
set theLibraryName to "Paperless Library"
tell application "Paperless"
activate
set theDoc to (the first library whose name is theLibraryName)
tell theDoc
set result to make new document with properties {title:the_title, tag:the_tags, category:the_category, file:this_file as alias}
add result without prompting
end tell
end tell
1. The title is never set
2. If I keep the tag property the document never gets added.
Anyone know what I am doing wrong?