Using DoModalComponent in PeopleCode

I’ve had this requirement to open a Component upon clicking a hyperlink using DoModalComponent. The catch being – values to be passed from the source component to the destination component. DoModalComponent works in mysterious ways. 🙂

DoModalComponent requires the level 0 records of both the source and the destination components to be the same – so that whatever values have been set in the source component can be passed while the component is opened in a modal window.

&OKCancel=DoModalComponent(MENU.MenuName, BARNAME.BarName, ITEMNAME.ItemName, PAGE.LandingPageName, &Action, &RECORD.SharedRecordName [, RecordName.Field ]... );

The level 0 record is essentially the Shared Record name in the PeopleCode syntax provided above. I’ve got tons of information to share that I’ve learnt in the past month, but there’s so little time. Stay tuned for more posts.

And, that concludes my 50th post. Yay!! 🙂 It has been 5 years since I started blogging and have managed an average of 10 posts a year. 😀

Have fun folks!:)

Advertisements

About Manikandan Surendren

A PeopleSoft Techno-functional Consultant. An engineering graduate in Computer Science. Technology Enthusiast. Movie freak. Gadget geek.
This entry was posted in Code, PeopleSoft, Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s