Service Desk Practitioners Forum
cancel

Client 2008 and sd_dataform - unable to pass parameters

Highlighted
Michael Gregor
Outstanding Contributor.

Client 2008 and sd_dataform - unable to pass parameters

Hi all.

I am struggling with sd_dataform on Client 2008. The scenario is like this:

Client 2008, on SP27.

UI-rule fires when button is clicked, calls Command Exec Action with command line:
"%SD_CLIENT2008HOME%\bin\sd_dataform.bat" and parameters:
Notification -ForceNew +Category=Incident +Status=Closed

A new "Notification" form is opened by sd_dataform, however parameters Category and Status are not passed on. I get errors "Attribute 'Incident' not found" and "Attribute 'Closed' not found. I have also tried other syntaxes:
Notification -ForceNew +"Category=Incident" +"Status=Closed"
and
Notification -ForceNew +'Category=Incident' +'Status=Closed'

Nothing works. Anny help will be greatly rewarded :-)

Michael

3 REPLIES
Err_1
Acclaimed Contributor.

Re: Client 2008 and sd_dataform - unable to pass parameters

Hi Michael,

I test it with the following syntax using double quotes "" and it worked, I've attached you my result:

C:\WINDOWS>"%SD_CLIENT2008HOME%\bin\sd_dataform.bat" Notification -ForceNew +"Category=Network" +"Status=Closed"

Regards;
Randall Barrantes
SW Support Delivery Manager
Michael Gregor
Outstanding Contributor.

Re: Client 2008 and sd_dataform - unable to pass parameters

Thanks, but I'm still struggling. It works fine if I type "%SD_CLIENT2008HOME%\bin\sd_dataform.bat" Notification -ForceNew +"Category=Incident" +"Status=Closed" directly on the command line.

Form opens, and parameters are passed on, no problem. However if the same command syntax is used in UI-rule, I get a DOS-error saying "c:\Programfiler\Hewlett-Packard\OpenView\service is not recognized as an internal or external command or batch file".

Seems it isn't able to recognize the path? It stops after \service.

Michael
ACCMC
Trusted Contributor.

Re: Client 2008 and sd_dataform - unable to pass parameters

Hi Michael,

Try this configuration ...

Command line:
"%SD_CLIENT2008HOME%bin\sd_dataform.bat"

Start in:
"%SD_CLIENT2008HOME%bin\"

It´s works for me! I'd attached a picture ...