Get Member Alias using JAPI

<p>[1] Is there a way to get the Alias for a given member if youquery the outline using openMemberSelection()? (I can get themember's Alias using openOutline(), but that takes about 45 secondseach time I call it, because our outlines are so big!).<br><br>[2] Can anyone supply some example code for theexecuteQuery(fldSelection, mbrSelection) method, showing how toretrieve the desired member info? The MetaData.java sample usesthis call, but then doesn't try to access the member info!</p>

Thanks for the reply John.
I am not getting any error message. From  hs_account_hierarchy table i can import in to my epm application. Parent and child values are loaded successfully. But the child description ( Alias ) not loading in to application.
Example:
HS_ACCOUNT_HIERARCHY
Parent Child "Alias=Default"
1000     1001     College B
In EPM Application its loaded only Parent and Child values.
Parent Child "Alias=Default"
1000     1001    
I will setup my application in to debug mode and i will upload the logs.
Thanks Again,
GTS.

Similar Messages

  • How to get alias through JAPI

    Hi,I've got a question, for ex. I have a level 0 store number and alias has it's address. How do I use JAPI to get the address if I have the store number?Thanks.Manju

    You can get an IEssMember object from an IEssCube object using the getMember method. Then call the getAlias method on the IEssMember:IEssbase ess = null;IEssOlapServer olapSvr = null;// Create JAPI instance.ess = IEssbase.Home.create (IEssbase.JAPI_VERSION);// Sign on to the domain.IEssDomain dom = ess.signOn(s_userName, s_password, s_domainName, s_prefEesSvrName, s_orbType, s_port);// Open connection with olap server// and get the cube.olapSvr = (IEssOlapServer)dom. getOlapServer(s_olapSvrName);// connect to the serverolapSvr.connect(); // get the cube objectIEssCube cube = olapSvr .getApplication("Sample") .getCube("Basic");// get the member IEssMember mbr = cube.getMember("xyz");// get the aliasString alias = mbr.getAlias("default");Tim TowApplied OLAP, Inc

  • Show member alias of a attribute members on FR

    Hi,
    On FR, if I am using essbase connection, how can I show the member alias of a member alias on a text filed? by using the text function "MemberProperty", I can only get the member name of the attribute but not the alias.
    Thanks in advance.

    I think in the earlier version that was a preference setting which allows alias in member selection. (not in 11.1.2.2, i checked that)
    Regards
    Celvin
    http://www.orahyplabs.com

  • How to distinguish the specific member alias in HP outline?

    Because they use different calculation scripts, I need to recognize the member alias with two
    different suffix:"-new" and "-old" in the same dimension. However, the @MATCH function could not meet
    my requirement, because I need substitute ANY NUMBER of characters at the BEGINNING of the pattern.
    Could any other function satisfy my requirement?
    ps: here is the syntax of @MATCH which couldn't match my need.
    @MATCH (mbrName|genName|levName, "pattern")
    "pattern"
    The character pattern to search for, including a wildcard character (* or ?).
    ? substitutes one occurrence of any character. You can use ? anywhere in the pattern.
    * substitutes any number of characters. You can use * only at the end of the pattern.
    To include spaces in the character pattern, enclose the pattern in double quotation marks ("").

    UDA is the solution we are considering.
    we also considered about using Share member to construct a virtual hierarchy.
    Is there any function which could directly slove this problem?
    Edited by: DerekX on 2010-7-1 上午4:43

  • How to get lync Status using VBScript

    Hello,
    I have some application that uses VBScrit, and Microsoft Lync running in my PC. I'm trying to get Lync Status of any contact. Could someone help me?

    For get Lync status using VBScript, you can check below link
    http://social.msdn.microsoft.com/Forums/lync/en-US/0d4a11ec-9a4d-4cb1-b292-f9831af16b3d/how-to-use-the-communicatorapi-in-vbscript?forum=communicatorsdk
    I recommended to ask this question in Lync Development forum
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • How to use JAPI to Access Essbase 6.5

    Do anyone knows How to use JAPI to Access Essbase 6.5?
    I was told to install Enterprise Services 7.3.1.10.
    But when I test eds samples, I can connect Essbase but can not get data from Essbase.
    Need to change another Enterprise Services(I was told 7.3.1.10 is the latest version), or do some config in 7.3.1.10.
    Thanks a lot in advance

    Gee is correct. You will need to use EAS 7.x to add an analytic server. You will also have to do a few other tasks such as synch'ing security, etc.
    Further, as you are not accessing the exact same version of Essbase as your version of EDS, there is a property setting you will have to change to be successful. In eds\7.1.3\bin, open essbase.properties and modify the server.olap.direct setting to set it to false. What this setting does is forces EDS to use it's own private set of C API files and to use them for all calls to Essbase. Otherwise, EDS will attempt to use pure Java calls to the server. Unfortunately, the pure Java calls were implemented in an 'evolutionary' manner so every Essbase version got more calls until sometime in the System 9 timeframe. By the time 9.3 shipped (and maybe before, I would have to check), all calls the server are pure Java and that property setting is no longer available.
    Tim Tow
    Oracle ACE
    Applied OLAP, Inc

  • Get-Member not working in ISE

    When i try to use Ge-member command in ISE it not work but it work without ISE ...?
    PS C:\> Get-WindowsFeature | Get-Member
    Get-WindowsFeature : The target of the specified cmdlet cannot be a Windows client-based operating system.
    At line:1 char:1
    + Get-WindowsFeature | Get-Member
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : DeviceError: (localhost:String) [Get-WindowsFeature], Exception
        + FullyQualifiedErrorId : WindowsClient_NotSupported,Microsoft.Windows.ServerManager.Commands.GetWindowsFeatureCommand

    when i try to access my core server from my domain using power shell i get error
    PS C:\> Enter-PSSession -ComputerName WIN-CORE -Credential 0SGMS\bhagwatritesh
    Enter-PSSession : Connecting to remote server WIN-CORE failed with the following error message : WinRM cannot process
    the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: There are
    currently no logon servers available to service the logon request.
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
    use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config. For more
    information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + Enter-PSSession -ComputerName WIN-CORE -Credential 0SGMS\bhagwatritesh
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (WIN-CORE:String) [Enter-PSSession], PSRemotingTransportException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

  • Getting an object using madataService.getItem()

    i can't get an item using
    maDataService.getItem({itemId:valueId})
    i'm using Flex and Hibernate ,i can get collection using
    maDataService.fill() but i don't know what's wrong with getItem().
    what can be wrong ?
    thx

    userList is a collection of Strings, yes?
    <c:set var="user" scope="session">${userList[2]}</c:set>This sets user equal to a member of that list, a string.
    first name: <c:out value="${user.firstName}"/>You're calling user.firstName - there is no firstName member of string...
    If you want to send a bunch of strings to your view and do the same thing with all of them, put them in a list and iterate over them.
    If you want to send data on a bunch of users and do the same thing with each group of information, I'd recommend creating a class to represent the data for each user, sending a list of those to your view, and iterating over them.
    If you just want to send firstName, lastName, middleName, anotherName to the view and do different things with each of them, don't pack them in a list - just send them as standalone strings and do what you will.
    Hope this helps!
    - Kyle

  • How to get Listener Information using PL/SQL code

    How to get Listener Information using PL/SQL code

    user2075318 wrote:
    How to get Listener Information using PL/SQL codeThis approach (somewhat of a hack) can be used - but it does not really provide meaningful data at application layer.
    SQL> create or replace function TnsPing( ipAddress varchar2, port number default 1521 ) return varchar2 is
      2          type THexArray is table of varchar2(2);
      3          --// tnsping packet (should be 10g and 11g listener compatible)
      4          TNS_PING_PACKET constant THexArray := new THexArray(
      5                  '00', '57', '00', '00', '01', '00', '00', '00',
      6                  '01', '39', '01', '2C', '00', '00', '08', '00',
      7                  '7F', 'FF', '7F', '08', '00', '00', '01', '00',
      8                  '00', '1D', '00', '3A', '00', '00', '00', '00',
      9                  '00', '00', '00', '00', '00', '00', '00', '00',
    10                  '00', '00', '00', '00', '00', '00', '00', '00',
    11                  '00', '00', '00', '00', '00', '00', '00', '00',
    12                  '00', '00', '28', '43', '4F', '4E', '4E', '45',
    13                  '43', '54', '5F', '44', '41', '54', '41', '3D',
    14                  '28', '43', '4F', '4D', '4D', '41', '4E', '44',
    15                  '3D', '70', '69', '6E', '67', '29', '29'
    16          );
    17 
    18          socket  UTL_TCP.connection;
    19          txBytes number;
    20          rxBytes number;
    21          rawBuf  raw(1024);
    22          resp    varchar2(1024);
    23  begin
    24          socket := UTL_TCP.open_connection(
    25                          remote_host => ipAddress,
    26                          remote_port => port,
    27                          tx_timeout => 10
    28                  );
    29 
    30          --// convert hex array into a raw buffer
    31          for i in 1..TNS_PING_PACKET.Count loop
    32                  rawBuf := rawBuf || HexToRaw( TNS_PING_PACKET(i) );
    33          end loop;
    34 
    35          --// send packet
    36          txBytes := UTL_TCP.write_raw( socket, rawBuf, TNS_PING_PACKET.Count  );
    37 
    38          --// read response
    39          rxBytes := UTL_TCP.read_raw( socket, rawBuf, 1024 );
    40 
    41          UTL_TCP.close_connection( socket );
    42 
    43          --// convert response to varchar2
    44          resp := UTL_RAW.Cast_To_Varchar2( rawBuf );
    45 
    46          --// strip the header from the response and return the text only
    47          return( substr(resp,13) );
    48  end;
    49  /
    Function created.
    SQL>
    SQL> select tnsping( '10.251.93.30' ) as TNSPING from dual;
    TNSPING
    (DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=0)(ALIAS=LISTENER))
    SQL> select tnsping( '10.251.95.69' ) as TNSPING from dual;
    TNSPING
    (DESCRIPTION=(TMP=)(VSNNUM=0)(ERR=0)(ALIAS=LISTENER))
    SQL>

  • By Request . . . Can't connect to PC, get Broken Alias

    Those of you that have been following this, I just found something very easy that I thought just might work and that was to delete any retained passwords in the Keychain for the machine I'm trying to connect to. Well all it got me was the login window for that PC, but every time I log in I get the Alias error.
    Next . . . .

    Nope, no networked drives. The file that was in the trash was created on that partition in the previous install and I just didn't empty the trash prior to the installs.
    I have a whole collection of older Macs and I tell ya as long as they work, they WORK! I have to run a $25K scanner off a Beige G3 running OS9 because the manufacturer refused to do an OSX version of their software. No big deal because I have yet to see software that can do what this does, so it's worth it. My ad agency is still running OS9 because most all of the designers have OSX at home and collectively agreed that if they had to run OSX, they'd be spending most of their time fixing or dealing with problems than getting work done. I love my employees. And I have NO Networking problems. Remote access is great, we move files all over and don't even blink. I'm still trying to figure out a safe way to let a vendor access my OSX machine with a PC to drop files without having access to my whole machine. Why can't PC's get the Public folders like Mac guests do and as easily?!
    Since the delays of Leopard and the media blitz of Vista I got embarrassingly interested. Until I started to read the fine print and got a test copy. Interest over.
    I was one of the first and most used people at a temp agency in the lated 80's, early 90's that when I had the choice at a clients of a Mac or PC, I would always choose the Mac because I could get the work done quicker and easier. A large aerospace firm that I eventually worked for full time publication department was all Mac and now it's PC. It's starting to become a toss up. I spend as much time dinking and repairing with this, as proclaimed by an Apple Rep outside my Apple Store the night OSX was first released "maintenance free OS", more that I ever have OS9. Even when it was really broken.
    But as with 10.3.9, I swear that 10.4.9 was fouled with to get us to flee to 10.5. But the timing of 10.4.9 and the initial release of 10.5 would have worked. But since 10.4.9 was release and 10.5 delayed, we have to suffer through until 10.5 is released and if it works. I have played with the latest releases of 10.5 and it's not pretty. Makes perfect sense why it was delayed and I have been saying that since last Fall.
    But I do have to make my living from a Mac and since 10.4.5 things have been slowly going wonky. I have strange and stupid things happening in every application, especially Adobe products. And this having to reset prefs and the lot after each restart and all the kernel panics since 10.4.9 is getting old quick. Screens, I have 3 main and one 35" TV as monitors that I can no longer color calibrate. Two of them have the blue tint that I read a lot about a while ago. I am now doing a lot of testing for the developers of many of the apps and widgets that I use, since I was the first to discover maladies and need these. There is a lot failing out there, and it's only really started to be a problem since about 10.4.5 and getting worse with each release. And of course there will be few if no updates for these apps, since I pray that they are gearing up for 10.5. Look at Adobe, they openly admitted that they were waiting on 10.5. So we had to wait and suffer. But until a couple of months of CS3 on the street will have to pass before I even think of it. After the problems with CS2.
    I am totally disgusted with my current cell company and am no longer bound to a contract. I was chomping at the thought of the iPhone last Fall, now if I do it'll be Gen 2 at Christmas, if not a Gen 3 later on after all this garp I'm going through now and hearing about the over advertised iPhone and it's surfacing shortcomings. Apple is rushing way too much to the market way too quick and I will not be a bigger "unpaid" Beta Tester for Apple than we all already are.
    G4 FW800, 2GB RAM, 2-DVR110s, 4-500GB HDs, 3-Monitors, 2-Turtle Doves, 1-iTTUSB Mac OS X (10.4.9) Totally Stuffed/Max'd Out with lots of great toys.

  • I have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    i have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    If the purchases are all from the same account then you can share the content by authorizing each device.
    If you have separate accounts then you have to be authorized to use the content purchased from another account.
    MJ

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How to get multiple values using HttpSession.getAttribute(java.lang.String)

    Hey Guys
    I'm trying to find a way to get multiple values using the following method
    HttpSession.getAttribute(java.lang.String)
    Here's the scenerio. Its a already written application and now i'm trying to make some changes. earlier in the jsp page a combo box was used and value was retrieved in the servlet using the getAttribute method of Session. Now I'm using a html multiple selection list and have to retrieve all the values selected in the list in the servlet. Can anyone please suggest me how to do that. HTTPRequest class has a method getParameterValues which will let me do that but i have to do is using HTTPSession.
    Thanks for your time to read this

    I'm not sure what you are trying to do. You can only use session.getAttribute to retrieve something that has already been stored in the session with a previous setAttribute. If you need to store multiple values under one attribute name using setAttribute, you can store an array, or an ArrayList or whatever type of Collection you want. The request.getParameterValues method is the only way you can retrieve form parameters than can have multiple values. If the servlet hasn't already processed these parameters and put them into the session for you, you have to use request.getParameterValues.

  • I created a new apple id for my iphone and ipad which work great and allow me to access Icloud. on my macbook air can't get it to use my new apple id for icloud. Help?

    I created a new apple id for my iphone and ipad which work great and allow me to access Icloud. on my macbook air  I can't get it to use my new apple id for icloud. It keeps going back to my old apple id and doesn't afford me to alter it. I use system preferences-icloud and it just wants to verify the old apple id but doesn't afford me the opportunity to delete teh account or edit it like the iphone5 and ipad. Help?

    Welcome to the Apple Community.
    You need to use the sign out option on the left side.

  • I cannot get to or use my home pc for a while and am staying with a friend for the foreseeable and am using their pc to write this. How do I access my itunes account on their pc. Thanks Karen

    I cannot get to or use my home pc for some time and am staying at a firends and using their pc to write this. I need to access my itunes account and music on their pc. How do I do this. Thanks

    An easy route would be to use the iTunes Match service such that all your Songs are available anywhere over the internet via iCloud.  Once complete you can create an account on your friends PC, download iTunes and sign-in to the iTunes Store with your Apple Id, start iTunes Match and it will provide access to all your Songs.
    Not quite so good, is simply to follow the steps on your friends PC as above, however, instead of iTunes Match simply access the 'purchased' songs area from the iTunes Store home page that will give you access to all your purchases without iTunes Match.
    IMPORTANT:  Apple only like to see a single Apple Id associated with one device - so if your friend already has an active Apple Id account on the PC, it would be wise to use an alternate machine.  Apple has a 90 day lock out associated with switching Apple Ids on a common device.

Maybe you are looking for