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

sd_dataform and telephone number. How?

SOLVED
Go to solution
Highlighted
sia2003
Member

sd_dataform and telephone number. How?

Hi there,
I'm use sd4.5 with sp14
I saw many links about sd_dataform and telephone number usage, but still can't understand how to check what attribute to set in command line like this -
sd_dataform.bat "Service call" -ForceNew"+Person.Telephone number=5233"
If I start this command just new scall form open, but there are no any person in it, which have number 5233. And there is no error (or I can't see it)
Can anybody say me how to make correct choose of necessary attributes for the task like a open new scall form with requester-user in it?
We have only telephone number...
3 REPLIES
sia2003
Member

Re: sd_dataform and telephone number. How?

Attempt to open new scall form with field "Description"=test -

sd_dataform.bat "Service call" -ForceNew"+Service call.Description=test"

also just open new scall form, and "Description" field is not change
George M. Meneg
Honored Contributor
Solution

Re: sd_dataform and telephone number. How?

Hello sia,

Try this:

sd_dataform.bat "Service Call" +"Caller.Telephone number=5233" -ForceNew

If there is no person whose primary number is 5233 the form will be empty. If not, the caller field will be filled.
menes fhtagn
George M. Meneg
Honored Contributor

Re: sd_dataform and telephone number. How?

Hello,

To set a value in sd_dataform you should use syntax +"Field=Value".
menes fhtagn
//Add this to "OnDomLoad" event