otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


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

OTM SIG
MavenWire


Execution Employing the Tendering process in OTM / G-Log - including the setup of carrier domains, workflow parameters, regional tendering and contact groups.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 23rd, 2008, 10:20
Junior Member
 
Join Date: Apr 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
kumar is on a distinguished road
Country Code

Hi all,

When we enter the coutry in any screen, country_code3_gid is displaying. Instead of Country_code3_gid can we able to get country_code2 value,even this value is available in the backend.Is any property file we need to change?

if anybody have the solution,kindly share it.

Thanks in advance,
Kumar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old June 2nd, 2008, 19:29
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 2
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
neoandr is on a distinguished road
Re: Country Code

To all the screen, i worked on, Country code refers to country_code3_gid. I dont think, personally, that its possible to populate country_code2 value.

But still I can provide 2 workarounds.

1. Need to create country codes with 2 letter code. Simple as that.

Otherwise

2. You need to modify related XSL for display purpose alone. That is, u can modify 'Picklist' format to 'Dropdown' format and then display psuedo values with 2 letter codes which is actually mapped with 3 letter country codes by placing the following code in XSL dropdown template where the country_code3_gid is referred to.

<options>
<option name='PK' value='PAK'>PK</option>
<option name='US' value='USA'>US</option>
</options>

Hope this helps.
But there should be some reason country_code2_gid still exist in table even though code3 value is used.

Please do let us know if you find any direct solution for you issue.

Cheers!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old June 5th, 2008, 09:49
Junior Member
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
chrisp is on a distinguished road
Re: Country Code

3 digit country codes are getting inserted during the dbpatch via the update_content process. To prevent it from loading, delete the country_code line from the csv_glogowner_tables.txt file:

Before running the dbpatch_55 process

Go to the directory GC3/glog/oracle/script8/content_glogowner
Open the file csv_glogowner_tables.txt in a text editor
Delete the line with the word COUNTRY_CODE
Save file

This will prevent the loading of COUNTRY_CODE seed data
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old July 30th, 2008, 11:31
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
hi.shekhu2002 is on a distinguished road
Re: Country Code

Hi,

Is there any way we can change the pick list to display country codes with two alphabets. which xsl/java script would be required to change to implement this functionality ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OTMFAQ Forums : Code of Conduct chrisplough Forum Usage 106 September 5th, 2008 13:08
Country Codes Rajashree Branding, Screen Sets, XSL/CSS and Translations 9 June 2nd, 2008 15:38
Session Bean code gen nikesh mohanlal Architecture 5 October 3rd, 2007 17:52
Country Code with Time Zone Nisha Branding, Screen Sets, XSL/CSS and Translations 1 September 5th, 2007 14:53
XSL Code modifying and using for screen sets muthaharotm Branding, Screen Sets, XSL/CSS and Translations 0 July 19th, 2007 10:04



All times are GMT. The time now is 11:59.
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