IMPORTANT: JARs and Sharing References: New Reference

Hi Portal Developers,
A new reference is available that lists ALL public portal APIs, and provides the following information:
Class/interface name
Package name
JAR file for compilation
Location of JAR file
Required sharing reference for portalapp.xml (runtime reference)
The list is provided as a spreadsheet in XML, enabling you to sort and filter as needed, and to get a quick overview of the available classes, packages and JARs.
Click <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f08f37c1-992c-2a10-35a6-fbb1600aff51">here</a> for the spreadsheet.
The spreadsheet also provides similar information for using the built-in tag libraries.
Feel free to respond to this post, or email the author, if you have any suggestions.
Daniel Wroblewski

Hi Daniel,
> Despite its existence, people still ask for JARs and sharingreferences
I think the reason is more that these people do not know ClassLocator instead of not wanting to use it... These who have used it once within the SAP/Java/Portal world will <i>never</i> give it away again...
> The spreadsheet does help with the sharing reference,
> as well as listing the built-in tag libraries.
As said before, I didn't want to say <i>anything</i> against your sheet, I would never say anything against anything produced by yours
> Hope to see you at Tech Ed, Munich. We can have a debate on this there.
That seems to be a promise that you will be there   Very nice to hear, and I'll be there, too!
Best regards
Detlev

