otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > Blogs > bob_romijn
Reload this Page

How to: Screen changes and possibilities (Part 1)


Rate this Entry

How to: Screen changes and possibilities (Part 1)

Posted January 16th, 2008 at 16:09 by bob_romijn
I got an invitation to write somethign to a blog. Never did this before, but hey, why not. I found a subject where I got some question to, so let;s use that for a beginning.

As perhaps a lot of you are dealing with this, I get a lot of questions of customers to change a particular screen or to display data on it that is not currently.

OTM works with XML and XSL-style sheets (Most likely everybody knows this but I wanted to be complete). If you know how to work with XSL and XML you can do a lot of modification to the screens.

Before I proceed a warning is here on the right spot. If you change a style sheet you leave the path of standard application! Support from Oracle will be impossible. I only want to do these things when VPD and all other functionality doesn’t provide you the right tools to achieve your goal. BARE THIS ALWAYS IN MIND! A lot of “migration-headaches” were started here…..

But if you made up your mind and decided to head this way, go on and read the story.

Let’s go for the track & trace screen of a shipment. I will work with version 5.0

The requirement: The customer wants to see on the track and trace screen on stop/Ship unit ID level the “Ship Unit Count”. You would have already thought it should be there because the header is there….. Oops, a Oracle bug! That isn’t too nice. 5.0 is not supported anymore so we have to fix the bug ourselves! Off we go:

I like to make it in two parts. First part is how to find out which xsl-style sheet needs to be modified. If you don’t know which style sheet it is you will have a hard time.

From the shipment query result screen: select “Always open in new window” to get the track & trace screen in a new window. Do the smart link of a shipment “Track and Trace”.

When this screen is complete on your screen and you have the “address”-bar of the explorer, you will see the complete URL. Go to the end of that URL and add to that “&debug=Y” (of course without the quotes ). Hit the enter button atfter that so the page will reload.

Now you will get a page with the XML message as it is processed. On line 2 you see already which style sheet is used for parsing this XML. In this case “TrackAndTraceResults.xsl” in directory “giiv”. That wasn’t too hard.

I always copy the complete XML to a local file, because I need this file later on to determine where the data is or if the data is available to display.

On your web-server you will find this style sheet. Download it so you are able to work with it.

Next time I will tell a bit more how to change it etc. What a cliff hanger.....

Bob Romijn

Total Trackbacks 0

Trackbacks

Recent Blog Entries by bob_romijn


All times are GMT. The time now is 11:10.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37