Posts

Showing posts from 2009

To Import icalendar (*.ics) to calendar using Macro

After long time i am posting this blog. Although this information is not totally about peoplesoft someway we can relate it. Basically in peoplesoft we will send Appointment/Meeting request [which is in icalendar(.ics) format] as attachment in the mail. It won’t put an entry in Calendar unless u open the icalendar . it is a tough call for managers/executives who wont open the mail but they want an entry in Calendar. So i thought of doing this thru Macro. It works perfectly. I am not an Macro expert but this is quiet interesting. Thanks to Yogesh and Raja for giving Microsoft VBA tips :-) 'written by Vijay (psoftadmirer) Public Sub Moveicstocalendar() ' This Outlook macro checks at the Outlook Inbox for messages ' with attached files (of *.ics type) and put a entry in the calendar. On Error GoTo GetAttachments_err 'Declarations Dim outApp As Outlook.Application Dim InboxFolder As Outlook.MAPIFolder Dim myCalendarFolder As Outlook.MAPIFolder Dim ImportAppointmentitem As M

AJAX with Peoplesoft

AJAX - Asynchronous JavaScript And XML AJAX is a group of interrelated web development techniques used on the client-side to create interactive web applications or rich Internet applications. With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page. The use of Ajax with Peoplesoft has led to an increase in interactive or dynamic interfaces on web pages and better quality of Web services due to the asynchronous mode. Very few sites help us how to Integrate Peoplesoft and AJAX. Here is the basic code how to start… 1) Download the jquery Ajax library and put it in a publicly accessible folder on your web server http://docs.jquery.com/Downloading_jQuery Place the jquery.js file in Webserver (...peoplesoft/applications/peoplesoft/PORTAL/scripts) 2) Let us test how Ajax works,with this basic example: Add an html file to your web server root named "ajax.html" with the content

Byte Array in Peoplesoft

Byte Array in Peoplesoft: What is Byte Array? The Byte Array service provides a mechanism to create an array of bytes. This can be useful for sending a raw data packets containing binary information. Basically passing contents of files/Images in a byte (array) format. If you google Byte Array it is very hard to find the definition and you can find lot of java programs for converting File to Byte Array or Vice Versa. Byte Array and Peoplesoft: While integrating peoplesoft with a third party tool i got a situation to pass the file as byte array. I searched in google but in vein i didn’t get even a single clue. Then i thought of using java to overcome this issue. Latter i find an article from Jims Blog regarding the Base64 encoding, which really gave me a good idea to continue. From Jims Blog: (Thanks Jim) We need to create an Algorithm Chain and an Encryption Profile. PeopleBooks does an excellent job of explaining each of these terms as well as telling how to create each of these compon