I am trying to write an agent that automatically creates an HTML page each day for all documents in a view.
The code works:
ForAll o In vaItem.EmbeddedObjects
Call o.ExtractFile("C:\Safety" & o.Name)
write #1,“<a href=chr$(34)” & “documents/” & o.Name & Chr$(34) & “>” & descr & “
”
end forall
but the HTML page fails because there are extraneous quotes at the beginning and end of each line.
Is there a way to do what I’m attempting to do so that the output is something like
<a href="file1.pdf>Description 1
<a href="file2.pdf>Description 2
instead of
"<a href=“file1.pdf>Description 1
”
"<a href=“file2.pdf>Description 2
”
Thanks
Instead of