WDJ - List all Portal Languages

Hi,
There is anyway of get all languages available in Portal from WebDynpro Java ?
My requirement is to list all languages available in a combobox.
thanks.

I think portal uses some languages.properties file for supported portal languages.
The List of available language is defined in a Bundle, which is available as EAR file in UME engine.
Just a vague idea.. Can you read it in webdynpro?
Refer:
/message/168679#168679 [original link is broken]
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e077095e-235b-2b10-5585-bf5d9d4562ba

Similar Messages

  • List all schemas and tables in a portal server

    Hi,
    I want to list all the schemas in a particular portal server(just as we see in the enterprise manger console)and also list tables in a specific schema.
    i tried the following code inorder to print all the tables (without confining to any particular schema)-
    DatabaseMetaData dbmd = con.getMetaData();
    String [] types = {"TABLE"};
    rs = dbmd.getTables(null,null,"%",types);
    but i am getting null pointer exception.
    Can i anyone guide me in this?
    regards
    Swarna

    go to the sqlplus >
    select distinct owner from dba_objects;

  • List all documents types in a XML file...

    Hi, i want to list all document files that are on the portal and make a XML file with result. I found the Interface Query where i can use "search" method. Is there a way to use the APIs from hyperion, i try to do a servlet and obtain a list of all document type like with NAME, DATE CREATED, TYPE, UUID, DESC, etc.. The list can be order by NAME, DATE, etc... And put the result in a XML file. Is it possible to do this with that Hyperion API, or i spend my time to find the solution with this restricted/limited APIs? And first, is there a documentation for the developpers on what we can do with API's Hyperion? The JavaDoc Hyperion just give a little bit information, nothing consisting!! Thanks in advance for any help : [email protected]!Max

    hello
    you can rename the wsp with a.rar or a.cab extension and take a look inside
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Web/UME Services to fetch list of Portal Roles??

    Hi All,
    Are there any out of the box Web or UME services available which can fetch list of Portal Roles based on certain criteria.
    Basically I am looking for a service that will fetch list of all Portal Roles (PCD & UME) and will take couple of input parameters, a Role Name/ID & the permission property "Role Assigner"
    Thanks
    Sandip

    Thanks for your reply.
    But I guess these forums shows how to retrieve roles & its sub-ordinates for a particular user. Where as I am trying to retrieve all PCD roles for which I have "Role Assigner" permission.
    Basically I am building a delegated admin functionality on Portal using custom coding. It is the same as Portal out of box Del User Admin but I am not using it because of some other enhancements.
    I will have many user admins and the roles they can assign to users are determined by the "Role Assigner" permission. So its like, User_Admin_RoleA has access to 5 Portal Roles, User_Admin_RoleB has access to some other 5 roles and so on.
    So just wanted to know if there are standard Portal service (like we have for KM) available to do this.
    Thanks
    Sandip

  • I need a table/view so I can list current portal users

    Is there a table/view that I can use within portal that holds the names of all the portal users ?

    That link looks interesting - couldn't get the code in Appendix A to work for some reason. I assume it should be run in the ORASSO schema?
    Anyway, I need to get a list of Portal users and their group memberships from PL/SQL.
    What is the best way to approach this?
    Cheers,
    John

  • How to optimize code for getting list of portal GP erroneous processes

    Hello,
    In our Web Dynpro application for Java we got the list of GP processes with status Erroneous which match the following criteria (initiator, processName, blockName, actionName, startDate, endDate, instanceName, actionProcessor) by loop of all portal users. The problem is that it takes too much time for execution. In example with 200 users it takes about 5 min. Any idea how to optimize execution?
    <br>
    <br>
    <br>
    <br>
    public java.util.List getListOfUser( )  {<br>
        //@@begin getListOfUser()<br>
         List<IUser> usersList = null;<br>
            try {<br>
              ISearchResult uniqueIDs =  UMFactory.getUserFactory().getUniqueIDs();     <br>
              if (uniqueIDs.getState() == ISearchResult.SEARCH_RESULT_OK)     <br>
              {     <br>
         usersList = new ArrayList<IUser>();     <br>
                 for (Iterator<?> it = uniqueIDs; it.hasNext();) {     <br>
                     usersList.add(UMFactory.getUserFactory().getUser((String)it.next()));     <br>
         }     <br>
               }       <br> 
            } catch (UMException ex) {     <br>
            msgMngr.reportException("Unable get list of users!");     <br>
         }          <br>
         return usersList;     <br>
        //@@end     <br>
      }     <br>
    <br>
    <br>
    <br>
    public void getErrorProcessAllUser( )  {     <br>
    IUser currentUser = null;     <br>
              try {        <br>
                    if (wdContext.nodeUsers().currentUsersElement().getLogonId() == null){     <br>
                         List<IUser> userList = getListOfUser( );     <br>
    <font color="red">//{this loop is extremely slow</font>     <br>
                             for(int n = 0; n < userList.size();n++){       <br>
                                     String logonID =  userList.get(n).getUniqueName();     <br>
                                    currentUser = UMFactory.getUserFactory().getUserByUniqueName(logonID);     <br>
                                  viewProcessDetails(currentUser);     <br>
                         }     <br>
    //}     <br>
                     }else{     <br>
                         currentUser = <br>     UMFactory.getUserFactory().getUserByUniqueName(wdContext.nodeUsers().currentUsersElement().getLogonId());
                         viewProcessDetails(currentUser);<br>
                     }<br>
                   } catch (UMException e) {<br>
                    msgMngr.reportException("No user with this logonId!");<br>
                   }<br>
    }<br>
    <br>
    <br>
      public void viewProcessDetails( com.sap.security.api.IUser currentUser )  {<br>
        //@@begin viewProcessDetails()<br>
             List<IProcessInfoElement> bindableResult = new ArrayList<IProcessInfoElement>();<br>
                 try {   <br>
                    IGPRuntimeManager rtManager = GPProcessFactory.getRuntimeManager();<br>                           
                    IGPWorkItem[] workItems = rtManager.getWorkItems(GPWorkItemStatus.WORKITEM_STATUS_COMPLETED_BY_SYSTEM,<br> GPContextFactory.getContextManager().createUserContext(currentUser));<br>
                     for(int i = 0; i < workItems.length; i++){<br>
                               IGPProcessInstanceInfo processInfo =  rtManager.getProcessInstanceInformation(workItems<i>.getProcessID(), currentUser);<br>
                               if(GPBlockInstanceStatus.getStatusForCode(processInfo.getStatus()) == GPBlockInstanceStatus.BLOCK_INSTANCE_STATUS_ERROR){ <br>
                                    IGPProcessInstance instance = rtManager.getProcessInstance(processInfo, GPContextFactory.getContextManager().createUserContext(currentUser));  <br>                           
                                    IGPActivityInstance[] blocksList = instance.getChildrenInformation();    <br>
                            for(int j = 0; j < blocksList.length; j++){    <br>
                                     IGPActivityInstance[] actionsList = ((IGPBlockInstance)blocksList[j]).getChildrenInformation();
                                for (int k = 0; k < actionsList.length; k++){<br>               
          DO SOMETHING

    got the answers ..
    we have use IndexedRecord instead of MappedRecord
                   IndexedRecord input = rf.createIndexedRecord("input");
                   boolean flag = input.add("/FolderpathValue");
                   flag = input.add("CampusCodeValue");
    <b>Thanks</b>,
    Saravanan

  • Portal language refresh / reload (user data source ABAP stack)

    Hello,
    I'm on SAP NetWeaver Portal 7.0 with user data source on ABAP stack.
    I'm trying to create simple JavaScript links for changing the Portal language.
    I was able to change the ABAP stack user's logon language by BAPI call.
    But the newly set language shows up only after the user logs out and logs in again.
    I know that in the WebDynpro for Java, which implements the UME user interface, there is a functionality, that allows that relogging of the user is not necessary. After setting the language you only refresh the browser page (F5) and the new language shows up.
    Does anyone know what function I should call, for the language refresh (could be the same as in UME standard WDJ)?

    Hi Andres,
    language doesn't change on the Portal. The content remains in the previous language.
    I know that the switching of Logon language parameter in the user profile in ABAP stack and logoff and login on the portal leads to change of the language on the Portal. But I don't know, how to do it without the relogging of the user.
    I change the Logon language in ABAP by AJAX call of BAPI.
    Thank you for any idea.
    Jiri

  • Portal Language Questions

    Hi ALL,
    I have a question. I am changing the portal language.
    1)Do I need to change back end  language.
    2)If I need to change the back end language, tell me which of these back ends need to change the language setting.
    ECC
    SRM
    CRM ISA
    MDM
    BI
    Please guide me on this.
    Regards
    Keerthi

    Hi Marcus,
    We recently installed more Portal languages for an SSO project. This resulted in some IAC iViews no longer letting the user through to the backend over the ITS server if a language was used that was not available on the backend. The user would get a logon screen instead of the transaction with the language set to the portal language.
    You can configure the iView to force a language that's available on the backend, but you can only select a single language here. If a user has a language selected in the Portal that would be available on the backend, then he will still be forced to work with that forced language...
    So far I am unaware of a solution where you can pull the available languages on the backend directly. Our solution was to a enter the available languages in a parameter in the transaction iView, then read this parameter and see if the user has one of these languages selected. If not, then he's forced to use a fallback language (English for example).
    You can read more about it here:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/de95e490-0201-0010-b390-f0f23a95e2b8
    So yeah, in essence you don't get an error per say, but you will be forced to change you r language in the iView before you can logon.
    Cheers,
    Hermann

  • Portal Language schould be always English

    Hi All,
    I am working on portal default language. My requirement is 'i want avoid the users local browser language'.
    I want to see always portal language is 'English' even if user selects 'chinees'. How to reach this target ?
    Let us take an example suppose user selected 'Chinees' in his IE but still he needs to get english.
    What is the solution for this?
    Kind Regards,
    Phanikumar.

    Hi Praveen Gudapati,
    as you said i changed properties as mentioned below
    request.mandatorylanguage=en
    request.mandatorycountry=us
    After that i restarted server.
    Then i changed language to 'chinees' in browser and tested, now i am getting only 'English' as per the requirement.
    But still one more problem i am facing when i open Visual Composer this login page i am getting in 'Chineese'.
    Where i have to change for Visual composer to accept Language only English ?
    What is the solution for this?
    Kind Regards,
    Phani kumar.

  • Not able to see portal language in Personalize option

    Hi All,
    I login as an administrator, click Personalize option in the masthead ivew, I m unable to see the Portal Language option.
    Other options such as workprotect mode and user mapping(remote iviews) are also not shown.
    I m using EP6 SP13.
    Is it because some permissions are missing??
    Thanks in advance.
    Abhishek.

    Hi Sai,
    Thanks for the reply.
    I have checked that eu_role is assigned to admin and I know that eu_role is needed to view the personalize link.
    Also, in the path that you have provided....Content Provided by SAP >> End User Content >> Standard Portal Users. >> worksets folder>>'portal personalization' workset ...I am able to see Portal Language,workprotect mode and other pages......
    but when I click on the personalize link of the portal......I m unable to see those links.
    Any help?
    Regards,
    Abhishek.

  • List of Portal users with the assigned Roles.....

    Hello All,
    I am working on EP6 SP9 and want to know from where can I get a list of all Portal users along with the assigned roles for each of them.
    One way I found is by searching for all users in User Administration role and along with the searched users, there is also an icon for Assigned roles.
    Apart from the above mentioned way, is there any other way by which I can get a direct list of the same. Is there a Java sample code for this.....?
    Please help.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    Yes it is possible to get the roles of the users. You can try the following java code.
    package com.hcl.user;
    import java.util.Iterator;
    import java.util.Vector;
    import com.sap.security.api.IRole;
    import com.sap.security.api.IRoleFactory;
    import com.sap.security.api.IRoleSearchFilter;
    import com.sap.security.api.ISearchResult;
    import com.sap.security.api.IUser;
    import com.sap.security.api.IUserAccount;
    import com.sap.security.api.IUserFactory;
    import com.sap.security.api.UMFactory;
    import com.sapportals.portal.prt.component.AbstractPortalComponent;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    public class role_member extends AbstractPortalComponent {
    public void doContent(
    IPortalComponentRequest request,
    IPortalComponentResponse response) {
    try {
    IUserFactory userfactory = UMFactory.getUserFactory();
    IRoleFactory rolefactory = UMFactory.getRoleFactory();
    IRoleSearchFilter rolefltr = rolefactory.getRoleSearchFilter();
    rolefltr.setMaxSearchResultSize(2000);
    ISearchResult result = rolefactory.searchRoles(rolefltr);
    while (result.hasNext()) {
    response.write("<table border=0>n");
    String uniqueid = (String) result.next();
    IRole role = rolefactory.getRole(uniqueid);
    response.write("<tr><td bgcolor=Red>"+ role.getDisplayName()+ "</tr></td>n");
    Iterator users = role.getUserMembers(true);
    while (users.hasNext()) {
    String unique_user = (String) users.next();
    IUser user = userfactory.getUser(unique_user);
    IUserAccount account[] = user.getUserAccounts();
    response.write(
    "<tr><td>" + account[0].getLogonUid() + "</tr></td>n");
    response.write("</table>n");
    response.write("</br>n");
    } catch (Exception e) {
    This code gives you the list of all the users of your portal along with the roles assigned to them.
    Apart from this if you want you want to know all the roles assigned to the user on portal itself then the way you mentioned is the correct method.
    Regards
    Pravesh
    PS: Please consider awarding points.

  • Language of Webdynpro after changing the Portal Language

    Hi All,
    Even after changing the portal language from for ex. English to French, the webdynpro is still displayed in English language.
    If this session (portal window) is closed and new portal session is started, then the webdynpro is displayed in French.
    Also please note that, for iviews built using Portal HTMLB (like JspDynPages), restarting the session is not necessary.
    Any answer/solution/pointers/SAP Notes supplied is greatly appreciated.
    Regards,
    Rajit

    Hi,
    Refer to SAP Note 947081 about Internationalization
    The Blog at /people/bertram.ganz/blog/2007/01/08/the-top-12-hottest-sap-notes-every-web-dynpro-java-developer-must-know talks about this Note.
    3rd point mentions about "Language change in the portal (through portal personalization) does not get immediately reflected in the Web Dynpro iViews?"
    Hope this solves your query.
    Kind Regards,
    Nitin

  • List of installed languages

    Hi all,
    Where can I see the list of installed languages in SAP R/3 system. Is there any table for this!
    Regards,
    Bharat

    hi bharat
    the question is answered, i wanted u to execute the program <b>rscpinst</b> and check it
    <b>u can find the languages installed on the left </b> and in the right u can find the languages u can still support
    This will also tell u whether ur system is UNICODE compatible or not
    <b>award points if found helpful</b>

  • Restricting Portal Languages

    Hello,
    we would like to use only german and english as portal languages. Furthermore we have some users from ldap that don't have a language attribute. The users are from countries like finland and the browsers settings determine a finish portal. But we would like them to see an english portal.
    We tried the language setting for logon page but browser language is still taken.
    Does anyone have an idea how this can be solved ?
    Kind Regards
    Joachim Bertram

    Hi,
    Check this to know, where to find locale_list_service:
    http://help.sap.com/saphelp_nw04/helpdata/en/b2/77284a96264e9183161b7e8718dfa8/frameset.htm
    Note 624929 still applies for EP 7.0, so this way you limit languages user can select in his profile.
    But this still does not solve your problem, when the browser languages is different from german and english.
    Check this how the Lookup of Resource Bundle happens:
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/938297a5061d69e10000000a1553f6/frameset.htm
    The only way to restrict that your portal shows only german and english is by having these languages set in user profiles. If not you will have to remove the Resource bundle properties files for other languages in all portal applications, which is really cumbersome.
    So my advice is to apply Note 624929 and removes all languages except german and english, set german and english in all user profiles.
    Regards,
    Praveen Gudapati

  • Snow Leopard finder doesn't list all files on Windows 7 volumes

    From my Macbook Pro (10.6.8), I can connect to my Mac Pro, while it is running Windows 7 in Boot Camp, in order to access the Mac Pro's 6 volumes (1 Boot Camp, 5 Mac volumes). This is using SMB via Finder's 'Connect to server…' on an Airport network.
    However, Finder never displays all the files and folders on any of the Mac volumes it connects to through Windows 7. It seems to show approximately the first 18-9 files and folders, and then nothing. The same applies when I open a nested folder — it doesn't list all of its contents.
    Any ideas as to what's causing this and how I can fix it? I have searched all over but can't find any answers yet, so I'm hoping someone here has seen this before.

    Thanks for the reply, but I do have the Restore Windows box checked (see below). And the Resume features info (cnet link) only addresses how to turn the feature off, either selectively or globally. I'm simply looking for the functionality that I had with Snow Leopard and now seems to be absent. Maybe it's a bug in my Finder.

Maybe you are looking for

  • Restricting dashboard prompt values in obiee 11g

    Hi All, I have a requirement to restrict the length of the dasboard prompt value to min of # characters. Please let me know if you have any idea (JScript). Regards, Zameer

  • Help writing to file in "C" using JNI

    Hi, I am trying to write the encrypted data that I read from a file. It writes the decrypted data; however, it prints extra characters at the end of file after the data. I am not sure why this is happening. Below is the code that I use to write the d

  • Monitor_jdbc_conn.sql - Script to monitor JDBC connections

    Hi We are using oracle11 (11.5.10.2) on windows 2000 server i need to monitor JDBC connections for that i want to schedule that script which runs every hour and after completion it creates output in a file with unique name. How can i create such scri

  • CS4 install failure

    While installing Adboe CS4 on my Mac (OS X 10.5.6), I accidentally popped the CD out of my computer (Imac, 10.5.6). After swearing at myself, I reinserted the CD to try and contiume the install but the install just seemed to hang. So I rebooted and t

  • Login form...coding

    Hi friends i am new and fresh forms developer.Currently i am desgining module login.In which i have two diffrent data blocks,two diffrent canvas and two windows.I have named one window as Login and another Window and also i gave same names to my canv