Part 2
Since to Topic of this post is CIs lets get started... (finally :)
To start using CIs we have to have our environment set up to handle using the COM object front end of the java classes that actually do the work. We have to have enviromental variables set:
If these already exist, obviously just add missing parts...
If these already exist, obviously just add missing parts...
CLASSPATH=C:\PS\8.49\web\psjoa\psjoa.jarPATH=C:\PS\8.49;C:\PS\8.49\jre\bin\client
C:\PS\8.49 is where my PeopleTools is located.
As for what is needed for a peopleTools CI only environmnet, you don't need to whole thing. Here are the files that are needed:Everything under .\jre and \webIn .\bin\client\winx86:
dbghelp.dll msvcp71.dll msvcr71.dll psapiadapter.dll psbtunicode.dll pscmnutils.dll pscompat.dll pslibeay32.dll pspetssl.dll trio.dll zlib1.dll
PeopleSoft_PeopleSoft.reg & PeopleSoft_PeopleSoft.tlb are what you get when you build the PeopleSoft APIs from appdesigner.
Once the PeopleSoft_PeopleSoft.reg file is registered (More about cleaning up CI registry entries in a bit) you may need to restart to have the environmental variable available etc. (I've found that it does wonders, thanks M$). Add a reference to the Peoplesoft_peoplesoft.tlb to a .Net project. You can import the reference as to not have to type peoplesoft_peoplesoft all the time.
In order to get familiar with the code, I'd like to suggest that you take a look at the demo code that you can generate by right clicking on your CI from app designer and selecting the generate visual basic template. This is in VB6-or-less layout in a .bas file.
In order to get familiar with the code, I'd like to suggest that you take a look at the demo code that you can generate by right clicking on your CI from app designer and selecting the generate visual basic template. This is in VB6-or-less layout in a .bas file.
Stay tuned for part 3.
No comments:
Post a Comment