Navigating back to initial portal screen

Hi folks,
I have a scenario in which I have to given an option 'Home' on my portal just as we have it in normal websites.
My portal page has a link "Home' on the top. When any user clicks on it the portal page should go back to its initial state, it should again display the content present on the first screen like 'homepage' in websites.
How do I do it?
Please help in this regard.
Please tell me the basics steps too as i'm new to portal.
Thanks,
Prasanna

Hi Prasanna,
You can implement this by using event handler and pagestatus variable in the portalcomponent.
When the home is clicked the event will change the pagestatus = mainpage
Something like this
public static final int MAIN_PAGE = 0;
int PAGE_STATUS = MAIN_PAGE;
public void doProcessBeforeOutput() throws PageException {
switch (PAGE_STATUS) {
case MAIN_PAGE :
this.setJspName("MainMenu.jsp");
break;
public void onMainPage(Event event) throws PageException {
try {
PAGE_STATUS = MAIN_PAGE;
} catch (Exception e) {
PAGE_STATUS = ERROR_PAGE;
In jsp
<hbj:link
          id="MainMenu"
          text="MainMenu"
          target="_TOP"
          onClick="MainPage" /> 
hope it helps
Thanks
Swathi
Do offer points:-)

Similar Messages

  • How to make Navigation Panel invisible on portal screen????

    Hi,
    I need to create two roles ( X and Y ).
    when the user is assgned role X: he should see standard portal screen
    When user is assigned role Y: he should see customized portal screen.
    Features of customized portal screen:
    All features of portal should not be seen. The user should see only the iview and nothing else.
    What I have done:
    Created Role ( X and Y ) and respective iviews
    With Framework page:
    I copied standard framework page. made all iviews invisible except Desktop Innerpage.
    I opend the Innerpage. I made all all iviews invisible except the Content Area.
    With Desktop:
    I create new desktop and assigned the new framework page to deaktop and made it default.
    With Rule Collection: I created new rule collection where:
    if Role = Y
    display: new desktop
    if role = X
    display: default desktop
    Result:
    when I login with role X it shows default Desktop
    Problem Area: When i login with ROLE Y, No portal feature is visible But We can still Expand and collapse Navigation panel.
    Requirement: I do not want the user should see the navigation panel. It should not be visible on screen even though it is empty.
    I tried lots almost all properties. Please help.
    Any help would be highly appreciated.
    Thanks and Regards,
    Aditya Deshpande

    hi;
    Then you have to create Role Y without workset or Page only with iViews, so no Navigation will be generated. :h1
    But if you habe Workset and Page in your role , just go to all Page and workset and set this properties>navigation>Invisible in Navigation Areas  to false.
    I Hoppe it will help
    Take care
    Gede

  • 'Back to initial screen button' is inactive.

    Hello,
    in the srm portal, when i go to Process Purchase order and display a PO.
    For a PO in display mode:
    1)At first, the header data tab is active and i click on output preview of the smartform.
    2) i close the smartform window.
    3)I click on the Item data tab.
    4)I click again on the Output preview for smartform.
    5) I close the smartform.
    6) Finally when i click on the 'Back to initial screen' button it does not do anything.
    it occurs only when i follow the sequence 1-6. thx for help.

    Hi,
    The same steps which you have written working fine in my srm system.
    I am on SRM 5.00. and suport pack SAPKIBKT12.
    Can you check this in your system.
    Its a standard functionality you need not to do any thing for this.
    Check again, carefully
    Regards,
    Sachin

  • How to remove Left side navigation on Portal screen

    Hi Friends,
    I want create Role, workstation and IView. Means I dont want left side links so, I created Role, Workstation and IView but on portal screen leftside navigation also coming, could you please help in this.
    Regards,
    Lakshmi Prasad.

    Lakshmi,
    You have do some modification on desktop framework page.
    Please follow these procedure :-
    Content admin -> portal content -> Navigate & Open  default Framework page ->
    select the check box "Desktop inner page" -> Press Open -> Select the check box in the Visibible column against "Content Area" (uncheck the remaining checkboxes for others in Desktop inner page) -> save -> logout and login to portal
    Ram

  • Navigating back from a screen

    Hi all,
    we have creaed a hiring action in HR. i have to check whether a user came to a particular screen by navigating backwards from the next screen in the hiring action. i have to write some code if the user navigates backwards from a screen. can anyone tell me how i can check if a user pressed the back button on the previous screen to come to the current screen.
    regards,
    Hamza

    In the PAI of the previous screen,
    Add following code.
    CASE V_OKCODE.
    when 'BACK'.
      V_FLAG = 'X'.
    ENDCASE.
    In the current screen,
    check if the flag is 'X', he has come from previous screen.

  • Blank screen while pressing "Cancel" or "Back" button in Portal

    Hi Experts,
    We have a peculiar problem.
    The user is trying to access time levelling report (which is a
    iView) in MSS.
    The user is getting the output of the report.  When the user tries to press "back button" from the output screen (which is a SAP Transaction iView)  the user is getting blank screen insted of report input screen.
    Please suggest me some hints to resolve this.
    Thanks
    Abdul

    I was calling details screen( screen called from ALV) using call screen in double click event. I changed this to SET SCREEN 110.LEAVE SCREEN. Now my back button in ALV screen started working as expected.
    Thanks  for your answers.
    Joby

  • All navigational subheadings near top of screen in previous version of ff disappeared when installed ff4. they included Wikipidia, news(with sub-options LA times, NY times,BBC etc), YouTube, mail & others. how do i recover previous version?

    all navigational subheadings near top of screen in previous version of ff disappeared when installed ff4. they included wikipedia, news(with sub-options LA times, NY times, BBC etc),YouTube, mail & others. how do i recover previous version?

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • I have OSX 10.5.7 on my Intel Mac. When I try to login using the correct password the screen goes white and just returns back to the login screen. It does not jiggle like when you enter the wrong password.

    I have had a number of issues with my Intel Mac recently and had to reboot using disk utilities, safe mode, OSX recovery, but always come back to the login screen but when I type my password the screen goes white and returns to the login screen. My password is correct and the login does not jiggle as it would if the password was wrong. Please advise,

    Back up all data if you haven’t already done so. There are ways to back up, even if you can’t log in. Before proceeding,you must be sure you can restore everything to the state it’s in now. If you’re not sure you can do that, STOP.
    The procedure below may spare you the need for a clean reinstallation of OS X. If you don't feel comfortable carrying it out, don't. try.
    Briefly, you need to delete the following file:
    /var/audit/current
    If you already know how to do that, you can skip the rest of this message. Do it, and try again to log in.
    Boot in single-user mode by holding down the key combination command-S at the startup chime. If you’re using an external USB keyboard, it must be plugged directly into a built-in port on the Mac, not into a hub. Release the keys when you see a black screen with scrolling white text. In this mode, there’s no graphical interface; just a command line. Initially, you can’t make any changes to files.
    When the text stops scrolling, and you see a line ending in a pound sign (“#”), type the following command:
    mount -uw /
    You must type the command exactly as given, with no mistakes. If you don’t feel able to do that, STOP. At this stage, no harm will be done if you make a mistake, but later, it will be. Press the return key.
    Next, type the following command:
    rm -i /var/audit/current
    Press return. You should get the following output:
    remove /var/audit/current?
    If that's not what you get, STOP. Type the single letter N, press return, and try again. Otherwise, type the single letter Y and pressreturn.
    Finally, enter the command:
    exit
    Press return. The text will start scrolling again, and then the system will reboot. Try again to log in.
    Credit for this solution to ASC user AnthonyTW.

  • PORTAL screen got down

    hi all ,
    i am working for ess mss portal , all of a suddden portal screen got down with unwanted sizing , kindly suggest me .....how to get default sizing ...any idea ?

    HI Jawla,
    1) apologies, i was busy yesterday and dint see your mails and SDN to reply u back
    2) i already told you , you need to specify the correct path of the services, if the path was wrong how it can be reflected. the path you specified doesn't contain any data so it was reflecting the blank page
    3) to reflect the old changes, you have the screen shot of old scenario which you have attached in SDN, you can make the changes in the same way
    i implemented this scenario in my project one year back....it was working fine with no issues...i feel very bad as mentioned as don't try this scenario it will collapse your portal
    Sorry if i troubled you at any part on this issue
    Regards
    Rajesh

  • Calling portal screen from workflow and required two level approvals to approve in portal

    Hello Experts,
    I have a requirement that, I would trigger a process order approval workflow from SRM SUS portal. Agent when he clicks the link in the attached mail, it has to take him to the portal screen to approve and it has to go to next level manager for the approval. Once both the managers approves, the approved quantity should be reflected in the SRM SUS portal for the order.
    I have good experience in SAP WORKFLOWS in ECC. However; I have never worked on workflows through webdynpro and never worked on SRM portals as well.
    Please help me in completing this scenario. I have found the proper button in the portal to trigger the workflow. Please guide me the best approach to design and how should I pass webdynpro application link to agent mail with the parameter Order. and how can i bring the control back to my workflow.
    Please help me in
    Thanks in advance. Points will be rewarded.
    Govardhan Rao.

    Hi,
    Check out this link.
    [Re: Workflow Notification problem-URL text is broken in middle.]
    Hope it helps.
    Regards,
    Raj

  • Need to select current tab (dynamically generated) while navigation back

    Hi,
    Jdev 11.1.1.3 version.
    In my sample application I have two pages, DynamicTab.jspx and NextPage.jspx. In DynamicTab page I have dynamic tab (number of tabs depends on the data in db). Also have one 'Next' button. While clicking on 'Next' button we can navigate to NextPage.jspx. In NextPage.jspx I have only one 'Back' button to navigate back to 1st page.
    Lets assume I have 3 records in the db as a result 3 tabs will be there in the DynamicTab page. I have selected 2nd tab and then navigated to NextPage.jspx.
    While navigating back to 1st screen I see the 1st tab is selected not the 2nd one.
    My requirement is the current tab need to be selected while navigating back again (not the 1st tab always)
    DynamicTab.jspx :
    <af:panelTabbed id="pt1">
              <af:iterator id="i1" value="#{bindings.EmpVO1.collectionModel}"
                           var="row">
              <af:showDetailItem text="#{row.Empname}" id="sdi1">
              <af:outputText value="#{row.Empid}"/>
              <af:outputText value="#{row.Empname}"/>
               </af:showDetailItem>
              </af:iterator>
            </af:panelTabbed>Any help will be appreciated.
    ~abhijit

    Hi,
    There is a similar use-case where I proposed a solution here:
    Re: ADF: Remembering which tab you came from and returning to it.
    But in your case you will need to construct the ShowDetailItem component Id dynamically for this solution to work.
    Gabriel.

  • Ordering the roles...in the portal screen

    i have created roles like...
    a  b c d e f...
    i want to make appear in my portal screen as
    b d a f c e
    what i have to do?
    i want the roles to be.....arranged..

    Hi,
    Right click on each role you have created  -> Open -> Object -> In properties look for property category <b>"Navigation"</b> -> Look for property <b>"Sort Priority"</b> -> the role with lowest sort priority, appears as the first tab.
    By default, the sort priority is 100.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • Custom Columns in ECM MSS Portal screen not updating IT0759

    Hi,
    We are implementing ECM - MSS.
    We have enhanced IT0759 with custom fields.
    Some of those custom fields are display fields on Portal and some of them are input fields on portal. Display fields are working fine because we have specified custom function modules on the Data Provider block to derive their values during runtime.
    Whereas, for the input fields, we are unable to update the data back into IT0759 from the Portal screen. Since, Portal is calling the FM HR_ECM_UI_HANDLE_PROCESS_DATA directly and the custom fields are not available on the structure  PROC_PLANNED_TAB (refer  HRECM00PROC_INFO for fields).
    If anyone has suggestions, please provide...
    Thanks in advance...
    SM

    I think you can go for FM - HR_INFOTYPE_OPERATION
    Regards,
    Manoj.

  • Bring back old 3.6 screen dont like the new one on the 4.0

    bring back old 3.6 screen don't like the new one on the 4.0

    You can change the interface to look much like Firefox 3.6.x. See:
    *http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/
    *http://blog.fligtar.com/2011/01/16/how-to-customize-firefox-4s-ui/
    '''''Firefox 3 Theme for Firefox 4''''': https://addons.mozilla.org/en-US/firefox/addon/firefox-3-theme-for-firefox/
    *Add color home, back/forward and other buttons (like Firefox 3) to the Navigation Toolbar in place of the gray buttons in Firefox 4
    *See: http://ffaddons.game-point.net/ff3ff4/
    Also see:
    *http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    There are '''major''' changes to the user interface in Firefox 4.
    #The '''<u>MenuBar / Firefox button</u>'''. Turn on the Firefox 3 style Menu Bar on (Firefox button off) or turn the Menu Bar off (Firefox button on) using one of the following:
    #*HOLD down the ALT key while pressing the keyboard letters VTM. The Menu Bar will appear as in Firefox 3.6. This places a check mark next to "Menu Bar".
    #*Right-click in a blank space on a tool bar, click "Menu Bar" to check/un-checked (checked = display Menu Bar; un-checked = display Firefox button
    #*Using the Menu Bar: View > Toolbars, click Menu Bar to check/un-check (on/off)
    #*Using the Firefox button: click Firefox button > Options, click Menu Bar to check/un-check (on/off)
    #'''<u>Tabs on top</u>''' (above other toolbars). To change Tab Bar to a position below the toolbars as in prior versions, click "Tabs on top" to check/un-check (on/off)
    #*HOLD down the ALT key while pressing the keyboard letters VTT. This checks/un-checks (on/off) "Tabs on top".
    #*Right-click in a blank space on a tool bar, click "Tabs on top" to check/un-checked (checked = Tabs are on top; un-checked = Tabs are below toolbars)
    #*Using Menu Bar: View > Toolbars
    #*Using Firefox button: click Firefox button > Options
    #*Use one of the above procedures to again show "Tabs on top" (checked)
    #'''<u>The Status Bar has been eliminated and replaced by the Add-on Bar</u>'''. You can restore some of the prior Status Bar functionality on the new Add-on Bar by
    #*installing the Status-4-Evar extension: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    #*Be sure the Add-on bar is diplayed at the bottom of the Firefox 4 window
    #**Ctrl+/ toggles the Add-on Bar displayed or not displayed
    #**Firefox button > Options '''''OR''''', if you are optionally using the Menu Bar instead of the Firefox button, View > Toolbars '''''OR''''' right-click in a blank space on a toolbar::
    #***if no check mark next to Add-on Bar, click Add-on bar to place a check mark.
    #***If Add-on bar has a check mark, it is already displayed
    #*then drag 3 widgets to the Add-on Bar from the Customize Toolbar window (the 3 widgets are: Status Text, Progress Meter, Download Status). To open the Customize Toolbar window
    #**Using Menu Bar: click View > Toolbars > Customize
    #**Using Firefox button: click Firefox button, click small arrow to the right of Options, click Toolbar Layout
    #**Note: Instead of either of the above, you can do as in the past, right-click an empty space in the Navigation toolbar and choose Customize
    #*set options for Status-4-Evar:
    #**Menu Bar: Tools > Add-ons, click on Status4Ever, click Options, set options to your liking
    #**Firefox button: click Firefox button, click Add-ons, scroll down to Status-4-Evar, click Options, set options to your liking
    #Firefox 4.0 has a '''''combined''''' Go/Reload/Stop button that is positioned at the far right of the location bar.
    #*During the page load process it shows as a Stop button and after the loading has finished the button is changed to a Reload button. If you type in the location bar then that button becomes a Go button.
    #*You can middle-click that button to duplicate the current tab to a new tab.
    #*In Firefox 4.0 you can move the Stop/Reload button out of the location bar and put them wherever you want on the toolbar. You can also make them appear as separate buttons on the toolbar.
    #** Open the "View > Toolbars > Customize" window to move them out of the location bar.
    #** Swap the two buttons or move them to their previous position at the left of the location bar.
    #** If the order is "Reload - Stop" to get a combined "Reload/Stop" button.
    #** Swap the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.
    <br />
    <br />
    '''There is a change in Firefox 4 in how Location bar search works.'''
    *'''''In Firefox 3.6.x''''', Location bar search uses Google "Browse by name" search. With the browse by name search, it performs a Google search and
    **if there is a clear match it will take you to the site
    **otherwise it shows the Google search result page
    *'''''Firefox 4's default''''' is
    **to perform a Google search and present the Google search results page '''''if''''' you type something which is not recognized as a URL
    **you must type a complete URL, such as www.youtube.com , to go directly to the site
    *'''<u>Also make sure you
    **are remembering Browsing History: Options > Privacy, [X] Remember my browsing history
    ***see: https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel
    **do not clear "Browsing History"</u>''' when using Clear Recent History or when closing Firefox :
    ***see: https://support.mozilla.com/en-US/kb/Clear%20Recent%20History
    *'''<u>To get the Firefox 3.6.x behavior in Firefox 4</u>'''. you need to change a hidden preference.
    *#Type '''''about:config''''' into the location bar and press the Enter key
    *#If you see a warning, zccept it (promise to be careful)
    *#A list of preferences will open
    *#Filter = keyword.URL
    *#Double-click on that preference in the lower pane
    *#A small window will appear; copy the line below and paste into the box in that small window (or type it into the box in that window '''''exactly''''' as shown below):
    *#*http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
    *See:
    **http://kb.mozillazine.org/About:config
    **http://kb.mozillazine.org/Keyword.URL
    **http://kb.mozillazine.org/Location_Bar_search
    <br />
    <br />
    '''You need to update the following plugin:'''
    *Next Generation Java Plug-in 1.6.0_23 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • HP G72 won't advance past initial HP screen

    After reformatting my hard drive, Windows booted fine. I started installing the many Windows updates that were needed and when I came back to my computer, it seems that it restarted and was stuck on the initial HP screen. Now it will not advance past this screen and it will not respond to a startup CD or pushing any buttons like F8 or ESC does nothing. Did something go wrong with the hard drive?

    I had this problem several months ago and it turned out to be my hard drive. If you have Apple Care or if you're still under your 1 year warranty Apple should replace it free of charge.

