How to grade out a tab page in tab canvas

Hi All,
I am using oracle Apps R12.2 and forms 10g version
I have Tab canvas in my page and it contain two page.
My requirement is when the user is "PROC HEAD" means the Tab_page2 is Visible and able to acces.When other user logged means the tab should be grade out.
I have tried so for is i have written my code in When New form Instance trigger
And this is my code.
declare
tp_id TAB_PAGE;
v_user_id number;
begin
select user_id into v_user_id from fnd_user where user_name='PROC HEAD';
if fnd_global.user_id= v_user_id then
tp_id :=FIND_TAB_PAGE('EXPEDITOR');
SET_TAB_PAGE_PROPERTY(tp_id, visible, property_true);
else
SET_TAB_PAGE_PROPERTY(tp_id, visible, property_false);
end if;
Can any pls correct me where i went wrong.
Thanks & Regards
Srikkanth
end;

Srikkanth.M wrote:
SolvedIt would be great if you could share the solution.
Thanks,
Hussein

Similar Messages

  • How to log out of EWS page?

    I'm new to the EWS pages but don't see anyway to log out of the page so that the password will be required on the next access.
    Thanks!
    HP OfficeJet 6000 E609n | Windows 7 64-bit

    Hi Jim,
    The term EWS is mentioned when the user right clicks on the Ditigal Imaging Monitor and then selects the network printer. Along with the options of Status, Toolbox, etc., EWS is one of the options. IIRC, it is also mentioned in the manual. But yeah, calling it Printer Home Page would make things easier.
    As for the OP's question, you can directly close the browser. There is no logout button. You can clear the cookies of your browser after you close it, so that the password is not remembered by your browser. 
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

  • How to put a long tab canvas on 2 or more lignes

    I have 15 basic tables ( 2 or 3 fields).
    I would like to manage tese tables from one page.
    When I generated the page I got a long tab canvas that I should scroll at rigth to see the rest of the tabs;
    My question is : can I put these tabs under 2 or more lines
    Thanks in advance

    Monta,
    This is more a UIX question - well, I assume you are using UIX - than a JHeadstart question. It is not something you solve in a pre-generation way.
    The easiest way to address this might be to edit the generated <app>TabBar.uit file. It includes a single tabBar element that stretches along the full length of the page. What you can do is include a second or even more tabBar elements, each having a subset of your tabs. Include the tabBar elements in a flow layout: as long as they fit on the page, they will be displayed a single line, when that does not fit anymore it starts to wrap.
    <flowLayout>
    <contents>
    <tabBar selectedIndex="${uix.rootAttr.selectedIndex}">
    <contents>
    <link text="Departments1" destination="javascript:doNavigate('StartDepartments1.do');"/>
    <link text="Employees1" destination="javascript:doNavigate('StartEmployees1.do');"/>
    </contents>
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    </tabBar>
    <tabBar selectedIndex="${uix.rootAttr.selectedIndex}">
    <contents>
    <link text="Extra Tab" destination="javascript:doNavigate('StartDepartments1.do');" />
    <link text="Nog een tab" destination="javascript:doNavigate('StartEmployees1.do');"/>
    <link text="Salesteam" destination="javascript:doNavigate('StartSalesteam.do');"/>
    </contents>
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    </tabBar>
    </contents>
    </flowLayout>
    However, there is an issue with setting the correct selected index on the tabbars. You will probably have to write some JavaScript to get that exactly right; right now, selecting the first tab in any of the tabBar elements will highlight the first tab in all tabbars...
    regards
    Lucas

  • How to figure out a BSP page application in Sicf

    Hello Experts,
    We are facing some issue in a BSP application,
    We are trying to implement SRM in our proj. The main page called as registration page ,
    for which we need to do some changed...
    but who can i find which funtion module or which application that BSP page is running on,
    I.e.
    what i acctually need to do is that,
    After the supplier fill the form it is getting saved i need to know what event  is getting triggered in backend for saving that data..
    can u help me on this...where do i find it.
    please give the steps
    Thanks IN advance!!!

    Hello,
    BSP name as service name in SICF...
    To know how it is handling event - it depends on which type of application is..
    1. If it is following MVC model, please look in DO_HANDLE_EVENT for detailed logic
    2. If it is not MVC and having ;Page with flow logic' concept - then look in event handler tab...
    Thanks

  • How to grade out the text field in form

    Hi all,
    I am using oracle forms 10g.
    I have created a form in that i have 10 items, There is field called Currency_code and when the currency_code is USD then there are three fields that need to graded out, when the currency code is not equal USD the user will enter data into that field.
    I have tried like this
    If :BLock.currency_code= 'USD' then
    set_item_property('block.field1',enable,property_false);
    set_item_property('block.field2',enable,property_false);
    else
    set_item_property('block.field1',enable,property_true);
    set_item_property('block.field2',enable,property_true);
    end if;
    end;
    In when_form instance trigger. But its not working. Can any one pls tell me how to do this.
    Regards
    Srikkanth.M

    Are you aware that by using the WHEN-NEW-FORM-INSTANCE trigger, this would only get tested when the form starts the first time? In other words, have you coded a way to set ":BLock.currency_code= 'USD' " or anything else at start up? If not, then you don't need this code. Simply set the Enabled field on the Property Palette for "BLock.currency_code" to NO. You can change it back to YES at runtime in some other trigger.
    If however, you do set the field programatically somehow, try adding a SYNCHRONIZE at the end of your IF / THEN logic. In other words change it to something like this:
    If :BLock.currency_code= 'USD' then
    set_item_property('block.field1',enable,property_false);
    set_item_property('block.field2',enable,property_false);
    else
    set_item_property('block.field1',enable,property_true);
    set_item_property('block.field2',enable,property_true);
    end if;
    SYNCHRONIZE;
    end;

  • How to I get new tabs to open to the correct home page?

    When I open new tabs they just go to a Google Search page, which is very frustrating, especially when I open a new tab and try to type in the URL bar but as soon as it finishes loading Google it blanks out what I typed in and goes to the Google site. In other words, "blank" new tabs do not open to the Favorites page or even my home page. They open to Google. How do I change that? In other words, how do I get new tabs to stop opening to Google and start opening to either my home page or the Favorites screen? Thanks!

    You can modify the <b>browser.newtab.url</b> pref on the <b>about:config</b> page and set it to the desired page to open.
    *http://kb.mozillazine.org/about:config
    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • I cannot figure out how to view the history of pages so I can easily go back to a page I may have been in 10 clicks ago.

    In the latest version, I cannot figure out how to view the history of pages so I can easily go back to a page I may have been in 10 clicks ago. I don't want to have to hit the back button 10 times, I want to be able to view a list of the past clicks and pick where I want to go back to. How do I do that now?

    Click-hold the unified Back / Forward button, or right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • When using firefox, how do i zoom in and out on a page?

    example: when i use internet explorer i just click on the tool tab if i need to zoom in or out. however, with firefox, i cannot figure how do zoom in and out on a page?
    thank you,
    kim

    I don't think Firefox has a slider to do that but it uses shortcuts.
    '''CTRL + + (plus sign)''' is to zoom in<br>
    '''CTRL + - (minus sign/dash)''' is to zoom out<br>
    '''CTRL + 0 (zero)''' resets the percentage to default (100%)

  • How do I go back a page on the Ipad mini? I do not see any arrows anywhere. Also when I go to my yahoo email account and open an email I can not find how to go back and log out. This is our first Ipad and it is very different frm android. Thanks

    We just purchased our first Ipad. It is a mini with retina display 16 GB. How do I go back a page? I see no arrows to page back. Also when I log into  a yahoo email account and open an email I see now way to log out? Thank you for any help

    In Safari, (the web browser), there are specific arrows to go back and forward through website pages.
    In other Apps, it will depend on how the App is built.
    As to Yahoo Mai it depends on where you are viewing the email.  If you are using the Mail App, then you don't log out.     The Mail accounts in the Mail App are always there.
    If you are using the Yahoo App, You can Tap on the folder at the top, then on your account/name, and then on Sign Out.

  • HT4356 I'm using my iPod and an Epson XP-810 printer to print pages from websites and emails and etc.  How do I print just 1 page out of 14 pages .  I don't see any settings on my iPod and can't find settings on the printer .   Can someone help with this

    I'm using my iPod and an Epson XP-810 printer to print pages from websites and emails and etc. 
    How do I print just 1 page out of 14 pages . 
    I don't see any settings on my iPod and can't find settings on the printer .  
    Can someone help with this problem

    Google show that you have to cut what you want to print and then paste it into a new app and print from that app.
    http://www.ipadforums.net/new-member-introductions-site-assistance/63145-printin g-one-page-ipad-2-a.html

  • I have an HP Photosmart C4180 all in one printer scanner and copier, I can't figure out how to scan more than one page at a time and then send as a PDF file via email

    I have an HP Photosmart C4180 all-in-one, printer, scanner and copier.  I can't figure out how to scan more than one page?  It will only let me do one page at a time and then I have difficulty sending pages 1, 2 and 3 as one docuement.  Any ideas??
    Thank you, Jetteski

    Hello Jetteski,
    Hello Jetteski, Thanks for the post.
    Since you are running a MAC, check the below links for some excellent information on scanning.  Good Luck!
    http://goo.gl/M8Cl2
    http://goo.gl/cufK6
    http://goo.gl/OTQoR
    I work for HP but my posts and replies are my own....Thank you!

  • How to find out if I navigate out of the page

    Dear gurus,
    I need to replicate ‘Warn about changes’ functionality in a certain case.
    In my case page A displays view object VO1 in a tabular form, each record having a link in column ‘type’ that takes navigation to page B.
    On page B the user changes the type to a new value using a pick list and submits a page B, then clicks Apply button that takes him back to page A with the new value for type brought from page B.
    Now page A has a new value for type. Not committed yet. I need to show a warning popup message (similar to seeded ‘Warn about changes’ message) if a user navigates out of page A now.
    I am thinking about using javascript to show the popup message. I will use the condition whether VO1 is dirty or not. But I don’t know how to track the fact that I navigated out of page A. Does anybody know how to find out is navigation out of the current page did occur?
    Thank you
    Anatoliy

    Hi,
    as there are links on the table from where you are navigating...set the fireaction property to fire an event say
    "click". grab that event in contoller.
    Controller code:
    String name = (String)pageContext.getParameter("event");
    if("click".equals(event))
    this means you are navigating out of page A.
    now invoke a method in AM to check if VO is dirty or not and if it dirty then throw an exception on page rather than pop_up.
    String check = (String)am.invokeMethod("checkvodirty");
    if("dirty".equals(check))
    throw new OAException("The Transaction is dirty",OAException.ERROR);
    else
    navigate to page B using pageContext.setForwardurl().
    In AM you can write :
    public String checkvodirty()
    sapeEAAddressesVOImpl addr = getsapeEAAddressesVO1();
    String test = "";
    if(addr.isDirty())//this checks that VO is dirty
    test = "dirty";
    else
    test = "notdirty";
    return test;
    Thanks,
    Gaurav

  • How do I customize my html page in Dreamweaver CS5 to an Avery template that I wish to print out?

    How do I customize my html page in Dreamweaver CS5 to an Avery template that I wish to print out?

    Dreamweaver and websites do not easily match up to Avery templates.  If you are trying to develop a program for customers/etc to print labels, you should look for a script to generate a PDF file to ensure the accuracy of the printing.
    If you are trying to use Dreamweaver as a substitute to print your own labels, I would highly recommend using Microsoft Word, or Adobe InDesign for a better solution.

  • I was viewing a page online, and somehow it zoomed out so the page is tiny in the browser window. How do I zoom back in?

    I was viewing a page online, and somehow it zoomed out so that the page is now tiny in the browser window. I've shut down all my windows and rebooted my computer, but every time I return to that page, it is still tiny. I've looked for a button to control the zoom, but cannot find anything. How do I zoom back out so the page is the correct size again?

    See this: <br />
    https://support.mozilla.com/en-US/kb/Page+Zoom

Maybe you are looking for