Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ID for current service call?

SOLVED
Go to solution
Highlighted
Pavel Kouriv
Occasional Advisor

How to use ID for current service call?

Hello,

I need to open another service call form from opened form to print limited number of fields.
How can I use ID for current service call in an sd_dataform action?

rgds,
Pavel
6 REPLIES
Robert S. Falko
Honored Contributor
Solution

Re: How to use ID for current service call?

Pavel,

By specifying the form and the id of the service call, you guarantee that sd_dataform will find your item and display it in a form.

You parameters will be " ID=[ID]".

I think that is all you need.

-Josh
Pavel Kouriv
Occasional Advisor

Re: How to use ID for current service call?

Perfect! That's all I need.

Thanks a lot Josiah!
kcarson
Regular Collector

Re: How to use ID for current service call?

Can you shoe me how to do this in a smart action?
What is your process?
Robert S. Falko
Honored Contributor

Re: How to use ID for current service call?

For a Smart Action, you need to create an Application, which runs nothing other than sd_dataform.bat.

Then you create a Smart Action, which calls that application, and passes as parameters information such as the params described above.

Don't forget to give roles the rights to use that smart action.

-Josh
kcarson
Regular Collector

Re: How to use ID for current service call?

Thanks Josh,
I have attached a screenshot of my smart action and the error.
I do have a form called printing.
What am I missing?
What is your process?
kcarson
Regular Collector

Re: How to use ID for current service call?

Duh,

"formname" "ID=[ID]"
This works.
What is your process?
//Add this to "OnDomLoad" event