How can I extract a km-iView out the portal to redefine it?

Hello folks,
I want to redefine the com.sap.km.cm.navigation-iView to serve generic access to the users home drive by using the <User.UserID>-variable. Therefore I have to extract/download the iView out of the Portal. I wasn't able to find KM-Content in Systemadministration->Support->Portal Runtime->Browse Deployment. What do I have to do?
How can I extract a km-iView out the portal to redefine it?
Regards
Steffen

Just as an example:
package com.btexx.proxy;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.pom.IEvent;
import com.sapportals.wcm.repository.ResourceException;
import com.sapportals.wcm.repository.ResourceFactory;
import com.sapportals.wcm.service.IServiceTypesConst;
import com.sapportals.wcm.service.urlgenerator.IURLGenerator;
public class Example extends AbstractPortalComponent
     protected void doOnNodeReady(IPortalComponentRequest request, IEvent event){
          String uname = request.getUser().getLogonUid();
          String path = "/userhome/"+uname;
          String rndLayoutSet = "ConsumerExplorer";
          String explorerServletPath = "/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation";
               try {
                    IURLGenerator ug = (IURLGenerator) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
                    explorerServletPath = ug.getExplorerServletPath();
               } catch (ResourceException e) {
          request.redirect(explorerServletPath+path+"?rndLayoutSet="+rndLayoutSet);
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
+ portalapp.xml
<?xml version="1.0" encoding="UTF-8"?>
<application>
  <application-config>
    <property name="SharingReference" value="usermanagement, knowledgemanagement"/>
  </application-config>
     <components>
          <component name="Example">
     <component-config>
          <property name="ClassName" value="com.btexx.proxy.Example"/>
          </component-config>
               <component-profile>
                    <property name="com.sap.portal.reserved.iview.Redirect" value= "true"/>
               </component-profile>
          </component>
     </components>
<services/>
</application>
all the best,
dimitry

Similar Messages

  • How can I extract a gaussian function out of a spectrum which has five gaussain functions....

    I have a spectrum which has five gaussian functions. but I have to extract this Gaussian functions from the spectrum. There are diferent gaussian functions. What are the possible methods for extracting the gauss functions using labview. I have attached a picture to give you a picture. The solid line is the one I have and the dotted lines are the individual Gaussian function which will be extracted.
    Note: the Gaussian function center number and width are known.
    Attachments:
    Picture1.png ‏27 KB

    Let me get this straight.
    You have:
       The experimental data set (spectrum)
       The number of Gaussian curves you want to use for your curve fit
       The center positions and variances for all of your Gaussians
    You need:
       The height of the Gaussian curves
    Is that it? If so, all you need to do is set up an optimizing routine, using some measure to optimize (i.e., sum of abs(residuals) or residuals squared for each data point) and the acceptable final error for your solution.
    A modified Simplex routine should work well, there may be others which would be more efficient, but you're talking about a trivial amount of comkputer time unless you have a gazillion of these spectra to fit.
    If that is not your problem, please describe exactly what data you have and what you need to calculate more fully.
    LabVIEW can use essentially any method for solving this problem that any other computer language can, but it is not likely to be a simple canned plug-in (at least it won't be one which you get in the vanilla version of LabVIEW), you'll have to put it together yourself.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Someone had stolen my ipod touch how can retrive my serial number with out the ipod

    someone from my work stole my ipod touch. How can i retrive my serial number but i don't have the ipod anymore

    Report the theft to the police.
    Change your iTunes (Apple ID) password along with any other password that was stored in the iPod.  If any passwords are associated with credit cards, contact the CC company and get your card replaced (with a new number).  If any passwords are associated with your bank or any savings institution, contact them also and discuss approprate action with them.
    The "Find my..." function is pretty much useless if the device is in the hands of a thief.  All that is necessary is for the thief to connect to any computer with iTunes and "Restore as new."
    The only real protection you have is with the personal information on the device rather than the physical device itself.  Something as small as an iPod should have a strong 8-digit (or longer) password AND be configured for automatic wipe in the event of ten consecutive incorrect password entries.

  • How to use an self-made iView in the Portal Content?

    Hi everybody,
    I followed the instructions to set up a Portal (6.0 SP 2) with the PDK. Now I just wrote a simple "Hello-World" iView and deployed it into the portal server. It worked fine when I clicked to test it in the Java Development Inspector.
    But...
    In the Portal Content I can not find my self-made iView? How do I get it there? I coudn't find any documentation.
    I'd appreciate your help!

    In the portal content try to create a new Iview and select the option (create new iview from portal Archive).
    After selecting that you will see all the PARs deployed on your server, just select yours and follow on.
    Hope that helps.
    Thanks
    Ankur

  • How can I turn off or blank out the secondary monitor?

    I currently have a three monitor setup.  Two 27" verticals and one 27" iMac between the two.  When I work it is great, however when my wife wants to use the computer, she feels overwhelmed by the displays, is there a way to disable the two external monitors when she logins in; but have them available when others (myself) use the iMac?  Possibly a script or another app...
    Running Yosemite.

    Hi,
    For other older notebook computers with a backlit keyboard, try one of the following methods depending on your model, to turn the backlit keyboard on or off.
    If the spacebar has a keyboard icon on the left side, press and hold the fn key and then tap the space bar one time.
    Press the f12 key.
    Press the f5 key.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can we verify if all instances in the Portal Cluster are available ?

    We have to write manual scripts to check if all instances in Portal Cluster environment are available and take some proactive steps.
    Can somebody suggest me the best way to do it ?

    There are Monitoring Products to do that so why do you want to write something yourself.
    Some of the products I can think of are:
    1) SAP Solution Manager Diagnostics - It comes with a tool for monitoring called Wily Introscope which I guess has this capability
    2)Other one is BMC Software - Check out at
    http://www.bmc.com/products/proddocview/0,2832,19052_19429_20213327_9841,00.html
    If you still want to do it manually then you will have to monitor the server processes through some script to monitor.
    Regards,
    Piyush
    ps: Please mark useful answers.

  • How to analyze this waveform to find out the point

    The current waveform as the following attachment ,How can I analyze it to find out the point a in order to calculate the different current rms between it?
    Attachments:
    未命名.JPG ‏44 KB

    The same question as mention with this link:http://forums.ni.com/ni/board/message?board.id=217​0&message.id=8831&jump=true

  • How can I extract a bent CD from an Apple Superdrive?

    A bent CD has jammed in my Apple Superdrive. How can I extract it?

    Here's a list of generally accepted approaches:
    http://www.macyourself.com/2009/05/01/the-ultimate-guide-to-ejecting-a-stuck-dis c-from-mac-superdrive/
    Depending on the Mac model you have, there may be other approaches, and there is always the Final Solution of cracking the case, pulling out the superdrive, and mucking with it directly. But don't go there unless you have to and/or are feeling a bit crazy.

  • How can I deploy only one package out of a big project?

    Does any one know how can I only deploy one package out of a big project?
    We have a project which includes about 12 differenct packages. Is there a way in Jdeveloper for me to create a deploy profile to only deploy one package to a *.jar file?
    Do I have to re-create a new project ( that's what I am doing currently) simply for deployment purpose?
    By the way, click and pick class from more than 100 classes is too much of work. In addition, you don't really know exactly which class you are picking if two classes (in different packages) have the same name.
    Thanks a lot.

    Rename your LCA file extention into .ZIP
    Open the ZIP file in any of the compressing utility (e.g. WinZip, WinRar etc.)
    Extract the desired process and deploy it manually to your server.
    Nith

  • How can I  extract non-cumulative cube data to another cubes ?

    Dear Expert,
             I copied inventory cube 0ic_c03 to  a new cube : ZIC_C03  , then I loaded the data of 0ic_c03 to the new cube ZIC_C03 . 
    the loading was sucessful, but  the result of  report of the ZIC_C03 was not correct. After looking into the problem, I found out
    the new cube can successfully extract data related with "Goods movement" & "Revaluation", yet the extract of "Open Balance" does not seems to work.
             I have read through Note:375098, in which I could not find (InfoObject 0RECORDTP) in my start routine as mentioned in the solution
    ,and the note was not mentioned valid for BW 3.5 release.
             How can I  extract non-cumulative cube data to another cubes correctly in BW3.5 release SP20? 
       Thanks !

    Hi,
    Check Routines in Update rules wether same code is wrriten in  new cube
    cheers,
    Satya

  • How can I extract ? Please help me.........

    First of all, I am very new user to XML and also Java. If my question is nonsense, forgive me, please.
    I would like to test that the string in the node are equal with some string that I want to search. I use DOM API.
    The following code are ok for the node is directly included text CDATA. The program gives the true value. In the following simple code, I tried to search the string "ACTI".
    for example; the node, <LABEL>Problem in Activity</LABEL> , I got "true".
    But I would like to match also the node ,
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Activity" >
    There is also "Activity" string value in class_constraint.
    So how can I extract and match that string data?
    Help me please!
    case Node.CDATA_SECTION_NODE:
    System.out.println(node.getNodeValue());
    if (node.getNodeValue() != null) {
         String aa = (node.getNodeValue().toUpperCase());
         if ( (aa.indexOf("ACTI") >= 0))
         System.out.println("true");
         else
         System.out.println("false");
    <CONCEPT>
    <LABEL>Problem in Activity</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Activity" >
    </SLOT>
    </SLOTS>
    </CONCEPT>

    Thank you very much for your help.
    I do appreciate your reply.
    As I gave my code example in my first post, I parse the XML document and I checked each node whether it is CDATA Node or Document Node, Element Node, and so on.. I used CASE statement.
    If it is CDATA node, I compare Node value and the string I want to search.
    At that time, I faced the problem that you solved already, I didn't know how to compare in attribute node.
    With your suggestion, I can compare now.
    But the problem now is that... when I extract element by tag name, it cannot test node by node.
    So, how can I combine these two code?
    Actually, what I am going to do is that if node is not match (in anywhere) with the string what I want to search starting from parent node to all child nodes, I want to delete that node starting from parent node and it's childs. And I want to create a new XML document by deleating unmatched nodes.
    For example, in the following XML, I would like to delete the second <CONCEPT> node while I search for "Acti" string. There is no "Acti" in the second.
    <CONCEPT>
    <LABEL>Problem in Activity</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Design" >
    <SUB_L label="" def="" role_name="" class_const="Activity" />
    </SLOT>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Const" >
    <SUB_L class_const="Activity" />
    </SLOT>
    </SLOTS>
    </CONCEPT>
    <CONCEPT>
    <LABEL>Problem in REQ</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Req" >
    <SUB_L class_const="Change" />
    </SLOT>
    </SLOTS>
    </CONCEPT>

  • How can I extract pictures from a backup

    I update an iPhone 4 to iOS 7 and it's 16gb The iPhone that was completely out dated running iOS 4 so I updated it and backed it up but now iOS 7 takes up more of the storage and now I can't restore the backup but it's only the pictures this guy wants for his iPhone so how can I extract them?

    Restore the device using the backup.  Backups are only designed for use in restoring a device.
    If used as designed, pictures would have regularly been copied off the device to the computer for safe keeping.

  • How can i extract system properties

    how can i extract OS properties like desktop resolution, type of internet connection, sound capability, browser character settings etc. ??

    type of internet connection,Not possible. You can detect the lack of an active
    internet connection though (figuring out how is left
    as homework for the reader;)),
    sound capability,Nope.
    browser character settings etc. ??Nope.
    Tuomas RintaThanx for replying..
    Are you serious ?? There is no way to check if the system is sound capable or not ? ok for the type of internet connection i thought that you couldn't so...
    as for the existence of an internet connectio....i am not that new...
    Nik

  • HOW CAN I EXTRACT THE SYSTEM DATE?

    HOW CAN I EXTRACT THE SYSTEM DATE?

    import java.util.*;
    import java.text.SimpleDateFormat;
    public class date2{
        public static void main(String[] args){
            Date today = new Date();
            SimpleDateFormat output = new SimpleDateFormat();
            String answer = output.format(today);
            System.out.println(answer);
    }If you want to make it prettier, you can look at using a locale, or a pattern string in the SimpleDateFormat constructor. Read the Documentation.
    Note that new Date(), constructs a Date with the current Time,
    you could also use: new Date(System.currentTimeMillis());
    Hope this helps
    -Philip.

  • How can I extract the native SQL generated by TopLink?

    How can I extract the native SQL generated by TopLink?
    This is useful for example to use pagination, or pass the SQL to a stored procedure that may do many things, like using a cursor, or apply security.
    Pagination example where the SQL inside the inner parentheses are generated from Toplink, and the outer SQL is generic:
    select *
    from
    (select xx.*, rownum as rn
    from
    (select o.order_id, r.name, ...
    from placed_order o, restaurant r
    where o.restaurant_id = r.restaurant_id
    order by o.order_ext_id
    ) xx
    where rownum < 21)
    where rn > 10

    Alternatively, you can open your sessions.xml in the Mapping Workbench and for a specific session, you can Click the Login Tab and then the Options tab. Then select "Native SQL" and it will be outputted to the console (assuming that is where you outputing it).
    zb

Maybe you are looking for

  • Export expenses and vendor invoices

    Hi Gurus; We have an export scenario, we are using TA order type, and we have some conditions like freight, insurance.. but we have a problem. we don't how we can link vendor invoices with this sales order. i want to use miro to enter freight invoice

  • Selection of JRE 5 not 6

    Our application does work nicely with JRE 5. But not with JRE 6. This application is started by java web start JNLP and I have put <j2se version="1.5*"/> in JNP so that it can select JRE5 but anyhow JRE 6 is selected and application failed to start.

  • Cannot connect Vixia R300 to computer

    I have a brand new Vixia R300 and I cannot get my MacBook Pro to recognize it.....tried all the rouble shooting solutions and still get the "no camera was found" message ...HELP!!!

  • Buying Lightroom + Photoshop Elements / Premiere Pro + MC CS5 ?

    Hi Community, i would like to know if it makes sense buying Lightroom 3 AND Phtoshop Elements AND Master Collection CS5 ? I will definately buy soon the CS5 Master Collection, but do the other tools have possibilites / functions and stuff the Master

  • Filter Shared Calendar Items content based on user

    Hi I am very new to Exchange development and need to find a solution to this problem: My outlook users must be able to view the complete calendar item description only if their name is mentioned in it. Else only the first few lines. I have researched