Sign in to follow this  
Followers 0
oimel

Getting field value out of BMC Remedy

1 post in this topic

Hello,

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 & ".")
  Else
  MsgBox( 0, "Hinweis", "Field not found")
  EndIf
  Else
  MsgBox( 0, "Hinweis", "Form not found")
   EndIf  
Else
   MsgBox( 0, "Hinweis", "Remedy not found")
EndIf

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

Could you help me, please?

Thank you!

Share this post


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
Sign in to follow this  
Followers 0