KM Search: How can I define a query for the user who currently logged on?

Hello,
I want to use the KM Search iView to display all documents from the currently logged on user in a certain sort order. The result should be some kind of report for the user...
In the search option I can define a default sort order. And I can also define it for a special user with cm_modifiedby(value=username)
But how can I define the predefined property value generically for the current user?
I tried to insert following values in the parameter Predefined Properties of the search option:
Predefined Properties (csv): cm_modifiedby(value=<user.id>)
Predefined Properties (csv): cm_modifiedby(value=%user.id%) -> like in the predefined properties
Predefined Properties (csv): cm_modifiedby(value=$sap_user) -> like in the xml forms builder
But non of these 3 parameters worked. Has anybody an idea what the right variable is?
Thanks a lot.
Best regards
Nicole

Hi Nicole,
1. First of all you need to use "<User.UserID>" to get the currently logged on user.
2. You need to create an AppIntegrator iView (so based on com.sap.portal.appintegrator.sap.Generic) in order to be able to use this dynamical parameter. The parameter "URL template" should look like:
<Request.Protocol>://<Request.Server>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&rndLayoutSet=SearchResultLayoutSet&SearchCompsName=UISearchComponents&QueryString=*&SelectedCustomProps=cm_modifiedby(value=<User.UserID>)
Best regards,
Robert

