I have this vbscript form that allows me opening incidents, but, I wish to have a dropdown menu in some fields which allow me to select the appropriate option. How to I include those selectable options in this form?
Many thanks in advance and here is the code:
Option Explicit
Dim oParams...
I hope you can help me.
Let me explain then.
I have three fields in this form. First is for a category, the second one is the subcategory (should be based on the first one), and the third one is the type (based on these previous two). Yet, there is also a fourth field, since we are talking...
With lots of help, I was able to have a form based on vbscript and with some hta combined. It's working as expected, it created the incident after filling the entries of the form.
Thanks for your efforts.
I am still after some more adjustments on this form. I am going to make a new post.
I think I found what the issue was. At least I think I am now connected, it's not giving me the connect error as before. Somehow it is needed the 32bit version of the driver. So I've installed it and looks like it works. I will make sure this is really working. Be right back.
Hum... ok, now I got something different:
Warning: odbc_connect(): in C:\xampp\htdocs\odbc2.php on line 2
[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
I use windows 8 64x, but so is the driver version!
I've cut it to the basic and added your code.
It's now like this:
<?php
$connect = odbc_connect("ServiceNow");
if($connect === false) die(odbc_errormsg());
//
# close the connection
odbc_close($connect);
?>
And now I am getting:
Warning: odbc_connect() expects at least 3 parameters, 1...
I have already a system dns configured in windows.
I've tried to setup the script to connect to odbc without the user and password, but yet I still get the same errors
I have access to ServiceNow via ODBC. Driver is installed since ages, I've been running queries and getting results since ages.
I have PHP installed on my server and I want to use it to connect via odbc to ServiceNow.
I've tried many things, including php scripts like the one below:
<?php...
I have access to ServiceNow via ODBC. Driver is installed since ages, I've been running queries and getting results since ages.
I have PHP installed on my server and I want to use it to connect via odbc to ServiceNow.
I've tried many things, including php scripts like the one below:
<?php...
I have a vbscript that creates automatically a incident in ServiceNow. Tested and it works.
But I wish to make it more practical and funcional. I am looking for a form based on this vbscript in order to create the incident.
Can you guys help me compiling a form based on the vbscript I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.