Jump to content

Search the Community

Showing results for tags 'attachment'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CA Service Desk Manager
    • General Discussions
    • Customizations / Modifications
    • Bugs / Errors / Patches
    • Knowledge Tools / Keyword Search
    • Support Automation
    • CMDB
    • Install / Migrate / Configure
    • Product Integration
    • Reporting
    • Workflow
  • Nimsoft Service Desk
    • General
  • General
    • Wiki Article Discussions
    • ITIL & Best Practices
    • Speak Out
    • Employment Opportunities

Categories

  • Getting Started
  • Installation
  • Configuration
  • Customization
  • Integration
    • CA Applications
    • Non-CA Applications
    • Custom Integrations
  • Reporting
  • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. I have been successfully creating tickets in CA Service Desk using Powershell for a couple years now, but I have been tasked with figuring out how to add an attachment to the ticket. They way I am doing it currently is, once I have the $accesskey: $URIString = "http://$servername:8050/caisd-rest/cr" $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("X-AccessKey", $accesskey) $headers.Add("Accept", "application/xml") $headers.Add("Content-Type", "application/xml; charset=UTF-8") $headers.Add("X-Obj-Attrs" , "ref_num") $body = "<cr><group COMMON_NAME=`"Security Admin`"/><summary>`"Test Ticket - Please Ignore`"</summary><requested_by COMMON_NAME=`"AutomationReview, UserAccess`"/><customer COMMON_NAME=`"AutomationReview, UserAccess`"/><description>`"Test Ticket - Please Ignore`"</description></cr>" $b = Invoke-RestMethod -Method POST -Uri $UriString -Headers $headers -body $body This works great, but I can't figure out how to add an attachment. I tried adding "<attachment>`"C:\temp\empID.txt`"</attachment>" to the middle of the body, and while that didn't throw any errors, it didn't seem to do anything. Can anyone point me in the right direction?
  2. Hi everyone, I am trying to call a image from a contact form, that's already working, at least when I put manually the image on the folder that I using for; well I want to charge the images from the CA SDM attachment functionality, here is the problem, when I upload the image just lost the name because it put a persid_name.png.gz. something like "9E56F44C42D27B479CCA46B5CA9C06DC_default_profile.png.gz"... and from the form I call it like "default_profile.png", of course are thousands of images with a name like id and from the cnt form is imposible know that attach name. conclusion: I want to know if I can upload a image in CA SDM without lost the original name, I want to save it in the repository with the same name that was loaded. I really appreciate your help, Thanks in advance
×
×
  • Create New...