Similar Messages

  • How can I make comments Editable for the users?

    Good day,
    How to give edit rights for  the user to edit his comment?
    If anyone can point me to a tutorial on how to do this or even give me a few tips, would be greatly appreciated!.
    Thanks

    I think we need a bit more information. Most importantly:
    #1 Edit comments where?
    #2 What technologies are you using? (PHP, Cold Fusion, etc)
    #3 A link to actual site would be most helpful
    Brad

  • How can i delete keychain data for all users on my Mac Server?

    We have 2 Mac servers on our windows network and user passwords change every 30 days to keep up with security. How can i stop keychain asking for the users old passwords or get it to update with the change of password?

    Hello,
    First you have to create a new folder or 2/3, om My Mac... Mail>Mailbox>New Mailbox...> Loacation>On My Mac.
    Highlight the eMails  & drag to the new box(es), if IMAP Mail will try downlodaing them again.
    If POP & Remove fron Server when downloaded it won't.
    Quit Mail after the move, log into gMail Webmail via a browser & delete what you wish.
    PS. Even though you delete everything in gMail, google keeps copies for themselves & the NSA, just you cannot see them.

  • How can I get a query in the search field to open in a new tab or new window from the current window?

    How can I get a query in the search field to open in a new tab or new window from the current window?

    If you are searching via the Search Bar on the Navigation Toolbar, this preference can be changed to have searches there open in a Tab.
    Type '''about:config''' in the Address Bar and hit Enter. Then answer "I'll be careful". Type this pref in the Search at the top.
    '''browser.search.openintab''' = double-click to toggle to '''true'''

  • How can I remove Personal Hotspot for the iPad

    How can I remove Personal Hotspot for the iPad, I use apple configurator but I still can NOT do it. any idea?

    I mean hide it, or remove it or delete it. I just don't wanna anyone on my enterprises use it because my data plan gonna be high cost.
    supported by my carrier, I asked my carrier if they can remove it ? they said they can NOT.

  • My phone was stolen, I have moved it in lost mode,but I can see that whoever has it,is changing phone name and can use it until I activate lost mode again.Can I do it permanently? How can I cancel ICloud back for the stolen phone,it blocks Cloud memory?

    My phone was stolen, I have moved it in lost mode,but I can see that whoever has it,is changing phone name and can use it until I activate lost mode again.Can I do it permanently? How can I cancel ICloud back for the stolen phone, as I cannot delete the stolen phone backup (says that backup is being in use) and this is keeping memory occupied in the Cloud and I cannot back-up the other devices.

    http://support.apple.com/kb/ht2526

  • How can I buy apple watch  for the space black stainless steel case and the black sport band for one order?

    How can I buy apple watch  for the space black stainless steel case and the black sport band for one order?

    Unfortunately no. I asked the same question when I went to the local Apple Store for my "try on" and as of now you would have to order the watch with the metal link band and the black sports band separately.

  • How can i find Czech books for the ibook app?

    i would like to download books in Czech languge.
    some one know how can i find Czech books for the ibook app?

    Google Czech ebooks.
    You'll need to make sure the format will work with iBooks or one of the reader apps when you download.
    Start with the free books and go on from there.

  • 2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?

    2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?, what if I buy a movie later? i will get the same problem!!! still I do not know how the avengers ends!! please do not tell me haha, focus on the problem here!

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
    Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.
    I believe your issues are probably a network issue, which unless you resolve are likely to be repeated again.

  • How can I put something in for the last Wednesday of every month

    How can I put something in for the last Wednesday of every month

    I don't believe there is such a custom repeat option with the iPhone's Calendar app, but if you are syncing calendar events with a supported calendar app on your computer or syncing calendar events over the air with an email account that supports it with an option to create such a custom repeating event with the online calendar, set up the custom repeating event there.

  • How do you assign the user who has logged in current session ?

    Hello,
    in oracle forms , you could assigned user who has logged in to any field , e.g field_name := USER_ID;
    I need to assign the user who has logged to a field in jdeveloper 12 . How do you do that please ?
    Thanks.

    Try this: https://www.google.com/search?q=adf+get+current+user
    CM.

  • How to capture the user who has logged into the portal.

    Hi,
    How do I capture the user who has logged into the portal.
    HOw do I retrieve the first name and last name of the logged in username.
    Could someone provide me a related link or PDF to work on this.
    Thanks,
    Suvarna

    Hi suvarna,
    Check the following code
    ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
                      IUserFactory usf = UMFactory.getUserFactory();
                      IUser iuser = null;
                      IUserListElement userElement = null;
                      int i = 0;
                      while (rst.hasNext()) {
                            iuser =
                                  UMFactory.getUserFactory().getUser(rst.next().toString());
                            String email = iuser.getEmail();
                            String fname = iuser.getFirstName();
                            String lname = iuser.getLastName();
    regards
    Anil Dichpally

  • I have multiple computers and iPhones and now iTunes will not allow my wife to load applications or use her own iTunes playlists.  How can I setup each device for each user correctly?

    We have multiple computers and iPhone devices which I have passed on to other family members, such as my wife.  Now she is not able to load apps to her devices, eventhough it appear she is logged into her own iTunes account.  How can I setup iTunes correctly on each device?  Currently, there is one PC and one Mac laptop and we each have iPhones, with one other family member not able to use his 'passed-down' device for iTunes, also.

    Hello dal1820
    Check out the article below on how to use multiple devices with one computer. The main idea that I want to point out is to have different users for each person as it is the easy way to make sure that no issue happen when syncing.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/ht1495
    Regards,
    -Norm G.

  • How can i change a password for network users?

    Good day. I have a problem with changing passwords on server Yosemite. As i understand there is no way to change password for the network users remotely. I mean, when for example someone will change his password and then will forgot it how can i change it? When i open a server manage program and go to the "Users" and than open a setting for the user - "Change Password..." is not clickable.

    Hi Dcp24,
    If you are having issues resetting a user's account password on your server, you may find the information in the following article helpful (article is aimed at Mavericks, but the steps should be similar in Yosemite):
    Mavericks Server Admin: Reset a user’s password
    Regards,
    - Brenden

  • How can I define a tooltip with multiline user input?

    I've created a button with app.response to get user input for defining a textbox's tooltip, but for my purposes I need multi-line text formatting within the tooltip, such as the \n character.  How can I accomplish this?  Thanks.

    How do you mean?  I've not been able to find any real settings for the tooltip under properties.  A long enough line of text wraps around, but I want it to contain some actual formatting, for ease of reading.  One long paragraph, followed by a few individual bullet points of info.  For example:
    Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Is that at all possible with the built in tooltip?

Maybe you are looking for

  • Integrating number of records into a single record

    Hi I have a table where we store trainees with certifications, it stores trainees address, id, pass/fail flag, course codes, competetion date and certificate expiration date. WHat I need is to display a single record for each trainee in my query. In

  • I gave up on getting a single SQL to do this; I don't think it's possible?

    Guys I asked a little while ago about a loyalty points system where the loyalties could not be revoked once awarded, so any refunds would make the points system "go into debt" internally and only start issuing loyalty points when the debt was cleared

  • Variable Exit Not Working with Personalization After Upgrade

    We recently upgraded our BW production system from version 3.5 to 7.0. Currently, we have some web templates/reports that use date related user exit variables in the query. For instance, we have a date range variable that is populated with a 90 day r

  • Pop Up Window = Malware? Virus? Help

    I have a month old Macbook Pro and about a week I started getting the following pop up at random times. "Popup blocking software has prevented display of the Trend Micro Security Services dashboard. Open an Internet Explorer window and enter the foll

  • ADF Question: call javascript function from backing bean?

    Hi all, I am running JDeveloper 10.1.3.3 with ADF BC. Heres my situation: I have a table, and after inserting a new row, then committing, I want to call a javascript function. I tried using the onkeyup javascript to force a click of the save button,