Getting pcd location of iview dynamically

Hi,
I need the pcd loaction of a particular iview so that it can be provided as a reference to a link,since on clicking the link from a different iview that particular iview opens.Can you pls. let me know
1.How to dynamically fetch the PCD location of an iview in a DynPage.
2. I have created a seperate project for this purpose in NWDS.Do i need to modify the portalapps.xml

Hi Ranjan,
     Blocks might be confussing for you but let me make it simple. Definately you can make use of IPcdContext Factory to get the PCD location for a particular iview. I am attaching a simple code which will you clear you how to implement and fetch the PCD.
     public List getPCDContents(IPortalComponentRequest request) throws Exception{
          try {
          Hashtable env = new Hashtable();
          env.put(IPcdContext.SECURITY_PRINCIPAL, request.getUser());
          env.put(
          Context.INITIAL_CONTEXT_FACTORY,
          IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
          env.put(Constants.REQUESTED_ASPECT, "com.sap.portal.pcd.gl.PersistencyAspect");
          InitialContext ctx = null;
          DirContext dirCtx;
          List iViewList = null;
          ctx = new InitialContext(env);
          dirCtx = (DirContext) ctx.lookup("pcd:portal_content/");
          PcdSearchControls pcdSearchControls = new PcdSearchControls();
          pcdSearchControls.setReturningObjFlag(false);
          pcdSearchControls.setSearchScope(
          PcdSearchControls.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
          dirCtx.addToEnvironment(
          Constants.APPLY_ASPECT_TO_CONTEXTS,
          Constants.APPLY_ASPECT_TO_CONTEXTS);
          NamingEnumeration ne =
          dirCtx.search(
          "(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",
          pcdSearchControls);
          iViewList = new ArrayList();
          int i = 0;
          while (ne.hasMoreElements()) {
          i++;
          IPcdSearchResult searchResult =
          (IPcdSearchResult) ne.nextElement();
          String location =
          "pcd:portal_content/" + searchResult.getName();
          iViewList.add(location);
          response.write("Object is "+location);
          return iViewList
          }catch(Exception e )
             response.write("Exception Occured due to :" +e.toString());
Good Luck!
Nikhil

Similar Messages

  • PCD Location of Content-iView

    Hi SDN
    I'd like to get either the full PCD location (like "pcd:portal_content/TEST/TEST_iViews/Footer") or only the last part ("Footer") of the location of the currently displayed iView in the Content Area.
    I need this information in the PageToolBar.
    With JavaScript I can retrieve the navurl and the title of it, but this is where my knowledge ends.
    Any help and hint appreciated (& awarded)
    Regards
    Michael

    I couldn't find anything about the Options->Details-Implementation...
    But this is the JavaScript-Code that solves my problem. I use it in my custom page tool bar (or page title bar). From the Toolbar I call my web dynpro app with parameters, so this works fine for me.
    JavaScript:
    var obj = EPCM.getSAPTop().gHistoryFrameworkObj.GetActiveTrackingEntryValue();
    return obj.fullURL;
    Not verified, but could also solve the problem:
    How to do it in plain Java/JSP can be found here:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=307965#307965
    https://www.sdn.sap.com/irj/sdn/thread?messageID=106301#106301
    or with NavigationHelperService (not used very often) in Java :
    https://www.sdn.sap.com/irj/sdn/thread?messageID=5213384#5213384
    Tribute to Praveen! \*bow*

  • Firedox did a restart, now it wont open i get the message The procedure point js_UnwrapObjectAndInnerize could not be located in the dynamic link library

    firefox did a restart now it wont open, i get the following message,
    The procedure point js_UnwrapObjectAndInnerize could not be located in the dynamic link library
    have tried system restore but this didnt help

    Do a clean reinstall and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\) before reinstalling a fresh copy of Firefox.
    *http://kb.mozillazine.org/Installation_directory
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 15.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • What do I do when I try to open Fifrefox 4 & get the message: The procedure entry point NS_SetDllDirectory could not be located in the dynamic link library xul.dll?

    2 days ago, I got a message about upgrading to Firefox 4.0. I didn't do it immediately, due to lack of time. Later that day, I tried to open Firfox & got the message: Firefox can't start because xul.dll is missing. Reinstall the program to fix this. I tried several times to open Firefox & got the same result. I tried rebooting. Same result. So I opened Internet Explorer & went to the Firefox website & followed the instructions to download Firefox 4. After that, I used it last night & left my laptop hibernating last night, then continued to use it this morning. Then I closed Firefox. When I next tried to reopen Firefox, I got the new message: The procedure entry point NS_SetDllDirectory could not be located in the dynamic link library xul.dll. Again, I can only access the internet with Internet Explorer. Also, I have a done a good many Windows updates over the last 2 days as well. What can I do to get Firefox to open? Thank you for your help.

    This is what I did to resolve this problem. First, I uninstalled Firefox 4 & removed the Firefox folder left behind. I made sure to NOT select the option to delete personal information. Next, I backed up all of the important files on my computer. Next, I upgraded my Windows 7 to Service Pack 1, which was pending in my updates folder. Then, I went to Mozilla's website & downloaded Firefox 4 again, making sure to select only the Firefox browser and not Thunderbird too. http://www.mozilla.org/ When prompted to close any open programs, I closed Internet Explorer (which I had used to get to the Mozilla website) and I disabled my Norton anti-virus. I then completed the installation & it works just fine now. It loaded all of my personal data, such as bookmarks, it remembered my password, etc. It's fine for my needs, as I'm not a heavy user of special add-ons & plug-ins. Some of those may not work yet with the new version.

  • Help! I keep getting the following message: the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.

    Hi,
    Since downloading the updated version of itunes around May this year I have had the following problems:
    1. This error message appears when my windows account launches:
    the procdure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.
    2. I can't play any of the files in my itunes library. An error message appears indicating it can't find the files.
    3. When I plugged my iphone in to update it was corrupted and I have lost all 7000 + songs.
    You can guess that I am not a very happy bunny with itunes at the moment!
    Please, can anyone suggest how to sort this lot out.  I am aware that I've probably lost the ipod songs, but I need to get rid of the error message and be able to play the songs on from my library.  I've been without since May now and I'm wondering whether to even bother getting it sorted, but I have quite a few albums purchased on itunes that I don't want to lose!
    Thank you for your time.
    Michelle

    Thank you.  I'm going to investigate saving my itunes library to the icloud and then re-trying the Stellar Phoenix recovery now the error messages have gone.  If the Stellar doesn't work then I will try the advice in your link. I really appreicate the help you've given me - at least I have my itunes library back! I'm kind of resigned to re-loading my CDs back on - something to keep my busy in the winter months!
    I'll let you know how I get on, but it will probably be a few days.I'm not very technical so I have to wait for my husband to get in from work to help me with this side of things.  He's been busy working on the Olympics, so I he hasn't had much spare time for a while!
    Michelle

  • I can no longer start FF and am getting this error message in a pop up box: The procedure entry point XRE_FreeAppData could not be located in the dynamic link library xul.dll. How do I resolve?

    Please help

    Read Hi, just tried to upgrade to 11.2 but now when I try to open itunes I get an error message saying "the procedure entry point ADiAdID_acquirematchslotifnecessary could not be located in the dynamic link library iAdCore.dll". Any suggestions?

  • After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is su

    After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is suggested; however, I can't do that because of my company's IT policies. Is there any way to solve this problem WITHOUT a complete reinstall? Thank you!
    == This happened ==
    Every time Firefox opened
    == I installed a new version ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • I'm getting a "The procedure entrypoint ssSr192x__​ssSr192drv​ssSrReset could no be located in the dynamic link library ssSR192x.d​ll" because the ActiveX instrument driver DLL doesn't have the function names in the export table.

    Is there a way for my CVI project to reference the functions in the ActiveX without including the instrument .fp in the project?
    Thanks much.
    I'm confused on how CVI uses ActiveX components and hope someone can help.
    I'm using an ActiveX driver from an instrument manufacturer and I use the .TLB to generate a .fp, .c, and .h file. If I register the .dll and load the .fp in my project, all is well. Unfortunately in my application the functions to control this instrument are in another DLL whose .lib I include in my CVI projec
    t. Running the CVI project this way gives me "The procedure entrypoint ssSr192x__ssSr192drvssSrReset could no be located in the dynamic link library ssSR192x.dll" because the instrument function names aren't in the export table in the instrument DLL. Non-ActiveX DLLs have the export tables so everything works for them.
    Program structure with non-ActiveX DLLs:
    CVI project (.exe with common.lib in project list)
    |
    V
    Common DLL (MeasDMM() with hp1234.lib in project list)
    |
    V
    Instrument DLL (hp1234_measure())
    Since I get a .c and .h file from the .TLB, I've tried recompiling the DLL (.dll and .lib produced) and the functions seem to work, but I get "Class not registered" errors unless I play games with the registry so I'm obviously violating numerous Microsoft rules!
    Is there a way for my CVI project to reference the functions in the ActiveX without including the instrument .fp in the project? Thanks much.
    Jeff Fish
    Advisory Test Engineer
    StorageTek

    Hello Jeff,
    Where were your getting the .lib file for the ActiveX DLL? Did you use the "hp1234"
    ActiveX driver generated by the "Create ActiveX Automation Controller" CVI Tool to build a static library? If you open an include file and choose Options >> Generate DLL..., it will generate source code or a static import library to load the specified DLL and load functions specified in the include file (this only works if the functions are exported from a DLL). However, in the case of our ActiveX Automation Controllers, ActiveX calls are used to access a DLL. This means that you do not need an import library. You should be able to open the "hp1234" source file and click Options >> Create Object File. Simply #include "hp1234.h" and add "hp1234.obj" to your Common DLL project;
    the .fp file is not necessary. If this does not answer your questions or if you experience further difficulty, please post further details on what you are doing and the errors that are being encountered ("play games with the registry" and "recompiling 'the' DLL" are a bit vague in this case).
    Jeremiah
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • I am getting the following error when I open my Safari Browser.the proceedure entry point sqlite3_wal_ check point could not be located in the dynamic link library SQLITE3.DLL

    I am getting the following error when I open my Safari Browser.the proceedure entry point sqlite3_wal_ check point could not be located in the dynamic link library SQLITE3.DLL

    Try going back to a restore point >  System Restore - Microsoft Windows

  • When I boot my computer i get a message that says The Procedure entry point_NSConcreteStackBlock could not be located in the dynamic link library CoreFoundation.dll.

    When I start up my laptop I get an error message that says 'The Procedure entry point_NSConcreteStackBlock could not be located in the dynamic link library CoreFoundation.dll. I have tried to uninstall itunes and all its files, I have tried to install safari, i have tried to repair Apple application support but still when I boot laptop, I get the message....I am at a loss as to what will cure this!

    You should have one copy of CoreFoundation.dll in C:\Program Files\Common Files\Apple Application Support or C:\Program Files (x68)\Common Files\Apple Application Support if this is a 64-bit Windows.
    The detailed file properties should be as shown.
    If the file you have is correct check to see if there is another copy in the main iTunes folder. If so delete it and see if that helps.
    Otherwise try uninstalling/deleting folders/reinstalling iTunes again. See Troubleshooting issues with iTunes for Windows updates for more details. Your issue looks a bit like it might be a variation of the issue in the first box.
    Also worth checking that you have uninstalled the MobileMe control panel and any third party software that might try to talk to iTunes.
    tt2

  • My problem is on my Windows PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help?

    I use both a Mac and a PC.  My problem is on my Windows 7 PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help out there?  Thanks

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Now paste it in the folder  C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • On my HP laptop I get the following when booting up every time: "Apple Syn Notifier-Entry Ponint Not Found.  The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll

    On my HP laptop I get the following when booting up every time: "Apple Syn Notifier-Entry Ponint Not Found.  The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll
    I have to clear this everytime I boot up?

    With that one, perhaps first try uninstalling and reinstalling your MobileMe control panel. Does that clear up the error?

  • Why is it that every udate of my iPhone software do I get the error message on my laptop: AppleSyncNotifier.exe - Entry Point Not Found The procedure enrty point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll

    Each time I update the software on my iPhone4 I get the following error message on my lap top: AppleSyncNotifier.exe - Entry Point Not Found The procedure enrty point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll
    I go on line to find a solution, but it must be a common problem, why has apple not corrected yet?

    This is the fix I got from discussions and it worked for me.  It is copied below.  I just did the manual fix which I have underlined. Good luck! Regards, Belle.
    This can occur because libmxl2.dll is not in your C:\Program Files\Common Files\Apple\Mobile Device Support folder.
    There have been some issues with this and other dlls not being in the right place (or not being everywhere they should be) since the 10.3.1.55 iTunes update.
    However, I note that the 10.4 iTunes update is now out - surprisingly quickly - so try installing that, rebooting, and see if your issue is solved.
    If it isn't, though, here's the manual fix:-
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the libmxl2.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well.
    I actually had the issue with SQLite3.dll, and the above fix worked for me (I found it in an April 2010 posting!).
    I passed on the fix as above for the similar issue with libmxl2.dll to someone who had exactly your problem, and he reported that it fixed it for him.

  • Since updating to 10.4 getting error message on startup 'AppleSyncNotifier.exe – Entry Point Not Found, The procedure entry point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll.'. How do I fix this annoying problem?

    Since updating to 10.4 I've been getting this error message on computer startup
    'AppleSyncNotifier.exe – Entry Point Not Found
    The procedure entry point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll.'.
    Please help me fix this annoying problem?
    belle

    This is the fix I got from discussions and it worked for me.  It is copied below.  I just did the manual fix which I have underlined. Good luck! Regards, Belle.
    This can occur because libmxl2.dll is not in your C:\Program Files\Common Files\Apple\Mobile Device Support folder.
    There have been some issues with this and other dlls not being in the right place (or not being everywhere they should be) since the 10.3.1.55 iTunes update.
    However, I note that the 10.4 iTunes update is now out - surprisingly quickly - so try installing that, rebooting, and see if your issue is solved.
    If it isn't, though, here's the manual fix:-
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the libmxl2.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well.
    I actually had the issue with SQLite3.dll, and the above fix worked for me (I found it in an April 2010 posting!).
    I passed on the fix as above for the similar issue with libmxl2.dll to someone who had exactly your problem, and he reported that it fixed it for him.

  • When I try to start iTunes I get the following error message: Itunes.exe – Entry Point Not Found - The procedure entry point kCMByteStreamNotification_AvailableLengthChanged could not be located in the dynamic link library CoreMedia.dll.

    When I try to start iTunes I get the following error message: Itunes.exe – Entry Point Not Found - The procedure entry point kCMByteStreamNotification_AvailableLengthChanged could not be located in the dynamic link library CoreMedia.dll.

    Any answers how to fix it? All Im getting is error for the past 3 days!

Maybe you are looking for

  • Tips on donating old Apple TV & crashing movies?

    Anyone have tips on how to prepare an old Apple TV for donation? I am having this probelm with a 1st generation Apple TV that I was copying content onto that I was going to donate to our kid's school (old kid movies they no longer watch).  We've move

  • How To Import Muxed MPGs

    Some of us mac users have cameras that record video w/audio muxed. The problem with that is iMovie can't work with/import files with muxed audio. And we really want to use that amazing and easy-to-use application, but it looks like we'll have to buy

  • Where can I find the detail document about certain method of a class?????

    Moved to correct forum by moderator Hi everyone, where can I find the detail document about certain method of a class????? e.g.  the class CL_GUI_ALV_GRID , when I was going through the class and looking at the methods, sometimes the method descripti

  • How to keep USB powered while in sleep

    I've read about people wanting to turn off USB power while in sleep mode. I would like to know how to turn it on so I can charge USB-powered devices without having the system on. I would prefer it to only work while plugged in to A/C power, but won't

  • @sum(@range(@list calc

    I am trying to do a calc with the above functions I am trying to sum a list of accounts across a multi dimensional list So for example if I have Acc1, Acc2, Acc3 And I'm trying to do this specific for CrossDim1 and CrossDim2 I wrote is as @sum(@range