Hello
I need to add a attachment from the old system do HPSM. The attachment are not in database so I thought to use the javaScript to do this. I find a example in white papers to read a file from hard drive.
var a = new Attachment(); le( "C:\\header_left.gif", "b" );
var source = readFi
a.value = source;
a.name = "C:\\header_left.gif";
print( "The value of a is: " + a );
print( "Setting attachment value to source: " + a.name ); print( "The size of the attachment is: " + a.len + " bytes" );
But I don`t know how to add this object to concrete interaction record. A look to attachment file in HP SM and it seems that hp divided the attachment into segment so I think I can`t simple add a record to this table.
Have someone any idea how to deal with this problem?
Thanks.


Reply With Quote


Bookmarks