University Web Developers

University Web Developers

This website is a great resource.

I've been coding php for a few weeks now and recently was able to start using UniObjects so that I can now code directly from/to our Datatel/UniData ERP. Our web design group is thinking up a new student portal, and it will be great to be able to provide widget services that can talk to the Administrative systems...

I'd love to hear from all y'all who are doing, need to do, or want to do the same sort of thing in a UniData world...

Share Twitter

Reply to This

Replies to This Discussion

Please get me link cause I would love to hear more because I was originally told I couldn't directly access this information so we end up getting reports dumped out that we then process and put into a mysql database nightly to get this kind of information. If I can get this information in real time and from the source I would just be on a different planet of happiness.

Reply to This

php/UniObjects/UniData - phase one

Setting up for a php/UniObjects/Unidata application isn't trivial but once it's happening it's great! You may need some cooperation from your UniData administrator because you will only have the access and permissions that are set up for the datatel logon user account that you use...it's good to have one with R/W access to the whole application instance...

UniObjects uses the UniData RPC listener to log on and transfer data, so that also has to be running on the Colleague box...normally, RPC is running but you may need to check with your UD Admin to make sure.

Uniobjects comes in three flavors, Windows, dotNet, and Java so you will need register the right one for the OS on the machine that is connecting to the Colleague box. I'm using a Windows box running Apache for windows, though the actual webserver should not matter - as long as you can run php. Be aware though that any instructions are all base on the regular Windows flavor of UniObjects. If you're running a Linux webserver you may need to use the UniObjects forJava...

The first step is to download and install UniObjects, which is contained in the IBM UniData client library. Technically the library is available for download here:

http://www14.software.ibm.com/download/data/web/en_US/trialprograms...

and the ''Using UniObjects' manual is available here:

http://www-306.ibm.com/software/data/u2/pubs/library/71unidata/

That said, you may have to register with IBM's tech connect in order to access those links - both those links are live for me as of 8/6/08, but I have previously registered with IBM. If you have any trouble downloading the files you may need to first register with TechConnect to access the links.

If you are Colleague school and personally have Answernet access, you can register for IBM's Tech Connect directly from the Datatel website:

http://www.datatel.com/support/unidata_database_U2techconnect.cfm

Reply to This

Hey Richard - have any luck getting a working environment set up?

Reply to This

Haven't had a chance to try it out yet. The project it would actually be used on was pushed out a while ago so just have this info sitting around for a rainy day when I have some play time :)

Thanks for checking up.

Reply to This

I was just telling my boss this morning that it would be awesome to be able to access the Unidata backend directly through PHP. My very first Google search on the subject brought me here. I would love any information you could throw my way about this!

Reply to This

I just 'finished' <= (yeah right) my second production application and I'm pretty happy about the whole bidness. I've been able to do some pretty useful stuff.

Be glad to post code and answer any questions you may have. I'm using UniObjects for Windows on a generic WinXP box running Apache and PHP5. If you are on a LInux server you may have to use the UniObjects for java, which I'm not all that familiar with.

You can follow the links above to get the UniObjects installed on your WAMP server. I'd be glad to help with any setup issues. Once you get an environment running I've got some code I can share as well..

Also I'll be at the HighEdWeb2008 conference next fortnight if you'll be there.

Reply to This

Well, this has certainly been interesting so far.

I installed UniDK, and double-checked in the registry that all the DLLs are registered. I went ahead and converted uvoaif.txt to PHP define()s, just in case. Then, I started with:

(editor doesn't like my code, see attached)

So far that script hasn't stopped executing (it's been a couple minutes now). Am I on the right track or waaay off in left field?
Attachments:

Reply to This

Aha! I have life!

I added $uni->AccountPath = /*our account path*/; and I was able to get something out of it. Not much yet, but something. :-)

Reply to This

With a few moments of playing around, I was able to grab data out of the PERSON file. It works like a charm! I (almost) can't wait for Monday so I can play with this project some more. It's all thanks to your help! Thanks a ton!!

