Jump to content

Getting field value out of BMC Remedy

Recommended Posts


I try to get a field value out of the running BMC Remedy, but it does not seem to work yet. I don't even get connectet to BMC Remedy. I tried this code:

$objRemedy = ObjGet("","Remedy.User")
$objField = 0
$objForm = 0
If Not $objRemedy = 0 Then
   $objForm = $objRemedy.GetActiveForm()
   If Not $objForm = 0 Then
   $objField = $objForm.GetField("TicketID")
   If Not $objField = 0 Then
  MsgBox( 0, "Ticketnummer", "TicketID: " & $objField & ".")
  MsgBox( 0, "Hinweis", "Field not found")
  MsgBox( 0, "Hinweis", "Form not found")
   MsgBox( 0, "Hinweis", "Remedy not found")

But it already fails at the first request and gives me a "Remedy not found".

Could you help me, please?

Thank you!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...