Referring RPD runtime

Hello,
I have been just introduced to OBIEE 11g world. I and have some basic questions as below
1. Can we refer a RPD at runtime vis-a-vis mentioned in the config file?
2. Can we have two RPDs refer at runtime?
Best Regards,

Received from the user as in the user specifies it? Or as an argument which the user receives as in the user can see which RPD is currently running?
If it's the former, then no, there's no way a user can specify which RPD to run since that actually requires an Enterprise Manager deployment action.
For the latter: Yes, in Enterprise Manager but I think you would want it in Answers or on a dashboard for which then the answer is "no, there's no functionality forseeing that right now".

Similar Messages

  • Which file is missing?

    I'm getting an exception from JavaDoc tool about a file that cannot be found. How can I find out which file is missing?
    Generating .\doc\packages.html...
    Generating .\doc\hoox\demo\package-frame.html...
    Generating .\doc\hoox\demo\package-summary.html...
    java.io.IOException: The system cannot find the file specified
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:352)
    at java.io.File.getCanonicalPath(File.java:513)
    at com.sun.tools.doclets.standard.HtmlStandardWriter.copyDocFiles(HtmlStandardWriter.java:140)
    at com.sun.tools.doclets.standard.PackageWriter.generate(PackageWriter.java:84)
    at com.sun.tools.doclets.standard.Standard.startGeneration(Standard.java:155)
    at com.sun.tools.doclets.standard.Standard.start(Standard.java:43)

    This tool does not really help. If I understand the stacktrace correct it is the com.evermind.server.rmi.RmiServerLookupStrategy class that is missing. This class is in the oc4jclient.jar which IS is my webstart classpath. So something else must be missing, but because I do not have the source code for RmiServerLookupStrategy is a bit har to tell which classes it refers at runtime.
    Any suggestion?

  • Inheritance related question

    class a{
         public void meth()
              System.out.println("In a");
    class b extends a{
         public void meth()
              System.out.println("In b");
    public class Test extends b{
         public static void main(String[]a)
    }can i call the a's meth() from Test without creating an instance of a? This might be a simple question and i think i cant create it, but if this is possible please tell me how to do it. also im not referring to runtime polymorphism. without using runtime polymorphism, can i access a's meth()? i know by calling super.meth() in b's meth() will solve it but i do not want to go that way.
    Thanks in advance,
    Geet

    meth is not a static method of the class a, so you can't really call it without instantiating class a.
    If you meant "can I call method meth in class a with an instance of class b?",(note that an instance of b is an instance of a) the answer is no as well, because your method from class b has overridden it... Note that you CAN call the method from class a from within class b (but not from Test), by using the keyword super.

  • Regarding description of attachment in workflow.

    Hi,
    New Year greetings to all.
    I have a question regarding attachments is workflow.
    In the decision screen the description of the attachment is the subject which is provided by the user creating the attachment.
    Is it possible that the description reflects the name of the user who created it?
    Actually according to the requirement we should be able to differentiate between the attachments based on the creator
    of the attachment.
    Regards
    Shraddha

    Hi,
    It looks an interesting requirement, I suggest the following solution for this
    1. All workflow attachments infact gets stored as SOFM Objects and the The title of attachment link that you get in workitem comes from Default Attribute of SOFM Object i.e SOFM.Description ( You can check this by going to SWO1 give SOFM as BO and Go To -> Basic Data -> Defaults Tab and check for Attribute)
    2. So, if we can change the default attribute to something else which will have User Name as the value, User Name will appear as the title of the attachment in workitem and that should solve your problem.
    You can do this by following
      a. Create a New ZSOFM Object delegate it to SOFM
      b. Create a New Virtual Attribute on ZSOFM ( say NewTitle) and in the logic of this attribute, assign SOFM.OWNER->Name to this new variable 'NewTitle'. ( good idea can be to have original description of SOFM + Owner Name as the New Title)
      c. Set the ZSOFM defalut attribute as 'NewTitle'
    By doing this, whenever SOFM is refered, in runtime ZSOFM will be called ( this is because of delegation) and as we set 'NewTitle' as default attribute this value will appear as the title of the attachment in your workitem.
    Hope this helps you !!
    Regards
    Krishna Mohan

  • Performance on two phase deployment

    Weblogic 7.0 provides two phase deployment and also provides dynamic deployment.
    Following is issue regarding the performance:
    (1) For a certain module (a EJB component), which phase will take more time to
    complete? Prepare phase or activate phase? Is there any number about them?
    (2) If I start WL in PRODUCTION mode, that is, it does not deploy any application,
    then, I use Runtime Deployer MBean to depoy a module inside an application, (this
    application has not been deployed since I start my WL in production mode), only
    this bean is made available to client, but it seems that all other modules have
    been passed prepare phase, so if this phase takes time and I have hundreds bean
    inside my application, to the end user, it will be deploying one bean take long
    time to process, since WL will try to prepare all other moudles.
    Any comments?

    Seth White <[email protected]> wrote:
    >
    We are developing an application with hundreds of beans, and Weblogic server will
    take long time to startup if all the beans will be deployed during startup. So,
    we like the idea of runtime deployment, that is, only deploy the bean that is
    referred during runtime, all other beans that is not used just be ignored, this
    is very useful during development stage.
    >
    Jinsong Hu wrote:
    Weblogic 7.0 provides two phase deployment and also provides dynamicdeployment.
    Following is issue regarding the performance:
    (1) For a certain module (a EJB component), which phase will take moretime to
    complete? Prepare phase or activate phase? Is there any number aboutthem?
    >
    Prepare. All the heavy work is done during prepare, so that activate
    is very unlikely
    to fail.
    (2) If I start WL in PRODUCTION mode, that is, it does not deploy anyapplication,
    then, I use Runtime Deployer MBean to depoy a module inside an application,(this
    application has not been deployed since I start my WL in productionmode), only
    this bean is made available to client, but it seems that all othermodules have
    been passed prepare phase, so if this phase takes time and I have hundredsbean
    inside my application, to the end user, it will be deploying one beantake long
    time to process, since WL will try to prepare all other moudles.
    Any comments?Why do you want to activate a single module in your application?

  • The registry refers to a nonexistent java runtime environment installation

    I was having trouble running some Java programs (not my own) in Windows XP, and in the process I uninstalled and installed JRE versions 6, 7, and 8, one at a time, probably in the order 7, 8, 7, 6, 7. The program that had the original problem only worked in V6, but some other programs stopped working. I went back to V7, and those other programs still didn't work. The message was "the registry refers to a nonexistent java runtime environment installation". The only advice I could find with Web searches was to reinstall the JRE. Needless to say, that didn't work.
    So I looked at the registry, and I found that there were still references to V8, which had been uninstalled. The first was
    HKEY_CLASSES_ROOT\jarfile\shell\open\command - (Default) = "C:\Program Files\Java\jre1.8.0_31\bin\javaw.exe" -jar "%1" %*
    The folder re1.8.0_31 doesn't exist, so I changed it to jre7. That didn't work.
    Then I found
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment - CurrentVersion = 1.8
    I changed this to 1.7, and deleted some following entries such as
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8 - JavaHome = C:\Program Files\Java\jre1.8.0_31
    retaining entries such as
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.7 - JavaHome = C:\Program Files\Java\jre7
    That worked!
    So, there is a bug in the installer(s): if you uninstall V8 and install V7, the 'CurrentVersion' isn't set correctly, with the result that the registry points to a non-existent folder. The V8 uninstallation should delete these entries, or the V7 installation should change them.
    Question: Where do I report this bug? Or, better still, would someone report if for me? :-)

    Hello,
    Here's a direct link to the place to report bugs: http://bugs.java.com/bugdatabase/index.jsp
    I would recommend that maybe you see if it hasn't been reported already before submitting it.
    Hope it goes!

  • Problem in referring the methods of jar during runtime in OSB 10gR3

    Hi,
    I have to use the methods of a certain Jar File. During Development, I import the jar in my OSB Project and refer the methods. But at runtime, I want to remove this jar, place the jar in domain and refer using classpath. when I do this I get error saying classs not found. is there any way to achieve this?

    when it's just some generic jar (utility) which is also used by non-osb project, i could imagine you don't want to include it in your osb project and also store it on your classpath somewhere else since you need to maintain it on different locations
    but like Manoj said, osb expects the file to be there. as soon as you import it in your osb project it's an osb resource with generated metadata for it. So as soon as you remove it on runtime i could expect the project will be out of sync and will fail.

  • How BPEL refers to human task form application during runtime ?

    Hi All,
    I have worked on coulple of 10g BPEL human tasks and I remember '.tform' file used to capture
    task display jsp application url
    content of tform file
    <template>${http_url}/${domain_id}/BPEL_PROCESS/1.0/Task Form/Task Form.jsp</template>
    I am looking for help on how same is achieved in 11g
    in Nutshell,
    How does 11g bpel knows which task form it has to invoke?
    Thanks,
    Praveen

    Hi Praveen
    If you already have a bpm/bpel application in soa 11g, open that in JDeveloper and serach for the file named hwtaskflow.xml. This file will be under your taskforms project -> Application Sources.
    In JDev, for each human task, there is a .task file generated with payload details, actions that task is allowed etc. We can generate taskform for this .task using autogenerte or custom. Either way the above file will have the details like the association of the actual Task and correspond taskform jspx file. If you are familiar with the ADF architecture like bindings you can understand much better.
    In EM console, click on the workflow file that is deployed under your soa_doamin. On right side, you will see list of all the human tasks and click on any human task. You will see the uri for that task. This is the reference for the deployed composite for that task. Now the above .xml file will have the exact human task name with additional information like which pageflow defintion file to invoke. All the pageflows xml files are under your taskforms\web-inf folder.
    See the below link for more details:
    http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10224/bp_designtf.htm#CHDIFHIJ
    see the section named "28.3.3 What Happens When You Create an ADF Task Flow Based on a Human Task".
    Thanks
    Ravi Jegga

  • Error at runtime while consuming a portlet in webcenter application

    Hi,
    I am also facing the same issue.
    oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/WsrpPortletProducer0/ap/PortalContentBIReportsjspx_3715283e_0134_1000_8001_ac1801a53f3d.pxml not found
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getInternal(MDSPersistenceContext.java:649)
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:604)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:249)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:110)
    at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:300)
    at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:310)
    at oracle.portlet.client.containerimpl.PortletContainerImpl.getById(PortletContainerImpl.java:345)
    at oracle.portlet.client.containerimpl.PortletContainerImpl.getPortlet(PortletContainerImpl.java:267)
    at oracle.adfinternal.model.portlet.binding.PortletModelImpl.init(PortletModelImpl.java:380)
    at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.init(PortletBinding.java:1101)
    at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.init(ActivityPortletModelWrapper.java:112)
    at oracle.adf.model.portlet.binding.PortletBinding._initModel(PortletBinding.java:471)
    at oracle.adf.model.portlet.binding.PortletBinding.initModel(PortletBinding.java:913)
    at oracle.adf.model.portlet.binding.PortletBinding.getPortletModel(PortletBinding.java:541)
    at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:394)
    at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:330)
    at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:922)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3271)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:279)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:40)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:64)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/adf/portlet/WsrpPortletProducer0/ap/PortalContentBIReportsjspx_3715283e_0134_1000_8001_ac1801a53f3d.pxml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1341)
    at oracle.portlet.client.persistenceimpl.mds.MDSSessionWrapper.getBaseReadOnlyMO(MDSSessionWrapper.java:256)
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getInternal(MDSPersistenceContext.java:634)
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:604)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:249)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:110
    But this file - /PortalContentBIReportsjspx_3715283e_0134_1000_8001_ac1801a53f3d.pxml exists in my local machine from where i am deploying. I have done the following things.
    1) there are no spaces between my project names
    2) I have also removed all unused producers from the mds folder in jdev.
    I feel that the MDS folder is not getting included while deploying , not sure.
    I am deploying the webcenter to a standalone WLS
    Can any one help me in this

    Hi Yannick,
    Thanks!!
    I was able to resolve it, actually there was a datasource mds-owsm which was being referred in my webcenter application and it was not targeted to the managed server where I was deploying the app, So once I added the target to include this managed server, the portlet was getting identified and getting consumed in my application.
    Quick question here I need to integrated BI presentation service in my webcenter, what will be the best way to do it and go about it?I had found an artcile in oracle docs but it is not working for me.Please suggest some better ways of doing this integration.
    Thanks for your help!!!

  • Runtime Error in Test Client after Transport

    Hello SDNers,
    I did enhancements to standard SAP component ICCMP_BP_SEARCH in developement system in client XXX of system SSS.
    I wanted to test the functionality in client YYY so used SCC1 transaction to transport from client XXX to client YYY.
    But when i tried to test the application, it resulted in runtime error.
    I had kinda identified the problem while debugging, in the class CL_CHTMLB_CONFIG_UTILITY method CREATE_UI_ELEMENT, it is not taking my Z class references rather it still referring to starndard classes.
    My Z classes are created for IMPL  class, CTXT class and CN00 class.
    If any one has suggestions your help would be appreciated
    Thanks in advance.
    Best Regards,
    Srikanth

    Srikanth,
    Is the definition of the enhancement set defined properly for your test client.  This table does not transport and you have to maintain it manually in each client.  The view is BSPWDV_EHSET_ASG for SM30.  Client is not the first field in the table, so you have to edit this view in each client.
    Take care,
    Stephen

  • Error:When adding RDC runtime library (Crystal report XI R2) to Lotus notes

    Background : We have reporting feature implemented in one of lotus notes application using crystal reports 6 (OCX) and as Crystal report is going to be upgraded to CR XI version in my organisation, we need to implement the same using RDC component available in crystal XI . we have installed Crytal report XI R2 - SP 6 version for testing the integration.
    we are  referring a document available on SAP web site(attached below) that illustrates the steps required to integrate the Crystal Reports®  Report Designer Component into a Lotus® Dominou2122 application.  http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/509b02de-a81e-2b10-f598-822b6d6f2024?quicklink=index&overridelayout=true
    Steps which have been outlined for adding runtime library in lotus domino application is shown below:-
    1. In Domino Designer, add a Form to the application.
    2. In the programmeru2019s pane, go to the (Declarations) handler of the Form and enter:
       Dim App As Variant,    Dim Rep As Variant
    3. Select Create | Object and select the u201CControlu201D radio button in the u201CCreate Objectu201D dialog box that comes up. From the list of controls, select u201CCrystal Report Viewer Control.u201D This adds the control to the Form.
    4. Click on the control and select Edit | Properties. In the u201CAppletu201D properties dialog, select the u201CSize object to fit windowu201D radio button and then close the properties dialog.
    We are getting an error message while trying to add 'Crystal Report Viewer Control' control (illustated in Step 3 above) in the lotus notes form . Error message which we get is 'An error has occured while processing a request on an object'.
    Alternatively , we created the object of Crystal Report Viewer on lotus notes form by adding viewer object file (Crviewer.dll) from the file system  after selecting the u201CObject from a fileu201D radio button in the u201CCreate Objectu201D dialog box and added following code in the postopen event of lotus notes form .
    Set m_Viewer = Source.GetObject("Crystal Report Viewer Control")
    Set App = CreateObject("CrystalRuntime.Application")
    Set Rep = App.OpenReport(u201Cc:lotus
    otes
    ep.rptu201D)
    Set m_Viewer.ReportSource = Rep
    Again, when lotus notes form is opened , it gives error 'Variant does not contain object' at 'Set m_Viewer.ReportSource = Rep' .
    Can any one suggest us any workaround or if iit is not possible in CR XI R2 into a Lotus® Dominou2122 application. Also, can any one provide us sample code if CR 2008 version can be integatred with lotus notes.

    I believe, Lotus was never a "supported" development platform, though it did work - at one time or another. Eventually it did not and you are at that point. I think it was CR 10 where it started to be impossible to add the viewer to Lotus. This was never fixed and we never did find out if this was a Lotus thing or a CR thing.
    Re. CR 2008 and Lotus. The RDC has been retired in CR 2008, so no luck there either for you. The only SDKs available in CR 2008 are for .NET and Java.
    Ludek

  • Get the Type of a generic field at runtime, How to?

    Hello,
    As the topic already says, i need to get the Type of a particular field of a class. This field is declared private and generic. In C# there is a method
    Type Object.getTypeIs there any specific way to do this in Java 1.5?
    Please excuse my poor english.
    Thanks in advance.
    Markus

    McNepp wrote:
    endasil wrote:
    McNepp wrote:
    If you want to know the parametrized type (String in the example), I think there is no way of knowing this in Java 1.5 or Java 1.6, since the parametrized type is erased and not available at run time.The type of a parameterized field is not erased.For most intents and purposes, it is. Type erasure refers to the fact that at runtime, there are not actually multiple class binaries depending on the generic arguments to a class. Therefore, an ArrayList<T> is actually just an ArrayList with no generics.
    Frankly, I don't understand why you insist that the information on generic fields that the OP was asking about is lost at runtime.I wasn't trying to insist that. At the time, I was replying more to Saish and trying to reaffirm that most information about generics is lost at run-time. I mistakenly ignored how you qualified it with "field."
    What you write about instances of generic classes losing their type information is of course correct, albeit not to the point of the original question.Nope, you're right. I was just trying to reconcile the fact that many people get confused that there's any information available at run-time, and so start down the path of thinking that type erasure doesn't exist. But it very much does.
    The original question was about how to obtain the type of a generic field.And I did show in my example that even that is fairly limited, given that if the type is provided by the parameter of the class, it doesn't give you anything useful (I'm not trying to say you said it would!).
    The compiler preservers this information in the class file, so it can be obtained at runtime. Frameworks like JPA put this to use extensively, proving that it is of real value.Definitely. However I don't see this having as much to do with generics as basic reflection functionality. If you can get the type of a field at run-time, you should be able to get the parameters as well! That should in no way belittle its value, though. But I would have guessed (knowing little about) that JPA wouldn't put that to use so much as the type parameters of an accessor return type or mutator argument type. Especially since I thought we'd shown that you would need your fields to be non-private for JPA to be able to gain information about their type.
    Edit: getDeclaredField works fine with private members, and returns the expected "java.lang.String" from jschell's example above
    Edited by: endasil on 28-Apr-2009 10:39 AM

  • How to hide/show and move screenelements at runtime

    Hi Guys
        Currently, i have a requirment that, in the same screen, when user choose different different option in the dropdown list, there should be different screenelements and table control with different columns showing below it.
    Now, i have two plans below:
    1), hide/show and move position of screen elements and table control at runtime
    2), call different subscreen
    I hope i can take the first way since the second way will modify structure of program ( As it is infotype screen ), any one knows how to implement the first solution?

    Hi,
    I would suggest you to call different subscreens and load them dynamically based on your parameters.Since different subscreen are called your coding and functionality could also be seperated by writing in the PAI and PBO of the correspondiong Screens.
    if you have decided to go by your first method then try the below code.
    a) if it is normal UI elements like text box etc
    LOOP AT SCREEN.
        IF <var> = ' value '.
            screen-invisible = '0'.
            MODIFY SCREEN.
      endif
    ENDLOOP.
    Here <var> refers to the screen field name and value refers to its value.
    b) To hide columns in a Table control.
    DATA cols LIKE LINE OF tc-cols.
      LOOP AT tc-cols INTO cols.
        IF cols-screen-group1 = 'G1'.
          cols-invisible = 'X'. "HIDE THIS COLUMN
          MODIFY tc-cols
          FROM cols
          TRANSPORTING invisible.
        ENDIF.
        CLEAR cols.
      ENDLOOP.
    PS: here TC refers to the name of the table control.
    Lemme know if you face any problems.
    Cheers,
    RK

  • How to cast an Object into a specific type (Integer/String) at runtime

    Problem:
    How to cast an Object into a specific type (Integer/String) at runtime, where type is not known at compile time.
    Example:
    public class TestCode {
         public static Object func1()
    Integer i = new Integer(10); //or String str = new String("abc");
    Object temp= i; //or Object temp= str;
    return temp;
         public static void func2(Integer param1)
              //Performing some stuff
         public static void main(String args[])
         Object obj = func1();
    //cast obj into Integer at run time
         func2(Integer);
    Description:
    In example, func1() will be called first which will return an object. Returned object refer to an Integer object or an String object. Now at run time, I want to cast this object to the class its referring to (Integer or String).
    For e.g., if returned object is referring to Integer then cast that object into Integer and call func2() by passing Integer object.

    GDS123 wrote:
    Problem:
    How to cast an Object into a specific type (Integer/String) at runtime, where type is not known at compile time.
    There is only one way to have an object of an unknown type at compile time. That is to create the object's class at runtime using a classloader. Typically a URLClassloader.
    Look into
    Class.ForName(String)

  • Runtime error while loading data in BI 7.0

    Hi All,
    While loading data in BI 7.0,
    I am getting Runtime Errors "TSV_TNEW_PAGE_ALLOC_FAILED" . No more space available for extending internal table.
    As per SAP BASIS SUPPORT comments:
    "This is NOT a space problem but rather a huge memory resource consumption one, as you're trying to hold excessive amount of data in Memory, and that's when you get the short dump; I know that SAP sometimes is not clear in explaining the issue (ie "No more storage space available...."), but this refers to memory requirement, not disk storage space per se.
    So, please try to break down your data load in smaller sets and this will work OK"
    How to proceed with the above comments? How to break down data load in to smaller sets?
    Please helpme....

    there could be various ways -
    using selections / filters in Infopackage / DTPs based on may be some period or some other char you could identify based on your data.
    Hope it helps
    Vikash

Maybe you are looking for

  • Unable to Export the document in PDF

    Hi, Can any body guide me what general  authoriztions  settings are needed for a user to export the markeing documents in PDF. bcz the user at remote location client is unable to export the douments in PDF. Regards Srini

  • A wishlist for Apple: Leopard Server mail services

    Apple, At 10.5.2, we find that most of the problems with email accounts and VH sites are ... still broken. After they are addressed (cull these forums for an indication of the problems the current code does not address), I'd like to suggest some othe

  • How to use ADF Faces with struts1.3.8

    Hi Can anybody guide us how to use ADF faces with Struts 1.3.8. Your help will be appreciated. Thanks Chetan

  • Map a function key to ctrl-z

    I'm looking for a way to get a function key (such as F12) to produce a ctrl-z combination. Can't find a way to do this, xmodmap wont map to combinations, xkb configuration seems waaayyy complicated. Is there something simpler?

  • Using Cisco 3526 IPVC for Voice Calls as well

    Does anybody know the latest capabilities of the Cisco 3526 gateway when used as a Voice gateway? The Cisco SRND for "Cisco IP Video Telephony", which was published in July 2004, states that the IPVC gateways do NOT support H.245 Empty Capabilities S