Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#138179 - 06/28/07 09:17 AM pushing values from another application to remedy
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
hi there,

I have an application where user inputs the ticket details.
Requirement now is, on that application they want a button on click of which Remedy User Client (which was already minimized) should be maximized and all the information which they put in needs to be transferred to a remedy schema on the maximized remedy client.

please let me know, is this possible?

thanks
Pal

Top
#138197 - 06/28/07 07:39 PM Re: pushing values from another application to remedy [Re: Pat2007]
Yann Baumgartner Offline
Stealth Member

Registered: 05/23/06
Posts: 25
What is your application and also what is your Remedy version?

I have built a flash application who communicates with a web service on our Remedy server using SOAP protocol and XML.

This is working great.

Top
#138200 - 06/29/07 01:02 AM Re: pushing values from another application to remedy [Re: Yann Baumgartner]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
Application can be on either VB or Java or flash (may be)..

things that i need to do -

1. User will click on a button on that application
2. Already minimized Remedy User session will be maximized and a particular form will open up.
3.Push the values captured in the (VB/Java) application to the corresponding fields in the Remedy form.

If you have done this, can you please guide me.

thanks
Pal

Top
#138204 - 06/29/07 04:47 AM Re: pushing values from another application to rem [Re: Pat2007]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
I think you would be able to use the Remedy User Tool COM objects (in VB) to manipulate the Remedy window.
I had some sample code for minimizing the User Tool with VB6 and if memory serves me correct they used the COM Objects (not the normal c/java API nor the .NET API)


Edited by Shark_7-11 (06/29/07 04:50 AM)
Edit Reason: Typo's
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138207 - 06/29/07 05:18 AM Re: pushing values from another application to rem [Re: Shark_7-11]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
Can you please share the sample code with me? or post it here..

Top
#138209 - 06/29/07 05:35 AM Re: pushing values from another application to rem [Re: Pat2007]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
I don't have it anymore, but let me see if I can find it... will post it here when i find it
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138210 - 06/29/07 06:00 AM Re: pushing values from another application to rem [Re: Shark_7-11]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
Can't find it but what you do is
in VB goto References and Add a Reference
Select the "COM" tab and search for ARUSER.tlb
(eg: C:\Program Files\AR System\User\ARUSER.tlb)

And then you use it from there
(eg: something like
Dim ARSU As New ARUSER.COMAppObj
ARSU.Login("Demo", "", 1)
OR
Have a look at this http://www.mrexcel.com/archive2/61500/71185.htm OR
http://database.ittoolbox.com/groups/tec...reports-353276#
)

I've done a search on this forum and found this:

http://www.mattreinfeldt.com/forums/ubbthreads.php/ubb/showflat/Number/93944/page/6
which refers to:
http://www.croomconsulting.com/products.asp (But this bypasses the Remedy User tool as I understand it)

Also have a look at:
http://www.mattreinfeldt.com/forums/ubbthreads.php/ubb/showflat/Number/86538/site_id/1#import
http://www.mattreinfeldt.com/forums/ubbthreads.php/ubb/showflat/Number/135509/page/5



Remedy Resources:
http://www.remedy.com/customers/dht/archive/09-01-2004_B.htm
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138211 - 06/29/07 06:22 AM Re: pushing values from another application to rem [Re: Shark_7-11]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
I would recommend you ONLY use the COM object if you want to use (and interact directly with) the user tool. Else you are going to go gray for silly reasons

I would suggest using the Java\c (or .NET, not supported) API as this gives you more control and functions. COM is very limited.

_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138213 - 06/29/07 06:59 AM Re: pushing values from another application to rem [Re: Shark_7-11]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
hi,

I'm almost there.

I'm stuck here
objARSession.OpenForm(sessionID,"myshec55997d","User",ARSubmit,<Visible as Long>))

what should i put here <visible as Long>

is there any document where i can find about these funcations and there arguments etc...

Top
#138214 - 06/29/07 07:04 AM Re: pushing values from another application to rem [Re: Pat2007]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
it should actually be a boolean 0 for false, not vissible and 1 for true, visible so I assume a 1
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138215 - 06/29/07 07:06 AM Re: pushing values from another application to rem [Re: Shark_7-11]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
I think they refer to this COM object in the ARS C-API-Ref documents. They use to in version 5
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138216 - 06/29/07 08:35 AM Re: pushing values from another application to rem [Re: Shark_7-11]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
Its opening a new session for ARQuery and ARSubmit with the following error after opening the session -

'Run-time Error 438'
'Object Does not support this property or method'

but its not working for ARModify at all
when i use the following
objARSession.OpenFormresult = objARSession.OpenForm(sessionID, "server", "testForm", ARModify, 1)

please help.

Top
#138218 - 06/29/07 09:32 AM Re: pushing values from another application to rem [Re: Pat2007]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
hi
i got some information from the C-API guide. but stuck in this point -

Set App = GetObject("C:\Program Files\AR System\User\Remedy User-ServName", "Remedy.User")

i using this syntax,
it's giving me 'File or class can not find' error.

can you please help with the syntax?
ServerName => ServName

Top
#138224 - 07/01/07 07:36 AM Re: pushing values from another application to rem [Re: Pat2007]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15

thanks for your help.everything is working fine when i launch a new aruser.
All i want is to connect to an already running instance..
i've tried with the following combination but nothing worked out. Everytime i'm getting -

Run Time Error '432'

'File or class name not found during automation'


1) Set App = GetObject("C:\Program Files\AR System\User\aruserServName","Remedy.User")

2) Set App = GetObject("C:\Program Files\AR System\User\aruser-ServName","Remedy.User")

3) Set App = GetObject("C:\Program Files\AR System\User\aruser.exe-ServName","Remedy.User")

4) Set App = GetObject("C:\Program Files\AR System\User\aruser.exeServName","Remedy.User")

5) Set App = GetObject("C:\Program Files\AR System\User\Remedy UserServName","Remedy.User")

6) Set App = GetObject("C:\Program Files\AR System\User\Remedy User-ServName","Remedy.User")

7) Set App = GetObject("C:\Program Files\AR System\User\Remedy User - testForm (New)ServName","Remedy.User") [when testForm was open in new mode in the already running aruser instance]

8) Set App = GetObject("C:\Program Files\AR System\User\Remedy User - testForm (New)-ServName","Remedy.User")


please help. thanks in advance

Top
#138232 - 07/02/07 09:58 AM Re: pushing values from another application to rem [Re: Pat2007]
Pat2007 Offline
Stealth Member

Registered: 04/26/07
Posts: 15
Can anybody help me on this?

Top
Page 1 of 2 1 2 >