Maybe you are looking for

  • NetBoot & NetInstall across subnets

    I've recently begun deployment of our NetBoot servers within our organization. Everything is working as expected, but I'd like to be able to NetInstall across subnets without having to add a helper address to the routers. Basically we're in a large o

  • QUERY WHICH COUNTS NUMBER OF TIMES WORDS/LETTER APPEAR IN SENTENCE - Thanks

    I have this query below it gives the number of times a txn is hign comfort and Approved .. nyumber of times txn is meduim comfort and approved etc. There is a futher line whihc shows the number of times txn is blacklisted BL COUNT. I am trying to get

  • Modify the Net price of an existing Sales Order

    Hi, I got a requirement to modify the Net price of an existing Sales Order. I have called BAPI  "BAPI_SALESORDER_CHANGE" for this purpose but its not working. I have passed the New Price in  CONDITIONS_IN table parameter. Can you help me with any BAP

  • DTW - Upload Purchase Credit Notes with WithholdingTax

    When I try to upload Purchase Credit Notes using WithholdingTax via DTW, I got an error says: "All amounts in the Withholding tax data must be in the document currency", the error comes from "WithholdingTaxData" template.   When I upload just "Docume

  • My application occer the error message frequently,pls help me

    113127.hostname!WSH.49282: WSNAT_CAT:1287: WARN: Forced shutdown of client; user name 'XM0001_YY05'; client name '##.##.##.##'; workstation address '//##.##.##.##:MMMMM'