How to implement a help feature in iView Tray

How to implement a help feature in an iView Tray?

Hi Gregor,
Could the answer be connected to the class com.sapportals.portal.prt.component.SystemModes ?
I can't really see how this class is called, but it gives the error message you are talking about
The method doHelp for SP2 Patch3 is provided below
public void doHelp(IPortalComponentRequest aRequest, IPortalComponentResponse aResponse)
        IPortalComponentContext context = aRequest.getComponentContext(IPOMConstants.DEFAULT_MODE);
        IPortalComponentProfile profile = context.getProfile();
        String helpName = profile.getProperty("com.sap.portal.iview.HelpName");
        if(helpName == null)
            helpName = profile.getProperty("HelpName");
        String helpURL = profile.getProperty("com.sap.portal.iview.HelpURL");
        String isolationMode = profile.getProperty("com.sap.portal.reserved.iview.IsolationMode");
        if(context != null)
            if(helpName != null)
                String componentName = context.getComponentName();
                Locale locale = aRequest.getLocale();
                String language = locale.getLanguage();
                String helpPath = "help/" + language + "/" + helpName;
                IResource resource = aRequest.getResource(componentName, "page", helpPath);
                if(resource.isAvailable())
                    aResponse.addResource(resource);
                else
                    aResponse.write("<b>Sorry, no help available.</b>");
            } else
            if(helpURL != null && helpURL.length() > 0)
                if(helpURL.startsWith("http://"))
                    if(isolationMode != null && isolationMode.equals("URL"))
                        HtmlIFrame frame = new HtmlIFrame();
                        frame.setStyle("width:100%; height: 100%;");
                        frame.setSrc(helpURL);
                        aResponse.write(frame.toString());
                } else
                    String componentName = null;
                    if(helpURL.charAt(0) != '/')
                        componentName = context.getComponentName();
                    } else
                        int componentNameIndexEnd = helpURL.indexOf('/', 1);
                        componentName = helpURL.substring(1, componentNameIndexEnd);
                        helpURL = helpURL.substring(componentNameIndexEnd);
                    IResource resource = aRequest.getResource(componentName, "page", helpURL);
                    if(resource.isAvailable())
                        aResponse.addResource(resource);
                    else
                        aResponse.write("<b>Sorry, no help available.</b>");
            } else
                aResponse.write("<b>Sorry, no help available.</b>");
The doOnNodeReady method is also rather interesting. Perhaps another way to solve it?
protected void doOnNodeReady(IPortalComponentRequest request, IEvent event)
        NodeMode nodeMode = request.getNode().getNodeMode();
        if(nodeMode == NodeMode.HELP_MODE)
            IPortalComponentContext context = request.getComponentContext(IPOMConstants.DEFAULT_MODE);
            IPortalComponentProfile profile = context.getProfile();
            String helpName = profile.getProperty("com.sap.portal.iview.HelpName");
            if(helpName == null)
                helpName = profile.getProperty("HelpName");
            String helpURL = profile.getProperty("com.sap.portal.iview.HelpURL");
            String isolationMode = profile.getProperty("com.sap.portal.reserved.iview.IsolationMode");
            if(context != null && helpName == null && helpURL != null && helpURL.length() > 0 && (isolationMode != null && !isolationMode.equals("URL") || isolationMode == null) && helpURL.startsWith("http://"))
                request.redirect(helpURL);

