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

Generate ID

Highlighted
Lakoshko
Occasional Contributor

Generate ID

I`m using HP ServiceDesk, and wrote some c++ program for my organization task.
Problem in one thing - i don`t know how to generate OID fields in insert query, in MS SQL server database.
If someone know pls - let me answer
4 REPLIES
Mike Bush
Honored Contributor

Re: Generate ID

You're not supposed to write directly to the database - hence you don't need to know how to generate an OID! The web-api is provided for this kind of work, it uses the Application Server logic and preserves the database integrity!
Lakoshko
Occasional Contributor

Re: Generate ID

Ok, but does WebApi work with C++?
And how to use it?
Have you some examples?
thanks
Ramaprasad N
Esteemed Contributor

Re: Generate ID

The OVSD CDROM will have the Web-API and the related documentation. Refer/check the Web-API.jar file and the Web-API-javadoc.zip file (under the doc directory) for more details/information.
Lakoshko
Occasional Contributor

Re: Generate ID

thanks all
//Add this to "OnDomLoad" event