Reply to This

Ola Brandon -

I guess the interface also rejected my code laden post yesterday. Congratulations on getting your first taste working!

I'd like to mention that in addition to the 'File' object which lets you read and write data, the Command object is also useful for doing things like creating data sets and writing queries. I've attached (I hope) a couple of chunks of code that runs a series of queries and loads up a MySql data store for reporting purposes. I've abstracted the UniObjects interface into a php class that makes it a little simpler to run a query. I'm using UniObjects to connect to Colleague and the ADODB library to connect to MySql.

Also one thing to note. Depending on your installation (ours is UniData over HP Unix), you may run into a known bug where only the first eight characters of the user's password are passed from the UniRPC listener to the operating system. The result is that persons with a password longer than 8 characters have their login fail. The workaround is to have anyone logging into a web application built over uniObjects set their password to something 8 characters long (or less). I'll post my simple login routine it that helps...
Attachments:

Reply to This

Sorry - this page does the Command object data set creation.

Also I moved all of the html generation out into a cheap library (clsPage...) so I'll attach that here too,
Attachments:

Reply to This

We have sqlized some unidata queries. Pulling course schedules, course descriptions etc from Datatel. We've been looking into Drupal for a portal solution and so happy to find this group!

Reply to This

RSS

Elsewhere

Latest Activity

Feel free to add Northwest Nazarene University, in Nampa Idaho. http://www.facebook.com/northwestnazarene
10 minutes ago
I use Typo3, an open source PHP CMS that runs on a MySQL database. Check it out: http://typo3.org.
15 minutes ago
Zac Vineyard, Teresa Botelo, Maggie Bardacke and 2 more joined University Web Developers
21 minutes ago
I avoid US based servers for personal information, and try to keep all PII on-campus or at least on Canadian servers. The requesting IP number in GA data could be personally identifying in some cases, but I'm not very concerned. I work at a small c…
2 hours ago
We're happy to include Canadian schools in the directory. Your school will be included during our weekly update on Monday.
5 hours ago
How about Canadian schools? University of Toronto Mississauga - Prospective Students http://www.facebook.com/UTMProspective
8 hours ago
Diane Weller added a discussion
I’m involved in a project in which I’m researching how IT organizations practice the tracking of people’s work time; what are some best practices and how do organizations establish guidelines for tracking time. With the right approach, there can be…
8 hours ago
Gill joined Lynn Zawie's group
Share your experiences using OmniUpdate CMS
9 hours ago
Daniel Cerman Implementing a website redesign on Ektron CMS400.NET.
yesterday
Bob Tupaj added a discussion
Is anyone out there using Luminis for your school portal? If so, do you have a portal administrator, portal manager, etc. position as a point of contact (e.g., creating channels, providing training and support for the different applications, serving…
yesterday
Southeast Missouri State University on Facebook
yesterday
Was considering the template at INOVAS via the Dept of Higher Ed until i read this: http://www.simpleapply.com/blog/section-508-department-of-educations-net-price-calculator/
yesterday
Oh oh... it would be very helpful to know what % of mobile phones are Web accessible.. with a data plan. Based on that information, marketing to/with the device would change considerably.
yesterday
Thanks for these great ideas! More?
yesterday
Mardy Wilson, Laura Jane Travis, John Tuttle and 3 more joined University Web Developers
on Wednesday
From the Gift Store
on Wednesday
on Wednesday
daniel thornbury added 2 photos to the album 'Websites'
on Wednesday
A place to discuss marketing tactics for admissions or development on the web in higher education, whether it be features on your website, blogs, boards, chat, email marketing, social networks, etc...
on Wednesday
Hopefully we can get together!
on Wednesday

UWEBD has been in existence for more than 10 years and is the very best email discussion list on the Internet, in any industry, on any topic

About

© 2010   Created by Mark Greenfield

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!