Similar Messages

  • How to implement secure help in SharePoint 2010?

    Hi,
    We are having a sharepoint site running over HTTPS. When I click on help link given on top right side, I get a security warning saying that only secure content content can be displayed. This is probably due to the non secure content(http) used by microsoft
    help.
    Can anyone please suggest how to implement microsoft help having secure content?
    Please see screenshot below:

    Yes office.microsoft.com URL works when I use https:// instead of http:// .
    Can you please let me know in which file this help function is used?
    Please provide me with an example if possible.

  • How to implement Search Help in Interacive Form based on WebDynpro Java?

    Hi Experts,
    How to implement Search Help in Interacive Form based on WebDynpro Java?
    Could someone please provide the prerequisites and the code for the same.
    Regards,
    Shobhit

    Extend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
    Regards
    Sumit

  • How to implement SEARCH HELP for input field in WDA

    Hi All,
    I am doing a tool for my team. in this tool there are 4 input fields to show different processes. I implemented the 4 input fields and also bind the respective tables to these fields successfully. Actually I want to filter the data between 2 fields . Means the data in the 2nd input field should be based on the 1st input field. Means when I'll select for example 'CHI' (code for CHINA) in the 1st input field the 2nd field meant for country name should show all country name with value 'CHINA'. But the problem is that all values related to each field are in different table with no foreign key relationship and also some combinations are in single table..
    I have tried the import and export parameter method for search help but no luck till now.
    Can anyone please suggest me how to implement this scenario..
    Thanks in advance...
    sekhar

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

  • How to Implement Auto tabbing feature in a table region???

    Hi All,
    I am trying to implement auto tabbing feature in one of my OAF page using java script which is actually working for individual items but
    while implementing the same for a table bean its not working. is there any way to implement this feature in OAF without using java script?
    if not could anyone give some rough java script for this feature? please this is urgent..
    Thanks in advance
    Sree

    Sree,
    check this if it helps ;
    https://forums.oracle.com/thread/963732
    Not sure we can set Focus in : PFR ,  I hope it is possible in only PR.
    Regards
    Sridhar

  • How to implement Value Help for Product ID?

    Hi,
    I have a Z-Component where I want to use the value help of the Product ID. I found several components which use this value help for Products but I can't get it to work in my component properly.
    Does anybody have a short tutorial how I need to proceed?
    Thanks in advance.

    There is a search component that can be used for this purpose.
    This is one function out of several. I don't have the complete implementation at hand but this will give you the first idea.
    CALL METHOD cl_crm_uiu_prod_tools_search=>eh_onclosepopup_return_product     
       EXPORTING       
          ir_search_popup = search_popup     
       CHANGING       
          cr_context_node = lv_target_node       
          cv_index        = gv_tableindex. 

  • How to implement search help instead of match code objects table in program

    Hi,
    We are now in upgrade process of code remediation ( From 4.6c to EC6.0).
    We have created search helps instead of matchcode object table. This match code object table M_VMVLC has been deleted
    in EC6.0.  And search help VMVLC is available.
    In the program, they have used <M_VMVLC > -<fieldname> i.e. <tablename> - <fieldname> in declaring parameters,
    in the 'into' clause of select statement, in the 'from' clause of select statement, in the 'write' statement.
    I want to know how to replace this matchcode object table with the search help in the program.
    Thanks,
    Abirami.

    Hi,
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
    Regards,
    Amit

  • How to implement "Application Help" for activated Businiess Functions & Add Ons?

    Dear all
    I am setting up a SAP NetWeaver System with Business Function INSURANCE activated (for the use of FS-CD) and the reinsurance Add On FS-RI installed.
    I am able to set up "Application Help" in transaction SR13 for the "ERP/ECC part", meaning: When I open some "normal" ECC/ERP transaction, like MM03 oder PA20 and click on ("Help" in menubar >) "Application Help" in SAP Gui, a browser opens an shows me the context sensitive online help page for the corresponding transaction. (For PA20, this is "Displaying HR Master Data", for MM03 it's "Displaying Material Master Records")
    If I open an FS-RI transaction (like "/MSG/H_BORD1" oder "/MSG/R_V3"), I am only forwarded to the general SAP Library. But there is an online documentation available ("SAP for Industries" > "SAP Insurance Management" > ...)
    So, how to link the Business Functions and Add Ons with the Online Help?
    Is there a simple way to set up "Application Help" for activated Business Functions and installed Add Ons?
    I found some (online) documentation, but this is all more confusing than helping...
    Thanks for any help!
    Frank

    Second, when you create a Core Data Document Based application, XCode generates the MyDocument class, derivating from NSPersistentDocument. This class is dedicated to maintain the Managed Object Model and the Managed Object Context of each document of your application.
    There is only one Context and generally one Model for each Document.
    In Interface Builder, the Managed Object Context must be bound to the managedObjectContext of the MyDocument instance: it's the File's owner of the myDocument.xib Nib file.
    It's not the case in your Nib File where the Managed Object Context is bound to the invoiceID of the Invoice Controller.
    It's difficult to help you without an overall knowledge of your application, perhaps could you create an InvoiceItem Controller and bind its Content Set to the relationship of your invoice.

  • How to hide particular help feature...

    My kitten sat on the keyboard and since then there has been a 'commentary help bubble' on the screen - it is a black semi-transparent box with white text that comments on every action I take, as well as highlighting certain buttons and spaces on the screen.  I have no idea what this feature is called and desperately want to hide it! Any help would be great - I swear the kitten knows more features of the mac than me!

    go to "system preferences">universal access> and under the seeing tab, turn off "voice over". Kitties love keyboards, I catch mine sleeping on mine

  • How to implement F4 help in table control

    Hi all,
    I am working on a table control in a module pool program. I have three fields in table control , material no. , material description and quantity. my requirement is , in table control , i need to provide the F4 help for material no. and material description, in a way, if i select material no. using F4, the corresponding material description field would be entered automatically in the table control field.
    Pls suggest me on this , if possible pls give me code or logic to do this.
    Thanks
    Saravan
    Moderator message: please don't post the identical question again after the first attempt was locked for good reasons. Search for available information before asking.
    Edited by: Thomas Zloch on Mar 3, 2011 11:54 AM

    Hi Saravana,
    Please search in SCN before posting. You will find many threads related to this question. The basic logic is you have to get the selected row of table control  using DYNP_GET_STEPL function in your POV. Then using function DYNP_VALUES_READ read the material and create the description to be displayed. You have use function F4IF_INT_TABLE_VALUE_REQUEST to display search help.

  • Implementing auto refresh feature in POWL

    Hi,
       I need to know how to implement auto refresh feature in POWL ( Personalize Object Work List ) after pressing any button present in the tool bar on POWL.
    I think this will be implemented in method HANDLE_ACTION of POWL. I need to know how to implement it.
    Regards,
    Maqsood

    Hi Maqsood, could you provide a little more info.
    By pressing right click (or ctrl-right click is sp7 or earlier) you can find the name of an button
    and the name view and teh WD Comp name. All useful if we are to help.
    Also im not sure what autorefresh should do.
    Did you see the start plugs on the POWL ?
    There is a refresh option there.
    How is the POWL being launched ?
    regards
    Phil

  • How to implement tool-tip for the list items for the Choice column in SharePoint 2013

    I had created a simple list with a "Choice" column, i have three entries in my drop-down, 
    First Entry
    Second Entry
    Third Entry.
    If i select any entries in drop-down and hour-over (Second Entry), a
    tool-tip need need to show. 
    Is it possible? If yes how to implement any help will be appreciated.

    Hi,
    We can use JavaScript to achieve it.
    The following code for your reference:
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript">
    $(function () {
    $("select[title='Choice']").change(function(){
    Tip($(this).val());
    $("select[title='Choice']").mouseout(function(){
    UnTip();
    </script>
    Download wz_tooltip.js:
    http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to use F4 help on PDF form

    Hello,
    I'm using Adobe Interactive Form with WebDynpro for Java.
    I'd like to use F4 value help on Adobe Form.
    Does anyone know how to implement F4 help on PDF form ?
    Regards,
    Koji.

    Hi,
    SAP Note: 1013227.
    But you should have ZCI based forms. Note: 1055911 and 1042394.
    It always makes sense if you specify the NetWeaver SP release you are on along with any other information that you think is important.
    Best Regards,
    Krish

  • HELP! Export indd- epub AUTOMATION. How to Implement! thanks!

    Hi. In need some help. Im an intermidiate .net programmer. i need  some help on how to implement a simple automation on exporting indd to epub.
    What language suitable to use?
    do i need indesign server ion this simple automation?
    Thanks!

    Jerome,
    These days, Flex is the best way to "drive" InDesign and InDesign Server.
    Because it has all the hooks for telling InDesign what you want it to do,
    and because you can quickly build something with a nice UI. So, I think you
    want to build an InDesign extension, using Flex / ActionScript.
    A big help would be to use the Flex-based new-for-InDesign-5.0 Creative
    Suite Extension Builder system. See
    http://www.adobe.com/devnet/creativesuite/cs-extension-builder.html
    A CS Extension Builder extension is a full AIR application, so it has full
    access to the file system, enabling you to implement hot folders if you
    wish.
    The hard part is figuring out how to "translate" into an ePub format. You
    could have a team of several programmers working for a year and still not
    have a perfect system to do this.  BUT, you're in luck, because Adobe has
    already written software to convert to HTML. It doesn't do a perfect job,
    of course, but Adobe put a lot of effort into it.  And ePub format is
    HTML5-based, I believe.
    So, probably what you want to do is first tell InDesign to run it's
    InDesign-to-HTML conversion feature, and then post-process the result into
    the desired ePub format.
    Cheers,
    Stephen
    http://sterlingcomputing.com

  • How can we implement product key feature while installing AIR application?

    How can we implement product key feature while installing AIR application?

    Hello,
    Could you try using /Q or /QS parameter?
    http://msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • My keyboard doesn't work when I connect to a Windows 7 computer with Remote Desktop.

    I got a new computer at work that has Windows 7 Professional 64-bit on it.  I set up a Remote Desktop connection from my iMac at home and connected.  However, when I tried to use the keyboard, nothing happened.  After a little pecking I found that th

  • Writing to .txt file

    Hi Thanks for any help and advice i got with my last problem, an other small problem i have. I'm tring to use a gui to write information to a file, its compling with no errors, creates the file but won't write any thing to it. I have it inside the tr

  • XP on my MBP and an external display

    I am posting here because I got no love in the boot camp directory. Hi, I have a macbook pro (2.33 GHz intel core 2 duo) that I use for both work and home. We are remodeling our home and I am finally getting a home office put in. I have dreamed for y

  • ERROR: DW050: The following payload errors were found during install:  ERROR: DW050:  - Adobe Muse:

    Having no luck installing anything. Even reinstalled Windows 7 Ultimate. Starting out with Muse since it seems to be a small file size. No luck...anyone have any ideas? This is what I get: Exit Code: 6 Please see specific errors and warnings below fo

  • Safari has gone dark

    safari is dark.  Can't do anything.  Everything else is working fine.