Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 6 of 6

Thread: Add attachment do interaction

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Posts
    17

    Default Add attachment do interaction

    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.

  2. #2

    Default

    Hey menton00,

    do you have a solution for your Problem? I also want to add Attachments via JS and I don't know how?

    Greetings...

  3. #3
    Junior Member brvno's Avatar
    Join Date
    Jul 2008
    Location
    Slovakia
    Posts
    7

    Default

    Have you some experience with Attachment() now?

  4. #4
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Quote Originally Posted by brvno View Post
    Have you some experience with Attachment() now?
    Look at the documentation in the help server. Attachment support has been extended between the latetest versions. But check the doc for exactly what is supported on the version of SC/SM you run.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  5. #5
    Senior Member oscarferreira1's Avatar
    Join Date
    Nov 2007
    Location
    Portugal
    Posts
    272

    Default

    How is the Object Attachment added to a record, Interaction for example?
    Best Regards,
    Óscar Ferreira
    Certified IT Service Management ITIL v2 & v3 (EXIN)
    Novabase

  6. #6
    Senior Member oscarferreira1's Avatar
    Join Date
    Nov 2007
    Location
    Portugal
    Posts
    272
    Best Regards,
    Óscar Ferreira
    Certified IT Service Management ITIL v2 & v3 (EXIN)
    Novabase

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts