How to register a Navigation Connector in EP6

Hi,
I am trying to build a navigation connector in EP6 SP2 and I see that the PDK documentation says "The Portal Development Kit (PDK) contains a navigation connector implementation to navigate to the content of the PDK." but I cannot find it anywhere.
I think I figured out how a navigation connector should look like, but I am stuck at one point: according to the PDK the navigation connector has to be registered in the afterInit() of the navigation connector service via a call of the registerConnector(String connectorKey, INavigationConnector connector)-method of the INavigationConnectorRegistration interface . What I cannot find out is how to get a reference to this INavigationConnectorRegistration ? Any help is greatly appreciated !
Thanks,
Heiko

Excellent, Detlev. Thanks. Your reply answers my posting, although some questions (in my mental representation) remain.
Specifically, I do not understand the separation of Navigation Service and Navigation Connector.
In my understanding my navigation iView retrieves a navigation tree structure from my navigation service.
Option 1:
in the getXXXNodes() methods of my navigation service I construct (from whatever source) a navigation tree structure (implementing INavigationNode/NavigationNodes). No need for a navigation connector here. Is that acceptable (though probably not recommended) behaviour ?
Option 2:
my navigation service in turn retrieves the navigation tree structure from a navigation connector which I built.
Three questions follow from that:
a) Do I (my navigation service, that is) select which connector should be used ?
b) If the answer to a) is yes, why is it then necessary to register my custom navigation connector at all ?
c) what is the role of the ConnectorKey with which I register my connector ? If I got a) and b) wrong, then somebody (who ?) must use this ConnectorKey and select the appropiate connector.
I am grateful for any advice.
Thanks.

Similar Messages

  • Navigation Connector

    Hi!
    I'm following the tutorial on help.sap.com how to create a Navigation Connector. Now that i have implemented all the classes and created a IService i get some ClassCastException errors in afterInit() of my service: (expected class is CachedNavigationService, written class is INavigationConnectorRegistration )
    Kernel Version: 7.30.3710.141224.20111013132716
    CODE
    INavigationConnectorRegistration service =
            (INavigationConnectorRegistration)
                getContext().getService(INavigationService.KEY);   
    if (service != null)
            service.registerConnector(NAV_CONNECTOR_PREFIX, mNavigationConnector);
    LOG
    Caused by: java.lang.ClassCastException: class com.sapportals.portal.navigation.cache.CachedNavigationService:WCE_PRIVATE_CL_sap.com/com.sap.portal.navigation.servicecom.sap.engine.boot.loader.ResourceMultiParentClassLoader11fb19c7alive incompatible with interface com.sapportals.portal.navigation.INavigationConnectorRegistration:sap.com/NavigationConnectorcom.sap.engine.boot.loader.ResourceMultiParentClassLoader32915dc7aliv
    at main.EPiNavigationService.afterInit(EPiNavigationService.java:45)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$1.service(RequestDispatcherFactory.java:428)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.afterInit(RequestDispatcherFactory.java:413)
    at com.sap.portal.prt.broker.PortalServiceItem.afterInit(PortalServiceItem.java:435)
    So when retreiving a service from the context with the given INavigationService.KEY from the help.sap.com example the portal IServiceContext returns CachedNavigationService instead of INavigationConnectorRegistration.
    Anyone has a suggestion what to do?
    (also tried to use the CachedNavigationService but then i lack ICacheNavigationService interface and can not find the correct jar and do not have access to OS-level login for the servers).
    Thanks in advance!

    This was due to invalid version target Enterprise Portal vs NWDS. Problem solved.

  • No detailed navigation with navigation connector

    Hi at all,
    I want to implement my own navigation connector in order to extend the portal navigation. So far I have been able to successfully register the navigation connector and the portal already renders my first and second level navigation nodes. However, the portal will not show a detailed navigation for my navigation nodes in higher levels than the first and second.
    I have validated that the child nodes are defenitely there, they just won't show. In fact, the whole detailed navigation iview seems to not show up.
    Does anybody have an idea why the detailed navigation does not show up for navigation nodes that were registered with a navigation connector?
    Best regards,
    Jan Marquardt
    Edited by: Jan Marquardt on Oct 20, 2008 2:08 PM

    Hello Jan,
    Even i am facing this problem. when i select the workset in the toplevel navigation, i am not able to view the iviews in detailed level navigation. where do i get Visualization property attribute.
    kindly provide the steps.
    Thanks
    Eben

  • How to register jdbc Driver in Applet

    Dear Sir,
    i am running a applet through jsp
    i am using following softwares
    jakarta-tomcat-4.1.10
    mysql 3.23.52-max
    jsp
    j2sdk1.3.1
    Linux 7.3
    Netscape 4.*
    the problem is when i am trying to load the applet in jsp
    <jsp:plugin type="applet" code="XX" width="XX" height="XX">
    </jsp:plugin>
    it gives following message
    the page contains information of type
    (application/x-java-applet;jpi-version=1.4) that can we viewer with
    appropriate Plug-in , so i am using applet tag
    but it is running fine in browser if i give .html extension
    the other problem is , my normal jsp are running and getting connected to Mysql
    but when i use applet it is giving error ClassNot Found Error, i have included jar
    file mysql-connector-java-3.0.1-beta in my class path
    do i have to install the jar file on the client m/c as applet runs on client m/c
    how to register driver in Applet
    thank you
    sunil

    I'm not sure about the jsp page thing but to get your mysql working in the applete what you need to do is in the <Applete> tag where you have archive=myclass.jar add this to it archive="myclass.jar, mysql-connector-java-3.0.1-beta.jar"
    make sure the mysql...jar is in the same dir as your jar file and the database server is on the same machine. It won't let you connect from an applete to a database that's on a diffrent machine. You'll get an access denied error.
    For the jsp page try putting your class as the code="my.class" and add archive="same stuff to fix <Applete>"
    that might work.
    Hope I gave you enough info to get you on the right track.
    Matt S.

  • How to deploy OWB dblink connector in OMBPlus?

    Hi,
    Can you please let me know how to deploy OWB dblink connector in OMBPlus? For the deployment of mapping, we using command:
    <<OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' \ADD ACTION 'DEPLOY_MAP' SET PROPERTIES (OPERATION) \VALUES ('CREATE') SET REFERENCE MAPPING \'UII_MAP_NIS_ISMC'>>.
    So, can you please let me know what command should we use and what steps need to followed to deploy OWB dblink connector in OMBPlus:
    Thanks & Regards,
    Lenin

    You should do something like this:
    # connect to the design repository and get the lists of objects to be deployed
    OMBCONNECT $owbuser/$owbpass@$host:$port:$sid
    # set the project and target module here...
    set proj MY_PROJ
    set targetmodule TGT
    OMBCC '/$proj'
    OMBCC '$targetmodule'
    set ffloc LOC_SRC_FILES
    set targetloc LOC_TGT
    # set the connector name:
    set tgttoff LOC_TGT_LOC_SRC_FILES
    # registering the target location
    OMBREGISTER LOCATION '$targetloc' \
    SET PROPERTIES (HOST, PORT, SERVICE, SCHEMA, PASSWORD) \
    VALUES ('$host', $port, '$sid', '$rtuser', '$rtpass')
    # register the flatfile location:
    OMBREGISTER LOCATION '$ffloc' \
    SET PROPERTIES (HOST, ROOTPATH) \
    VALUES ('$host', '$rootpath')
    # deploying the target to file connector:
    OMBCC '$targetmodule'
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'OME_PLAN0' \
    ADD ACTION 'OME1' SET PROPERTIES (OPERATION) VALUES ('CREATE') \
    SET REFERENCE CONNECTOR '/$proj/$targetloc/$tgttoff'
    puts "Deploy Plan0"
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'OME_PLAN0'
    Regards:
    Igor

  • Problems Navigation Connector

    Hi,
    we have upgraded EP form NW04 SP14 to NW2004s SP10. We have an customer specific navigation connector which worked fine in the old portal, but the connector won't work in the upgraded version. The behavior is more than strange: we get the toplevel entries of the menu items from the navigation connector but not the according subitems. I have extended the navigation connector in a way that every time when get initial nodes is called I write the complete structure to the log file. The structure delivered by our navigation connector seems to be ok, all subitems are available. But the portal framework only displays the top level items.
    Have anyone had an issue like this before and an idea how to get the connector working as in the old enviroment?
    Thx and regards
    Lars

    Hi Hermes,
    when you upgraded from NW04 SPS14 to NW04S SP10 you will definetly have a change within the NavigationService esp. for the Caching machanism.
    You could try to call /irj/go/portal/prtroot/com.sap.portal.navigation.service.CacheAdministrator and check if caching is turned on for your own Connector.
    If it is turned on just turned it off. This affects you when your "listBinding" implementation returns different nodes for e.g. for different users and you have not implemented a CacheDiscriminator in your Connector, because the children list is cached for every navigation node  (key by default == nodeName. so one cache entry per node).
    Here is a link to the Navigation Cache in NW04s
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/015f0f8f726f70e10000000a11466f/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/43/015f0f8f726f70e10000000a11466f/frameset.htm</a>
    Hope it helps,
    Frank

  • How to register the recipient when create job by function

    I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
    Can you tell me how to register the recipient when create the job.
    ( in sm36, it is easily to do but how to do in coding? )
    regards,
    slam

    Hi
    I think in Back ground using the above fun modules you can't send a mail to the receipient.
    see the use of the above fun modules;
      IF p_bjob = 'X'.
        CONCATENATE sy-cprog sy-datum sy-uzeit
                    INTO jobname SEPARATED BY '_'.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = jobname
          IMPORTING
            jobcount         = jobcount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          IMPORTING
            out_archive_parameters = arc_params
            out_parameters         = print_params
            valid                  = valid
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF valid = chk.
          SUBMIT ybrep
                          WITH < sel Screen>
                          AND RETURN
                          USER               sy-uname
                          VIA JOB            jobname
                          NUMBER             jobcount
                          TO SAP-SPOOL
                          SPOOL PARAMETERS   print_params
                          ARCHIVE PARAMETERS arc_params
                          WITHOUT SPOOL DYNPRO.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = jobcount
              jobname              = jobname
              strtimmed            = 'X'
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              invalid_target       = 8
              OTHERS               = 9.
          IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            MESSAGE i029 WITH jobname.
          ENDIF.
        ELSE.
          MESSAGE s000 WITH text-003.
          STOP.
        ENDIF.
      ENDIF.
    Reward points if useful
    Regards
    Anji

  • How to register multiple ipods on same email account

    how do register multiple ipods using the same email account?

    Maybe here
    How to use multiple iPods, iPads, or iPhones with one computer
    You can have an unlimited number of devices that you own or control for private use tied to one iTunes account. But you have only have five tied to one iCloud account.
    To alllow FT and Messagibng between them see:
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • How to customize top navigation css in SharePoint 2013?

    Hi All,
    How to customize top navigation css in SharePoint 2013?(Want to add colors for each link in the navigation)
    My current page is like-
    Expected-

    Hi Sam,
    Please check the following article about how to style the top navigation with custom css.
    How to: Brand snippets by using CSS in SharePoint 2013
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to register custom report under Custom Development Application

    Hi 2 all
    How to register custom report under the Custom Development application in R12 vision DB, and also confirm location/folder of Custom Development application in R12.
    Thanks
    Zulqarnain

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • A friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as yahoo address is no longer valid. Erasing the phone doesn't solve the issue. How to register the phone with Apple?

    A computer illiterate friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as his yahoo address is no longer valid. Erasing the phone doesn't solve the issue as the Apple server identifies the hardware as registered. How to register the phone with Apple?
    I helped him create a new email address and new iCloud account on my Mac but when we try to register the phone with Apple it says: Maximim accounts limit reached for this device. How can he register the phone? I read different threads and found out that only Apple care can do that. We're in Romania and don't know where to call. Any suggestions on how we fix this?

    When I checked the support site for Romania, you apparently don't have an Apple Care contact center.  You "may" try calling the US Apple care number to verify the account and have the password reset sent to a different email address.  800-694-7466

  • How to register the phone number of my friends to imessage,and i able to contact them or call them?

    I buy my ipad in qatar duty free i mean ipad4 wifi +cellular i thought i can use it for text or call by means of phone number only but im dissapoint when i used it and found out that i have to register all numbers to imessage and i cannot find how to register it.please help me to solve this matter.

    You have a password, so good move on your part.  Whether you erase it or the thief does, they still get to use the iPhone as theirs.  Which is more important (pick one), protecting your data or punishing the thief?
    Ringing occurs at the carrier.  Chances are you're going to voicemail after only two or three rings.  If you have an iCloud backup also a good move.  Re-read my question in the first paragraph.

  • How to register youtube videos on mac hard drive?

    how to register youtube videos on mac hard drive?
    iMac 21.5 po, mid 2010 .Processor Intel i3

    You cannot. Doing so would violate YouTube's Terms of Use.
    Best of luck.

  • How to register discoverer report

    Can some one tell me how to register discoverer report from scratch
    thanks in advance

    You'll have to wait for the next release for Discoverer integration.

  • Hi , i've ipad 4G . i live in dubai (UAE) , i make apple id but cannot able to download any apps so plz suggest me. How to register apple ID without cradit card on Itune in UAE region ?

    hi , i've ipad 4G . i live in dubai (UAE) , i make apple id but cannot able to download any apps so plz suggest me. How to register apple ID without cradit card on Itune in UAE region ?

    Step 1 to 8 with pictures attached:
    1. Select any free app
    http://i1224.photobucket.com/albums/ee374/Diavonex/5622c304.jpg
    2. Tap install App
    http://i1224.photobucket.com/albums/ee374/Diavonex/9c71cbba.jpg
    3. Just tap Create New Apple ID
    http://i1224.photobucket.com/albums/ee374/Diavonex/3564262e.jpg
    4. Confirm your country; fill in your country's name
    http://i1224.photobucket.com/albums/ee374/Diavonex/15af6726.jpg
    5. Agree with Term and Condition
    http://i1224.photobucket.com/albums/ee374/Diavonex/a50cb07a.jpg
    6. Fill in your Apple ID and Password
    http://i1224.photobucket.com/albums/ee374/Diavonex/f942f7f5.jpg
    7. Create and answer secret question
    http://i1224.photobucket.com/albums/ee374/Diavonex/774b1991.jpg
    8. Select NONE for billing information
    http://i1224.photobucket.com/albums/ee374/Diavonex/6f6e54ff.jpg
    Other pictures
    http://i1224.photobucket.com/albums/ee374/Diavonex/553a2651.jpg
    http://i1224.photobucket.com/albums/ee374/Diavonex/52783119.jpg
    http://i1224.photobucket.com/albums/ee374/Diavonex/a5fcfc6b.jpg

Maybe you are looking for

  • Open Office Documents? (.dot)

    Anyone know of a viewer for the iPad that recognized Open Office documents? I have GoodReader which is great. Especially since it connects to Clouds. However, it doesn't know what to do with these docs.

  • Image Capture connects to card reader but not camera

    Image Capture and iPhoto do not detect new connected Canon camera.  Will read card via card reader.  Camera will connect to older macbook iPhoto and Image Capture but not my iMac.  Image Capture in Mountain Lion has no perferences anymore.  Tried Rep

  • Error in ADF View Object Range Paging ?

    Hi all, I've used the range paging technique (similar to the paging action example posted by Steve Muench). It works for most cases. However, I found a strange behaviour with getEstimatedRangePageCount call as described below : e.g. VOs on Table A(ke

  • HELP : Error in CreateOUIProcess(): -1

    Error in CreateOUIProcess(): -1 :Bad Address I have this message when i launched ./runInstaller I need your help :-) Thanks null

  • Can't get two airport expresses to work simultaneously

    Just added a second airport express (both 802.11n, both updated) solely to listen to music from iTunes. Non apple router. Both are working fine separately with green light on but when I try to play through both at once (using "multiple speakers") the