Identify object returned by lookup

Hi!
Does anybody know how to define an instance of an object received from lookup() method?
Object object = context.lookup("jdbc");
object.getClass(); //return class but I need to know the actual class which is instantiated
Thanks.

No, it doesn't answer my question. I'll try to explain better. Let's say I have a code:
Object object = ctx.loookup("jdbc");
I can check the instance like this:
if(object instanceof String)
;//do something
else if(object instanceof Vector)
;//do something
And so on. But what if I don't have a slightest idea what object it is? Or I have to list 100 of them? Method getclass() sometimes return a stub from a server, not a real class. I have to cast it like this:
String string = (String)object;
or
Vector vector = (Vector)object;
And then I can access real class methods. From a stub I can only call naming context related methods.
Does anybody know the answer?
Thanks.

Similar Messages

  • EJB3 Stateful:ClassCastException when casting the object returned in lookup

    Hi,
    I'm developing a web application that make use of EJB3 stateless and stateful beans. The application server is the Websphere Application Server 6.1.0.15 with the EJB3 Feature Pack installed and the web server is the IBM HTTP Server running in another machine.
    The problem I'm facing is that for every stateful bean after the lookup, it throws a ClassCastExcption when casting the object returned. See part of the log below.
    [7/13/08 3:15:48:869 CDT] 0000001c SystemErr R java.lang.ClassCastException: cannot cast class com.spcs.dsa.ejb.authenticationmanager._AuthenticationManager_Stub to class com.spcs.dsa.ejb.authenticationmanager._AuthenticationManager_Stub
    at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:396)
    at com.spcs.dsa.ejb.client.DsaEjbClient.getAuthenticationRemote(DsaEjbClient.java:37)
    at com.spcs.dsa.action.NewCardAction.execute(NewCardAction.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    Please notice in the log above that the cast was done for the correct class.
    Here is the java code:
    AuthenticationManager auth =
    (AuthenticationManager) javax.rmi.PortableRemoteObject.narrow(
    context.lookup("com.spcs.dsa.ejb.authenticationmanager.AuthenticationManager"),
    AuthenticationManagerStub.class);
    This problem doesn't happen for statless beans. If you simply change the class to be stateless, this problem stop to happen.
    If you run this code in a stand alone program, this problem doesn't happen. It only happen when running in the web server.
    Does anybody know what should be done to solve this problem ??
    Thanks,
    Marcos.

    I'm not familiar with any specifics of IBM's implementation but from an EJB 3 spec perspective there is no need to use PortableRemoteObject.narrow() if you're retrieving an EJB 3.0 Remote Business interface, regardless of the component type( stateful vs. stateless). In addition, the "_Stub" class should never have to be part of your client programming model. That should be hidden within the vendor's implementation, if present at all.
    If AuthenticationManager is the Remote 3.0 Business Interface
    @Remote
    public interface AuthenticationManager {
    your client lookup should be :
    AuthenticationManager am = (AuthenticationManager) context.lookup("...");

  • QTP unable to identify objects in a flex application

    Hi,
    I am having an application that runs on flex 3.6 SDK. I am trying to automate the same using QTP 10.0, but, I am unable to identify the objects. I have installed the Flex 4.5 add-in, but still unable to recognize objects.
    Upon browsing some forums, i found that I need to compile the files "automation.swc, automation_agent.swc, automation_dmv.swc, qtp.swc, automation_flashflexkit.swc" by including them in <include-libraries> ...</include-libraries>  tags in "flex-config.xml" file present under "C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.6.0\frameworks". We did that, but still, not able to identify objects.
    It would be of great help to me if any some one could tell if I am missing out anything ?

    hello,
    not only need the objects be enclosed by their parent frame, but they also need to be "on top of it" ... meaning if you imagine your report layout as a set of layers that you look at from the side, your "layout surface" would be the bottom most layer and then all objects would be layered on top of each other. in this view, only objects that are in layers above a particular frame can become its children. after that the relationship is determined whether or not an object is inside a frame or not.
    you might want to check your object navigator to see whether or not the particular objects are actually in the right place in the hierarchy.
    thanks,
    ph.

  • XMLType in a an object returned by a stored procedure

    Hi,
    In my project, i'm using stored procedures defined by the schema's owner. Some of these procedures/functions return complex data (defined as objects in the database). This objects contains XMLTYPE data.
    When i call one of these stored procedures through JDBC, i've got an error ORA-01427. I watched when this exception is thrown and i found that appens when i do something like this :
    OPAQUE op = (OPAQUE)arr[1]; //the XMLTYPE in the STRUCT object returned by JDBC
    XMLType xt = oracle.xdb.XMLType.createXML ( op );
    I wanted to know what was the type of the object behind i get something like "class [B2".
    Anyone encoutered this problem?

    I forgot some precisions. This appens when i use a user who is not the owner of the schema. When i use the owner, everything is fine.

  • UFT 12.01-Unable to Identify objects inside grid table

    We are automating a Window based application using UFT 12.01.
    The Product and UFT Tool are installed in Client Network-Desktop and we are accessing through VPN connectivity.
    Technology stack of the application are
    .Net Framework 4.0
    IIS6.0 or greater
    Sql Server 2008 R2
    DevExpress V11.2 (UI & Reports)
    Janus Controls (UI)
    AutoMapper used within Interfaces
    Ciloci.Flee used for expression builder
    Autofac used of IOC cache
    The grid table is identified as SwfObject and  its dynamic table. Hence  we can’t perform any table operations inside table like get row() , get celldata() etc.,.We need to capture edit box inside a row which is enabled on clicking the particular row.  
    How to Identify objects inside Grid table

    Hello again,
    Here you are the DDL of the offending table:
    CREATE TABLE "DBADMEX"."T50SEC82"
    "COD_EMPRESA" CHAR(4 BYTE) DEFAULT ' ' NOT NULL ENABLE,
    "COD_EMPR_CONT" CHAR(4 BYTE) DEFAULT ' ' NOT NULL ENABLE,
    "COD_SECT_CONT" CHAR(2 BYTE) DEFAULT ' ' NOT NULL ENABLE,
    "NUM_CUEN_CONT" CHAR(18 BYTE) DEFAULT ' ' NOT NULL ENABLE,
    "COD_PAIS" CHAR(4 BYTE) DEFAULT ' ' NOT NULL ENABLE,
    "COD_SECTOR" CHAR(6 BYTE) DEFAULT ' ' NOT NULL ENABLE
    PCTFREE 10 PCTUSED 40 INITRANS 50 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE "TS_50" ;
    CREATE UNIQUE INDEX "DBADMEX"."I5000082" ON "DBADMEX"."T50SEC82"
    "COD_EMPRESA", "COD_EMPR_CONT", "COD_SECT_CONT", "NUM_CUEN_CONT"
    PCTFREE 10 INITRANS 50 MAXTRANS 255 COMPUTE STATISTICS STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE "TS_50" ;
    We are using the following versions:
    Oracle database: 11.1.0.7.0
    Oracle Client: 11.2.0.1.0
    Windows (where the client runs): XP SP3 (version 5.1 Build 2600_spsp_sp3_gdr.080814-1236) in spanish.
    SQL Developer: 2.1.1.64 (MAIN-64.45)
    I think I haven't forgotten anything.
    Thanks in advance for your help!

  • Codedui: Unable To Identify Objects Inside The Virtual Machine

    Hi
    We are unable to identify objects inside the virtual machine. We want to perform some tasks inside the virtual machine. The virtual machine object is getting identified as image. So when we perform tasks like creating a folder or opening any application
    inside that virtual machine, all actions are recorded as image.Need help on this ASAP.
    Thanks

    Hi Haripriya78,
    Thank you for posting in MSDN forum.
    >>Codedui: Unable To Identify Objects Inside The Virtual Machine
    Based on your issue, could you please tell me what operation you do and then get the error message?
    Whether you record and run this coded UI test and then get the error message?
    If possible, please tell me more detailed message about this issue.
    Generally, I know that if you want to identify objects for coded UI test, I know that the
    recorder needs to be present in the machine on which you are trying to record actions.
    For more information, please refer the Vinoth's suggestion to check this issue.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/1b7a328d-a9b6-48a6-9cb9-8ff8ac7dd435/codedui-unable-to-identify-objects-inside-the-virtual-machine?forum=vsautotest
    If I misunderstanding your issue, please tell me more message about your issue so that we will further help you support this issue.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • OracleDbType for function OBJECT return type

    Hi all,
    I inherited an oracle function that has an object as a return type:
    create or replace TYPE OBJECTPATH IS OBJECT (OBJECTID NUMBER);
    create or replace TYPE OBJECTPATH_TAB AS TABLE OF OBJECTPATH;
    create or replace FUNCTION GETOBJECTINPATH ( pobjectid in NUMBER, role1 varchar2, role2 varchar2 ) RETURN OBJECTPATH_TAB
    IS
    v_tmp_tab OBJECTPATH_TAB:=OBJECTPATH_TAB();
    parentid NUMBER;
    rowno INTEGER;
    BEGIN
    rowno:=0;
    parentid:=pobjectid;
    loop
    select objectid into parentid from dual left join (select ro2.objectid from relationshipobject ro1, relationshipobject ro2
    where ro1.role=role1 and ro2.role=role2 and ro1.relationshipid=ro2.relationshipid and ro1.objectid=parentid)
    on 1=1;
    if parentid is null then
    exit;
    end if;
    v_tmp_tab.extend;
    rowno:=rowno1;+
    v_tmp_tab(rowno) := OBJECTPATH(parentid);
    end loop;
    RETURN v_tmp_tab;
    END;
    On my application side, I am trying to run this function and retrieve the return value with ODP.NET as below. However, I am stumped when I need to supply an OracleDbType for the function return type.
    1. What is the OracleDbType I should use for the return type? I read that there used to be support for OracleDbType.Object, but it seems like it is now not supported. I am using ODP.NET 11g. Am I getting the situation correct?
    2. If retrieving an object return type is not as straightforward as setting the parameters (as what I have done below), what is the workaround to achieve it?
    OracleCommand runGetPObjectInPathCmd = new OracleCommand("GETOBJECTINPATH", conn);
    runGetPObjectInPathCmd.CommandType = CommandType.StoredProcedure;
    runGetPObjectInPathCmd.Parameters.Add(new OracleParameter("pobjectid", OracleDbType.Decimal)).Value = pobjectId;
    runGetPObjectInPathCmd.Parameters["pobjectid"].Direction = ParameterDirection.Input;
    runGetPObjectInPathCmd.Parameters.Add(new OracleParameter("role1", OracleDbType.Varchar2, 255)).Value = role1;
    runGetPObjectInPathCmd.Parameters["role1"].Direction = ParameterDirection.Input;
    runGetPObjectInPathCmd.Parameters.Add(new OracleParameter("role2", OracleDbType.Varchar2, 255)).Value = role2;
    runGetPObjectInPathCmd.Parameters["role2"].Direction = ParameterDirection.Input;
    runGetPObjectInPathCmd.Parameters.Add("OBJECTPATH_TAB", OracleDbType.Decimal); // this is not correct as the return type is not a NUMBER
    runGetPObjectInPathCmd.Parameters["OBJECTPATH_TAB"].Direction = ParameterDirection.ReturnValue;
    runGetPObjectInPathCmd.ExecuteNonQuery();
    Thanks in advance for any help and would greatly appreciate it.

    Hi Greg,
    Thanks for your reply. I am not exactly sure whether I am using 11.1.0.6.21. The Oracle.DataAccess.dll I see under my \ODP.NET\bin\2.x directory is of Assembly/Product Version 2.111.6.0 - is this version 11.1.0.6.21? I also do not have the samples directory. Am I working on a wrong version? Thanks for your patience as I am really new to this and appreciate your guidance.

  • Copy activity fails while copying/reading sql object return type

    Hi,
    Please help me by providing some information for the following issue
    i am executing a db adapter in BPEL service ,i am calling a stored procedure it returns a object type . i can see the outputparameters retrun values in the audit(BPEL console) but i am unable to copy the object return type using assign copy operation.
    it shows parser error.Please find below mentioned error information.
    fault message:
    ULNAPP_JW_100_02_OutputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters">
    -<db:OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/DEVJ2EE/ULNAPP_JW_100_02/EDIT/">
    -<IV_EDI_REC_T>
    <EDI_EDIT>CNLNCE_APP_EDIT_00
    </EDI_EDIT>
    <EDI_SUPER_PRODUCT_TYPE_CD>CN
    </EDI_SUPER_PRODUCT_TYPE_CD>
    <EDI_PRODUCT_TYPE_CD>LN
    </EDI_PRODUCT_TYPE_CD>
    <EDI_FUNDING_TYPE_CD>CE
    </EDI_FUNDING_TYPE_CD>
    <EDI_PTC_COMPANY>ALL
    </EDI_PTC_COMPANY>
    <EDI_PCB_BRANCH>ALL
    </EDI_PCB_BRANCH>
    <EDI_STATE_CD>ALL
    </EDI_STATE_CD>
    <EDI_PRD_PRODUCT>ALL
    </EDI_PRD_PRODUCT>
    <EDI_EDIT_TYPE_CD>ORG-ENTRY
    </EDI_EDIT_TYPE_CD>
    <EDI_ENABLED_IND>Y
    </EDI_ENABLED_IND>
    <CREATED_BY>SETUP
    </CREATED_BY>
    <CREATION_DATE>2008-01-30T17:02:35.000+05:30
    </CREATION_DATE>
    <LAST_UPDATED_BY>SETUP
    </LAST_UPDATED_BY>
    <LAST_UPDATE_DATE>2008-01-30T17:02:35.000+05:30
    </LAST_UPDATE_DATE>
    <EDI_RESULT_CD>ERROR
    </EDI_RESULT_CD>
    <EDI_OVR_RESPONSIBILITY_CD>UNDEFINED
    </EDI_OVR_RESPONSIBILITY_CD>
    <EDI_ERE_ID>102688
    </EDI_ERE_ID>
    </IV_EDI_REC_T>
    <IV_RESULT>0
    </IV_RESULT>
    <IV_ERR_DESC xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </db:OutputParameters>
    </part>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="response-headers">[]
    </part>
    </ULNAPP_JW_100_02_OutputVariable>
    </messages>
    Assign_1
    [2008/04/10 20:01:50] Updated variable "TMP_Output"More...
    -<TMP_Output>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters">
    -<OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DEVJ2EE/ULNAPP_JW_100_02/EDIT/">
    -<IV_EDI_REC_T xmlns="">
    <EDI_EDIT>CNLNCE_APP_EDIT_00
    </EDI_EDIT>
    <EDI_SUPER_PRODUCT_TYPE_CD>CN
    </EDI_SUPER_PRODUCT_TYPE_CD>
    <EDI_PRODUCT_TYPE_CD>LN
    </EDI_PRODUCT_TYPE_CD>
    <EDI_FUNDING_TYPE_CD>CE
    </EDI_FUNDING_TYPE_CD>
    <EDI_PTC_COMPANY>ALL
    </EDI_PTC_COMPANY>
    <EDI_PCB_BRANCH>ALL
    </EDI_PCB_BRANCH>
    <EDI_STATE_CD>ALL
    </EDI_STATE_CD>
    <EDI_PRD_PRODUCT>ALL
    </EDI_PRD_PRODUCT>
    <EDI_EDIT_TYPE_CD>ORG-ENTRY
    </EDI_EDIT_TYPE_CD>
    <EDI_ENABLED_IND>Y
    </EDI_ENABLED_IND>
    <CREATED_BY>SETUP
    </CREATED_BY>
    <CREATION_DATE>2008-01-30T17:02:35.000+05:30
    </CREATION_DATE>
    <LAST_UPDATED_BY>SETUP
    </LAST_UPDATED_BY>
    <LAST_UPDATE_DATE>2008-01-30T17:02:35.000+05:30
    </LAST_UPDATE_DATE>
    <EDI_RESULT_CD>ERROR
    </EDI_RESULT_CD>
    <EDI_OVR_RESPONSIBILITY_CD>UNDEFINED
    </EDI_OVR_RESPONSIBILITY_CD>
    <EDI_ERE_ID>102688
    </EDI_ERE_ID>
    </IV_EDI_REC_T>
    <IV_RESULT xmlns="">0
    </IV_RESULT>
    <IV_ERR_DESC xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns=""/>
    </OutputParameters>
    </part>
    </TMP_Output>
    </sequence>
    </flow>
    <switch>
    Assign_Output (faulted)
    [2008/04/10 20:01:50] Error in evaluate <from> expression at line "399". The result is empty for the XPath expression : "/ns9:OutputParameters/ns9:IV_RESULT". More...
    oracle.xml.parser.v2.XMLElement@d2838
    [2008/04/10 20:01:50] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    -<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/ns9:OutputParameters/ns9:IV_RESULT" is empty at line 399, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns9:OutputParameters/ns9:IV_RESULT" is not empty.
    </summary>
    </part>
    </selectionFailure
    Thanks in advance,

    I'm having a similar problem where I'm unable to copy data from a single element from a response from a stored procedure (through an ESB service). If I copy the entire response xml to another variable it works fine however.
    Working code:
    <variable name="VariableOut" messageType="ns10:OutputParameters_reply"/>
    <assign name="assignStatusCode">
    <copy>
    <from variable="VariableOut" part="OutputParameters" query="/ns11:OutputParameters/ns11:EnclosureOutput/ns11:P_STATUS_CODE"/>
    <to variable="statusCodeFromEnclosures"/>
    </copy>
    </assign>
    results in:
    Updated variable "VariableOut"
    <invokeAPPS_DB_Enclosures_Out_execute_OutputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters">
    <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DOC_INT/DOC_INV_ENCLOSURE_PKG/SEND_ENCLOSURES/">
    <P_ENCLOSURES xsi:nil="true"/>
    <P_STATUS_CODE>1</P_STATUS_CODE>
    <P_STATUS_TEXT>My text</P_STATUS_TEXT>
    </OutputParameters>
    </part>
    </invokeAPPS_DB_Enclosures_Out_execute_OutputVariable>
    Not working code:
    <variable name="statusCodeFromEnclosures" type="xsd:unsignedInt"/>
    <assign name="assignStatusCode">
    <copy>
    <from variable="VariableOut" part="OutputParameters" query="/ns11:OutputParameters/ns11:EnclosureOutput/ns11:P_STATUS_CODE"/>
    <to variable="statusCodeFromEnclosures"/>
    </copy>
    </assign>
    results in:
    Error in evaluate <from> expression at line "195". The result is empty for the XPath expression : "/ns11:OutputParameters/ns11:EnclosureOutput/ns11:P_STATUS_CODE".
    oracle.xml.parser.v2.XMLElement@14d4901

  • Filter Objects returned by Get-ChildItem

    Hello there,
    I had a look at the properties available for objects returned by Get-ChildItem command using:
    PS C:\> Get-ChildItem | Get-Member
    This command shows that objects returned by Get-ChildItem command possess properties
    'Name, FullName, LastAccessTime etc...'
    If I declare a variable to retrieve objects starting with 'Program':
    PS C:\> $ChildItems_Program = Get-ChildItem -name 'Program*'
    and check what is stored in $ChildItems_Program, it shows me two objects/items as shown below:
    PS C:\> $ChildItems_Program
    Program Files
    Program Files (x86)
    However if I try to access properties 'Name, FullName, LastAccessTime' from the first object saved in $ChildItems_Program
    PS C:\> $ChildItems_Program[0] | Select -Property Name, FullName, LastAccessTime
    Name FullName LastAccessTime
    I can't see any results for above command- Shouldn't it return the properties of first object saved in $ChildItems_Program?
    Can anyone please guide.
    Thank you!
        

    Hi,
    Tommy is right, using -Name doesn't actually return the full object. When you use that parameter, you're getting back an array of names only. Here's how you can tell:
    PS C:\> $ci_program = Get-ChildItem -Name 'Program*'
    PS C:\> $ci_program.GetType()
    IsPublic IsSerial Name BaseType
    True True Object[] System.Array
    PS C:\> $ci_program[0].GetType()
    IsPublic IsSerial Name BaseType
    True True String System.Object
    PS C:\> $ci_program[0] | Get-Member -MemberType Property
    TypeName: System.String
    Name MemberType Definition
    Length Property int Length {get;}
    PS C:\> $ci_program
    Program Files
    Program Files (x86)
    Here's what you should see if you get objects back from gci, using -Filter (I use -Path here):
    PS C:\> $ci_program_object = Get-ChildItem -Path 'Program*'
    PS C:\> $ci_program_object.GetType()
    IsPublic IsSerial Name BaseType
    True True Object[] System.Array
    PS C:\> $ci_program_object[0].GetType()
    IsPublic IsSerial Name BaseType
    True True DirectoryInfo System.IO.FileSystemInfo
    PS C:\> $ci_program_object[0] | Get-Member -MemberType Property
    TypeName: System.IO.DirectoryInfo
    Name MemberType Definition
    Attributes Property System.IO.FileAttributes Attributes {get;set;}
    CreationTime Property datetime CreationTime {get;set;}
    CreationTimeUtc Property datetime CreationTimeUtc {get;set;}
    Exists Property bool Exists {get;}
    Extension Property string Extension {get;}
    FullName Property string FullName {get;}
    LastAccessTime Property datetime LastAccessTime {get;set;}
    LastAccessTimeUtc Property datetime LastAccessTimeUtc {get;set;}
    LastWriteTime Property datetime LastWriteTime {get;set;}
    LastWriteTimeUtc Property datetime LastWriteTimeUtc {get;set;}
    Name Property string Name {get;}
    Parent Property System.IO.DirectoryInfo Parent {get;}
    Root Property System.IO.DirectoryInfo Root {get;}
    PS C:\> $ci_program_object
    Directory: C:\
    Mode LastWriteTime Length Name
    d-r-- 1/26/2014 12:40 AM Program Files
    d-r-- 3/28/2014 12:07 PM Program Files (x86)
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • HCM errors in phase Identify Objects for Transfer and Start Data Selection.

    Hello Colleagues ,
    Background: We are using TDMS HCM PA PD Expert package to transfer all of the HCM data
    We are using TDMS 4.0 SP 5. We are trying to do the Configuraition in Identify Objects for Transfer and Start Data Selection.. In this phase, we are encountering the issue of 'choose to confirm to trigger data selection'.  The only option in this activit is'confirm batch' and 'confirm online'. Even if we press the button, we are still encountering issues. What selections then or values can we use?Thank you. Kindly see screen shot
    Regards,
    Meinard

    Hello Meinard,
    There could be two issues:
    First check if you have assigned the target ranges for the dialog user which you are using to select data from sender system. You need to maintain target ranges in activity 'Define target ranges for users' which you can find under activity "Configuration and Utilities in Control system".
    Secondly, there could be authorizaton issues for the sender system user. Check for any authorization issue in SU53 in sender system for the user which you used to logon to sender system.
    Thanks
    Anita

  • Identify objects at runtime

    Is there a way to identify objects on a form at runtime other than items in blocks?
    For instance, I want to identify frames on a canvas, boilerplate (text labels), tabbed canvases, etc. at runtime without actually naming them - as in getting the names/ids programatically through maybe get_canvas_property() or get_form_property.

    You can use FIND_* built-ins for canvases and Windows - you can't address boilerplat objects at runtime.

  • Multi-state object return from visible to invisible after a few seconds?

    Hi Community,
    I have a folio for ipad. on the second page is a picture of a technological product. i made several info buttons on top of it that open a descriptionbox for the specific area of the product via MSO.
    Is it possible to let MSOs return to their invisible state after a few seconds? I tried the timing option, but that didn't worked out. the object returned to invisible immediatly. not after the set timeframe of 3 seconds.
    my only solution was to make extra close buttons for each MSO to return to invisible state. but that leaves the Infotext boxes open all the time unless you close them manually.
    another idea was to make each info button close every other infobox. but that is messy and didn't work very well on the first attempt. and still leaves one infobox open all the time.
    PS: sorry if unclear, for typos and language. Not native.
    Hendrik

    there is no way to automatically close an MSO n seconds after it was manually opened by the reader.
    yet...
    but thanks anyway

  • Should I use the object returned from em.merge()

    I am still confused how to use em.merge() correctly. I need to know if I should use the result of em.merge().
    PersistentObject obj = new PersistentObject();
    obj.setSomething("Value#1");
    // Should I do this and continue to use the object returned from merge().
    obj = em.merge(obj);
    obj.setSomething("Value#2");

    Chris,
    First thanks for your and your teams awesome support.
    The reason I always get confused with merge() is my misunderstanding about how clones and caching are handled. Let me give you 2 scenerios and could you tell me what the problems are, is any?
    Scenerio #1: (using return from merge)
    -- Start of Transaction #1
    EntityObject obj = new EntityObject();
    obj.setName("chris");
    obj = em.merge(obj);
    -- End of Transaction #1
    -- Start of Transaction #2
    obj.setName("scott");
    obj = em.merge(obj);
    -- End of Transaction #2
    Is this ok, will I lose data, are the clones and cache ok?
    Scenerio #2: (NOT using return from merge)
    -- Start of Transaction #1
    EntityObject obj = new EntityObject();
    obj.setName("chris");
    em.merge(obj);
    -- End of Transaction #1
    -- Start of Transaction #2
    obj.setName("scott");
    em.merge(obj);
    -- End of Transaction #2
    Is this ok, ?
    These 2 scenerios are different in the fact that one uses the return from merge and one does not. Which one is correct, and what would the problem be with the wrong one?

  • Can objects returned from web services be cast to strongly typed objects?

    Can objects returned from web services be cast to strongly
    typed objects?
    Last I tried this was with one of the beta of Flex2 and it
    did not work. You had to use ObjectProxy or something like that...
    Thanks

    Please post this question in the CRM On Demand Integration Development forum.

  • After Effect CC: Custom JavaScript functions of a flashplayer object return no value

    Hi
    With AfterEffects CC scripting it looks like custom JavaScript functions of a flashplayer object return no value when invoked from ActionScript code
    This can be seen in the sample script shipped with ExtendScript Toolkit named ActionScriptDemo.jsx:
    Create a flashplayer object in a JSX file with a custom getJavaScriptNumber function:
    var flashPlayer = flashPalette.add("flashplayer", cBounds);
    flashPlayer.getJavaScriptNumber = function() {
              return 12345;
    Invoke the custom getJavaScriptNumber function from ActionScript code of an .MXML file:
    public function requestJavaScriptNumber():void{
              var res:int = ExternalInterface.call("getJavaScriptNumber");
              estkNumber = res;
    The ExternalInterface.call("getJavaScriptNumber") call return no value
    Any idea or a suggested workaround??
    Thanks, Erez.

    I wonder if this was intentional on Adobe's part.  It seems rather odd that it just "broke" with the upgrade to CC.
    I was thinking of a way to display a "web page" within an ExtendScript dialog / window, and thought that I could use Flash / ActionScript to do just that and then display that within the dialog.  It seems, now, that it is just a bad idea because the API for ExternalInterface is broken--I would need two-way communication between the Flash object presenting the webpage and the ExtendScript ScriptUI Panel.
    Is there a workaround for this?
    Thanks,
    Arie

Maybe you are looking for