Similar Messages

  • Group Import Member and Owner Reference Unavailable

    Hello, 
    I am having an odd issue. I created a new MA from AD to MV. It is looking specifically at an Applicaiton Group OU, There are only SG in there. When I do the import, then a sync, two fields are giving me errors
    Member and ManagedBy, they both say reference is unavailable. 
    No the users already exist in the MV, but is is giving me the error because I am not allowing the MA to look in any other container besides where the application group is?
    I am not sure, I checked the precedence, I have tried with both equal precedence and letting this MA being the upper precedence.
    Any ideas what may be causing this error?
    There is no code, I am doing a direct flow.
    Thanks 
    Russell Lema

    Nosh is right, it is because each MA handles references by their own.
    So you should include the users as well and join them to the existing mv objects, but without Attribute flows (just join).
    Or you can include the application OU in the "original" AD MA, which you preferr.
    /Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Just imported clips and edited as new project. closed imovie. came back later and the entire project was gone. i was not done so i did not finalize it. how do i get the program to keep my project in progress

    running imovie on a powermac w 10.6.8. went through the tutorials. imported my clips, got the hang of basic editing, and created a project.
    was pretty happy with it, but needed to shut down and come back to work on it later. when i did come back, the entire project was gone.
    how do i get the program to save my work in progress, without finalizing it?
    thanks

    So, everything worked out just fine!
    I have all my material in the ProRes Codec on a seperate drive now. The project itself was kept or rather duplicated, the bin structure etc stayed the same but is linking to the newly created files. The playback and workflow is fluent. I am happy! 
    Time info: For about 120 GB of material the codec change process took 25 hours.
    Thanks for your help!
    Best
    *a

  • Sharing References

    Hi all,
    I have a Web Dynpro application, and I want to use the PortalRuntime class to get a reference to a Portal Service.
    At runtime, when the PortalRuntime class is referenced by my code, I get 
    java.lang.NoClassDefFoundError: com/sapportals/portal/prt/runtime/PortalRuntime
    I've been searching for hours what sharing reference I must use to be able to use this class, without success.
    I've two questions:
    1. What sharing reference should I use (exactly)? Or is it sth. else I need?
    2. Why don't I find any information that tells me how to find out what sharing reference to use for a certain class? Isn't there a list of all available standard SAP sharing references?
    Many thanks,
    Jeroen

    I don't really understand what you mean
    e.g. I have this class that reads documents through the KM API
    import java.io.IOException;
    import org.apache.commons.io.IOUtils;
    import com.sapportals.portal.security.usermanagement.IUser;
    import com.sapportals.portal.security.usermanagement.UserManagementException;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.ResourceContext;
    import com.sapportals.wcm.repository.ResourceException;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.util.content.ContentException;
    import com.sapportals.wcm.util.content.IContent;
    import com.sapportals.wcm.util.uri.RID;
    import com.sapportals.wcm.util.usermanagement.WPUMFactory;
    public final class KmService {
      private static final KmService KM_SERVICE = new KmService();
      private static final String PATH =
        "/documents/templates/";
      private static final String USER = "cmadmin_service";
      private KmService() {
      static KmService getInstance() {
        return KM_SERVICE;
      byte[] getTemplate(String id)
        throws UserManagementException, ResourceException, ContentException, IOException {
        if (id.indexOf('/') != -1) {
          throw new IllegalArgumentException("Template names containing "/" not allowed!");
        IUser user = WPUMFactory.getServiceUserFactory().getServiceUser(USER);
        ResourceContext resourceContext = new ResourceContext(user);
        IResource resource =
          ResourceFactory.getInstance().getResource(
            RID.getRID(PATH + id),
            resourceContext);
        IContent content = resource.getContent();
        return IOUtils.toByteArray(content.getInputStream());
    Do note that I had to create a separate External Library DC that contains the necessary jar files (portal APIs are not available as DCs, so you need to extract them from the server). My Web Dynpro DC then uses the API PP of the External Library DC. My External Library DC currently contains bc.rf.framework_api.jar, bc.sf.framework_api.jar, bc.sf.service.cache_api.jar, bc.util.public_api.jar and com.sap.security.api.ep5.jar (I also need it to use the KM cache service).
    There's an interesting post concerning this subject: Re: Portal Development via NWDI / massive ShowStoppers
    Kind regards,
    /Sigiswald

  • Importing a DC and Creating a new development component

    Hi,
    After importing a DC and Creating a new development component, my netweaver developer studio is complaining that the com.sap.tc.webdynpro.progmodel.api.* cannot be resolved.
    And the strange thing is that if i create a local project and then create a development component, the API can be resolved without any problem.
    Can anyone advise what i should do to fix this problem ?
    Thanks.
    Best Regards,
    Daniel

    Hi Daniel
        Go to your project properties and then go to Java build path and in that Libraries tab there you can find number of JARs included in it for reference of the project just compare both imported and newly created projects and try to add the missing JARs in the imported project
    thanks
    Ninad

  • Custom Image Capture that Auto Imports the OS WIM and Creates a New Task Sequence

    We just finished a consulting project where our customer requested an easy solution to capture thick images.  After hearing their reasoning it made sense for their circumstances.  The people that
    will be managing the system will be non-technical and all they wanted was a very, very simple method of capturing and deploying images with no learning curve.   They wanted the ability to Deploy the images via PXE.  
    This quickly became both our easiest scope project but making MDT simple for non-technical users can be challenging.   The MDT capture and staging steps are pretty easy for tech savvy person but for non-technical people it presented a learning
    curve that the customer wanted simplified. They didn’t want to understand sysprep, capture, importing an OS and then creating a Task Sequence to reference that new image.        
    So we changed the scope of our project to automate MDT to perform additional steps following the capture that would:
    Automatically Import the Captured OS into the MDT Deployment Share
    Automatically Create a new Task Sequence that references the newly imported image
    Auto Name the Task Sequence with the Model Name, Date and Time of Capture
    The Final Solution:
    Customer will setup a Windows PC Thick Image (All software and drivers)
    The customer will Kick-off the Sysprep and Capture Task Sequence
    The customized Task Sequence will capture, import the new image, and create a new TS with the new image
    Customer can then PXE boot a new computer and Deploy the image or stage to media and deploy the image
    We were able to remove the import OS and create new task sequence steps and this simplified it for our customer considerably.  If anyone is interested in this functionality
    let me know and I can send you instructions.  We used Vbscript, Powershell and PSExec.exe from PowerShell.  It seems to being working pretty good so far
    MDT Task Sequence Duplicator https://panaconsulting.egnyte.com/h-s/20130614/61707be809944999 Application Bundle Duplicator https://panaconsulting.egnyte.com/h-s/20130614/405e7d64e5d54610

    We just finished a consulting project where our customer requested an easy solution to capture thick images.  After hearing their reasoning it made sense for their circumstances.  The people that
    will be managing the system will be non-technical and all they wanted was a very, very simple method of capturing and deploying images with no learning curve.   They wanted the ability to Deploy the images via PXE.  
    This quickly became both our easiest scope project but making MDT simple for non-technical users can be challenging.   The MDT capture and staging steps are pretty easy for tech savvy person but for non-technical people it presented a learning
    curve that the customer wanted simplified. They didn’t want to understand sysprep, capture, importing an OS and then creating a Task Sequence to reference that new image.        
    So we changed the scope of our project to automate MDT to perform additional steps following the capture that would:
    Automatically Import the Captured OS into the MDT Deployment Share
    Automatically Create a new Task Sequence that references the newly imported image
    Auto Name the Task Sequence with the Model Name, Date and Time of Capture
    The Final Solution:
    Customer will setup a Windows PC Thick Image (All software and drivers)
    The customer will Kick-off the Sysprep and Capture Task Sequence
    The customized Task Sequence will capture, import the new image, and create a new TS with the new image
    Customer can then PXE boot a new computer and Deploy the image or stage to media and deploy the image
    We were able to remove the import OS and create new task sequence steps and this simplified it for our customer considerably.  If anyone is interested in this functionality
    let me know and I can send you instructions.  We used Vbscript, Powershell and PSExec.exe from PowerShell.  It seems to being working pretty good so far
    MDT Task Sequence Duplicator https://panaconsulting.egnyte.com/h-s/20130614/61707be809944999 Application Bundle Duplicator https://panaconsulting.egnyte.com/h-s/20130614/405e7d64e5d54610
    I would love to get the instructions to this process, as I have a simular client.

  • User management sharing reference

    Hi experts!!!
    What sharing reference do i have to add to my web dynpro project, so i can create a new user from it?????
    I tried the com.sap.portal.htmlb.usermanagement, but the deployement fails..
    Thanx in advance!!!

    Hi ,
      Remove the sharing reference u have added and deploy the application , it will work .
    Regards,
    Sunitha Hari

  • Sharing reference to UINavigationCommand

    Hi,
    I need the class com.sapportals.wcm.rendering.uicommand.cm.UINavigationCommand which is in the jar km.appl.ui.flex.uicommand_core.jar
    What is the correct sharing reference ? I can't find this anywere. Is there some sort of convention for sharing references? (f.e. "strip the .jar and your good to go")
    Thanks in advance,
    Pieter

    Hi,
    Go to SAP Netweaver Administartor -> System Management -> Applications -> Search for the application and click on the START button.
    If it doesn't worked, check the default trace file. Also check whether u made any naming error in the application.
    Regards
    Deb

  • Sharing reference for IUserPhotoService

    Hi,
    I am looking for the correct sharing reference for IUserPhotoService?
    PORTAL:sap.com/?
    IUserPhotoService service = (IUserPhotoService) WDPortalUtils.getServiceReference(IUserPhotoService.KEY);
    Regards,
    Ladislav

    Hi,
    when i searched in  www.SAPJARFINDER.com i found this information:
    IUserPhotoService (class/interface/exception) | List classes of namespace | No javadoc available | No Code Samples available 
    JAR: kmc.people.shared.photo_api.jar | Explore JAR
    Engine path: j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.netweaver.kmc.people\lib\kmc.people.shared.photo_api.jar
    Engine version: NW2004s_SPS13
    Namespace: com.sap.netweaver.kmc.people.photo.service.IUserPhotoService
    i guess instead of using shared refrences you have to use library references because jar is not situated under sap.com folder .and try to put <kmc.people.shared.photo_api> value.
    if it does not work then check the library name in visual admin.
    Correction:
    try to put PORTAL:sap.com/com.sap.netweaver.kmc.people value under shared reference ,if this does not work then try the above.
    Also make sure the jar exist on server and service is active/running.
    Siddharth
    Edited by: Siddharth Jain on Jul 16, 2009 1:22 PM

  • When do VI and queue references become invalid?

    Hi all,
    I have a fairly complicated problem, so please bear with me.
    1)  I have a reentrant SubVI (let's call it VI "Assign") that has an input cluster of (VI ref, queue ref) (let's call the cluster type "Refs").  If the VI ref is invalid (first execution), the VI ref and queue ref are assigned values and are passed on as an output cluster of same type.  (The VI does other things too, but for simplicity only this is important.)
    2)  The VI that calls VI "Assign" (let's call it VI "Store") is not reentrant and has a local variable of type "Refs" that is wired to the input and output of VI "Assign".  This VI effectively stores the references.  The references returned by VI "Assign" are always valid right after the call, but after the problem condition described below, they are invalid at the start of all calls before they are passed to VI "Assign".
    3)  VI "Store" is called by multiple non-reentrant VIs, so the local variables of VI "Assign" retain their values (Has been tested and verified to retain their values).  The VI causing the problem in this case is a template VI of which multiple copies are launched (let's call it VI "Template").
    The problem is that the moment an instance of VI "Template" is closed, the queue reference becomes invalid, although the actual variant value of the reference remains the same.  The VI ref can become invalid or not, depending on small changes, but is always reproducible.  I assume there must be some similarity between VI and queue refs.  After spending some time researching, the Labview help states for the Open VI Ref component "If you do not close this reference, it closes automatically after the top-level VI associated with this function executes."  In this case I assumed it means that the moment the reentrant VI "Assign" finishes, the references will get cleared ??  So I made a non-reentrant VI (let's call it VI "NR Assign") that only assigns values to the references and VI "Assign" now calls this VI (It effectively does what I described VI "Assign" does).  I keep this VI alive by using it in a VI which never terminates and since it never terminates, the references should never become invalid.  Anyone still following?  This didn't solve the problem though.  If I reproduce the same scenario using only one instance of the template VI, it works just fine.  Furthermore, the VI and queue references are never closed, to aid analysis of the problem.  Can anyone shine some light on what happens when a template VI terminates?  Could this be the problem?
    Unfortunately I cannot include the code.
    Thank you whoever is able to make sense of this.
    Christie

    Christie wrote:
    Hi all,
    I have a fairly complicated problem, so please bear with me.
    1)  I have a reentrant SubVI (let's call it VI "Assign") that has an input cluster of (VI ref, queue ref) (let's call the cluster type "Refs").  If the VI ref is invalid (first execution), the VI ref and queue ref are assigned values and are passed on as an output cluster of same type.  (The VI does other things too, but for simplicity only this is important.)
    2)  The VI that calls VI "Assign" (let's call it VI "Store") is not reentrant and has a local variable of type "Refs" that is wired to the input and output of VI "Assign".  This VI effectively stores the references.  The references returned by VI "Assign" are always valid right after the call, but after the problem condition described below, they are invalid at the start of all calls before they are passed to VI "Assign".
    3)  VI "Store" is called by multiple non-reentrant VIs, so the local variables of VI "Assign" retain their values (Has been tested and verified to retain their values).  The VI causing the problem in this case is a template VI of which multiple copies are launched (let's call it VI "Template").
    The problem is that the moment an instance of VI "Template" is closed, the queue reference becomes invalid, although the actual variant value of the reference remains the same.  The VI ref can become invalid or not, depending on small changes, but is always reproducible.  I assume there must be some similarity between VI and queue refs.  After spending some time researching, the Labview help states for the Open VI Ref component "If you do not close this reference, it closes automatically after the top-level VI associated with this function executes."  In this case I assumed it means that the moment the reentrant VI "Assign" finishes, the references will get cleared ??  So I made a non-reentrant VI (let's call it VI "NR Assign") that only assigns values to the references and VI "Assign" now calls this VI (It effectively does what I described VI "Assign" does).  I keep this VI alive by using it in a VI which never terminates and since it never terminates, the references should never become invalid.  Anyone still following?  This didn't solve the problem though.  If I reproduce the same scenario using only one instance of the template VI, it works just fine.  Furthermore, the VI and queue references are never closed, to aid analysis of the problem.  Can anyone shine some light on what happens when a template VI terminates?  Could this be the problem?
    Unfortunately I cannot include the code.
    Thank you whoever is able to make sense of this.
    Christie
    All LabVIEW refnums do get deallocated automatically when the top-level VI in whose hierarchy the refnum was created goes idle (stops executing). You will have to make sure that the creation of a refnum is done inside a VI hierarchy that stays running for the entire time you want to use that refnum.
    Rolf Kalbermatter
    Message Edited by rolfk on 06-27-2007 11:52 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How do I import an iPhoto Library  (V.7.1.5) created on my old MacBook (10. 6.8) into my new Macbook pro (10.9.1) running iPhoto 9.5.1? I tried copying onto memory stick and moving to new mac, but new iPhoto doesn't recognise the library.

    How do I import an iPhoto Library  (V.7.1.5) created on my old MacBook (10. 6.8) into my new Macbook pro (10.9.1) running iPhoto 9.5.1? I tried copying onto memory stick and moving to new mac, but new iPhoto doesn't recognise the library.

    So what exactly did you copy over? If it's a 12 gig iPhoto Library then it sounds like the files are there. Perhaps the copy went wrong along the way.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • TOC and Cross reference bookmarks

    Hi. I recently finished work on a book that had front matter containing a brief TOC and a detailed TOC. The book also contained individual TOCs at the beginning of each chapter.
    I updated all numbering across the book files before generating the TOCs in the front matter, then generated the brief and detailed TOCs using my TOC Styles. However, I assigned cross references for the individual chapter TOCs. May not have been the best choice.
    Because there was special styling for some of the front matter TOC entries that wasn't easily specified using just the TOC Styles, I cut and pasted groups of entries from the generated TOC on the pasteboard into a new frame on the page. I checked in Story Editor to ensure that the invisible markers for the TOC entries had been copied into the new frame.
    When I exported the files to PDF, the TOC entries no longer pointed to the correct pages. They simply pointed to the first page of the PDF when clicked. Furthermore, no bookmarks showed up the TOC entries in the Bookmarks panel, even though I had "Create PDF Bookmarks" checked in my TOC Styles.
    I have three questions, then:
    --Is there any way to reclaim the behavior of the TOC bookmarks, and their display in the Bookmarks list of the PDF, if the entries are copied and pasted into a new frame in InDesign, without doing this manually in Acrobat Pro?
    --Is there any way to get cross references to display as bookmarks in a PDF, assuming that I needed to make individual PDFs of each chapter, without doing this manually in Acrobat Pro?
    --I'm betting that all files should be exported from InDesign as a single PDF in order for all TOC and cross reference links to work properly, without manual intervention in Acrobat Pro? If so, and manual intervention is required, is this accomplished by cataloging/indexing in Acrobat Pro?
    I need to be able to pass this information along to a publisher who is now requiring all of their compositors to submit bookmarked PDFs with their printer files. I'm pretty sure I know the answer to this one, but I would like verification from the pros here. Thanks!

    Hi. I recently finished work on a book that had front matter containing a brief TOC and a detailed TOC. The book also contained individual TOCs at the beginning of each chapter.
    I updated all numbering across the book files before generating the TOCs in the front matter, then generated the brief and detailed TOCs using my TOC Styles. However, I assigned cross references for the individual chapter TOCs. May not have been the best choice.
    Because there was special styling for some of the front matter TOC entries that wasn't easily specified using just the TOC Styles, I cut and pasted groups of entries from the generated TOC on the pasteboard into a new frame on the page. I checked in Story Editor to ensure that the invisible markers for the TOC entries had been copied into the new frame.
    When I exported the files to PDF, the TOC entries no longer pointed to the correct pages. They simply pointed to the first page of the PDF when clicked. Furthermore, no bookmarks showed up the TOC entries in the Bookmarks panel, even though I had "Create PDF Bookmarks" checked in my TOC Styles.
    I have three questions, then:
    --Is there any way to reclaim the behavior of the TOC bookmarks, and their display in the Bookmarks list of the PDF, if the entries are copied and pasted into a new frame in InDesign, without doing this manually in Acrobat Pro?
    --Is there any way to get cross references to display as bookmarks in a PDF, assuming that I needed to make individual PDFs of each chapter, without doing this manually in Acrobat Pro?
    --I'm betting that all files should be exported from InDesign as a single PDF in order for all TOC and cross reference links to work properly, without manual intervention in Acrobat Pro? If so, and manual intervention is required, is this accomplished by cataloging/indexing in Acrobat Pro?
    I need to be able to pass this information along to a publisher who is now requiring all of their compositors to submit bookmarked PDFs with their printer files. I'm pretty sure I know the answer to this one, but I would like verification from the pros here. Thanks!

  • Differences between object and object references

    What's the differences between object and object references? To me, it seems the same, but I am sure there are differences.
    Student s = new Student("Joe",20);
    s is an object of class Student. Can we say s is an object reference of class Student?
    Please clarify. thanks!!

    Student s = new Student("Joe",20);
    s is an object of class Student. Can we say s is an
    object reference of class Student?The thing you created via "new Student()" is an object. The variable you declared via "Student s" contains a reference to that object. People say all kinds of things but I find it clearer to differentiate between variables and the objects they refer to.

  • Difference control refnum and control reference

    Hi guys.
    I am new on labview reference, can you explain difference between control refnum and control reference. 
    Gary Wang

    Are you sure you don't mean "refnum control"? That is a front panel control that can be selected as a reference to any one of several data types such as application, VI (including strictly typed), control or indicator. Whereas the "control reference" is a block diagram object that points to a specific control on your front panel (it can also be "linked" to other objects so it is similar to a "refnum control" in that respect).
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • Wildcard in sharing reference?

    Hi,
    We are about to start developing quite a few webservice consumers on the portal, and I would like to make a generic iview which reads the name of a service from a property value and outputs all methods it contains.
    But in order to get the service I need a sharing reference, even for future services!
    Is there any way to say, I want a sharing reference to all services ?
    Or am I destined to write my own classloader and hack things

    Hi Dagfinn,
    using a wildcard * in the SharingReference doesn't work, at least not in the example I tried.
    I would guess you need to implement your own classloader.
    Regards
    PD

Maybe you are looking for

  • How to get into my Itunes Account when I do not get a forwarding email

    I have a ITunes account for many years, but suddenly it does not let me log on. I did it both ways to get in: The email version, which does not send me any email. I tried it about 50 times over the last 2 month, never made it into my inbox. Also, I t

  • Two libraries needing different versions of a common library

    I am currently writing an application that utilizes two libraries that depend on a third common library. However, each of the two libraries requires a different version of the third library. Is there any way this can be done? I have done some researc

  • Tsql import from xml to table - sql server 2012 = (o row(s) affected)

    Hello, here is my XML header and footer: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <streetAndCities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <record> <rowIndex></rowIndex> <cityCode></cityCode> <cityName></cityName> <stree

  • Why is BT BB so insanely expensive?

    I was looking to upgrade from the 40gb package to the unlimited package so I could join Netflix but I just cannot warrant paying £26 for something which is simply not worth £26. Sky offer unlimited broadband for £10. I have been with both companies a

  • 1st Gen Mac Pro - Graphics card upgrade options?

    Hi guys, I have the 1st gen Mac Pro with 2 x 3GHz dual core xeons and a Radeon X1900 graphics card. I have wanted to upgrade to a new card for a while, however, I can't find any that apple say are compatible. I wanted to upgrade to a 5870 but on appl