JCAPS 5.1.1 - Properties to modify jcd behaviour at runtime
I need to create jcds whose behaviour may be customized via runtime properties.
Currently, one possible way I found is to create one property file and access it via java code directly from within the jcd; this is nice because properties are modifiable at runtime, but needs some custom code to be added to the jcd and extrenal properties files to be mantained.
Anyone can suggest if there is a way to acheive similar functionalities, but using only JCAPS tools? For example Environment Variables or other ...
Thanks
Davide
Hi,
the projects I run are very similar, and the most of times I can reuse the same projects, and in particular JCDs, by simply changing very little things.
Thus, I started creating JCDs whose behaviour can be a little bit customized to meet tha requirements of different installations. This way, on installation (and here is the scope), I only have to import a "standard" project and configure just some properties to adapt it to the peculiar needs of the customer.
Could the Environmental Variables be useful in this? I would be glad of this. By now I haven't found a way to read, from within a JCD, the value of environmental variables ...
Similar Messages
-
Hello,
We need some help because we get 'Portal Runtime error: iView: N/A Component Name:N/A' error when trying to access portal logon screen.
This is what we've done:
We've modified com.sap.portal.runtime.logon.par file and we've uploaded it but it doesn't work. Because of the error, we've overwritten this file with the original one but now it's imposible to access portal.
The situation it seems to be like before the modification of the .par file but we get the same error and can't access portal.
Please, do you know what could be the problem?
Thanks in advanceHi Belen,
Here are the steps you would need to take
1. import the original par file into the NWDS and name the project as
com.sap.portal.runtime.logon
2. Make sure the project name is com.sap.portal.runtime.logon
3. use winzip/winrar to extract the com.sap.portal.runtime.logon.par file in
a local directory
4.Under the lib you would find two jar files copy them and paste them in your project
under dist>PORTAL-INF>lib directory
5.move the files cert....till umResetPass....jsp into the PORTAL-INF directory
6. export the par to the server in question
7. restart your server
This should solve your problem..
Thanks,
Gokul -
Modify the behaviour of an aggregate function
Hi all,
I have to modify the behaviour of a measure (ex: MEASURE) object depending on the value assumed by a dimension (ex:DIMENSION) object.
When the dimension objects is a number the measure is sum([measure])
When the dimension is " " (in the DB there is a space when there is no value for that dimension object) the measure is 0 (the top would be putting "NA" instead of "0" but the measure is a numeric field so I'm not sure...)
I'm working on BO 6.5, SQL SERVER and I noticed that only the function "CASE WHEN THEN ELSE" is supported.
Can anybody tell me if I have to work on Web intelligence or Designer and write for me precisely the function I should use?
RegardsHi
what is the data type of you key figure in the database and in the BO universe?
All error messages indicate problems on the DB side.
I assume that you have to cast your key figure in the CASE statement to another data type than integer.
Or you can try the following
sum(CASE
WHEN table1.dimension_objects = ' '
THEN table2.measure_object
ELSE 0.0
END)
This should return a float value
Regards,
Stratos -
Oracle Business Rule : Unable to modify the rule at runtime
Hi
I am developing simple Business rule using Oracle jdevelper 11g which displays a message based on two rules.
rule1 : If amount <= 100, displays the message "Less than or equal to 100"
rule2 : If amount >100 and amount less than 200 display the message "Between 100 and 200"
The above rule is created within the BPEL process which accepts a parameter. Once the BPEL project has been published, it has created a Dictionary with one ruleset having two rules mentioned above.
If I test the BPEL process through em console response is getting displayed based on the above rule.
Now I am trying to modify Rule2 through SOA Composer as below.
Rule2 : If amount >100 and amount less than 300 display the message "Between 100 and 300"
After editing and modifying the rule , the message is not getting updated properly in the properties window. If I save and commit the rule, BPEL process is giving the error
If any one has faced this problem and got the solution, please help me to solve this issue
Thanks in advanceHi
Thanks for the response.
I have saved and committed the new rule. When modified the rule, assert new value is displaying as blank. If I click on Validate button, it is not displaying any error. Once I save and commit it is showing below error in BPEL Process
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) 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.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) 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.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) 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.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) 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.sysman.emSDK.webservices.wsdlapi.SoapTestException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.soap.SOAPFaultException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1024) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:808) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more -
Modify BeanInfo programatically at runtime?
I'm trying to customize the order in which properties are stored for a JavaBean, based on information gathered at runtime.
These are classes generated by JAXB from an XSD schema. The problem is that I need the properties returned in the same order in which they appear in the schema, but getProperties() is returning them in alphabetical order. I think that I could write a custom BeanInfo class to do this, but the JAXB classes are created and compiled at runtime, so ideally I would be able to do programatically when I read the classes, instead of needing to actually write source code and compile it at runtime for the custom BeanInfo.Hi,
There are range of things you can modify on a presentation at runtime. Can you provide some more details on what properties you wish to modify?
Thanks,
Tim -
Modifying Form Behaviour Oracle Applications
Hello:
I have a problem with a form in Oracle Applications 10.7.0.
FORM - RCVCOFND.fmb ( Find Expected Receipts (16) ) Receiving--> Receipts
Upon entering this form Input Focus defaults to "Source Type". Users have decided that they would like to Default to "Purchase Order" item upon entry to this form.
I added code to CUSTOM.PLL that tests for WHEN-NEW-FORM-INSTANCE and form_name however form_name returns "RCVRCERC" which is not the form that I want to modify navigation.
Further investigation reveals that form RCVCOFND has its own PLL, BUT we are not allowed to modify this PLL, only the CUSTOM.pll is modifiable.
Does anyone have any suggestions or could advise on a workaround please.
Oracle Applications 10.7.0 SC161
Oracle Applications Client SC161
Application Object Library 7.5.16.02
Oracle Forms 4.5.7.1.8
RDBMS 8.1.6.3.0
Thanks.
N.1. Copy your form (test.fmb) into $AU_TOP/forms/US
2. Compile with f60gen
3. Copy the test.fmx file to $PRODUCT_TOP/forms/US
4. Login to Oracle Applications with sysadmin user
5. Select Application Developer responsibility
6. Navigate to Application - Form -
7. Enter the values for following parameter
Form = test
Application = You can select from LOV
User Form Name = Enter as you like
Description = Enter if any
8. Navigate to Application - Function
9. Enter the values in the function form
in Description TAB - Enter the value for Function, User Function Name, Description
in Properties TAB - Type = FORM
Maint.Mode Support = None
Context Dependence = Responsibility
in Form TAB - Form = Select your form name that already registered (above one)
Application = Will display
Parameters = STARTUP_MODE= TEST
10. Now you can attach the form in Menu then Responsibility
Revert back if you have any query.
Regards,
S. Velusamy Raja
Oracle Apps DBA -
How can I modify the SQLQueryString at runtime? (VB6 Application, CR XI)
I have created a report in Crystal Reports XI which uses a stored procedure to retrieve data. The report was created using our test database (AS/400 DB2) as its datasource. In our Visual Basic 6 application we want to be able to run against the production database. In the code a CRAXDRT.Report object is instantiated and the .rpt file is specified in the OpenReport command. I can see that the SQLQueryString property is {CALL "TESTSERV"."ABCLIB"."RPT_ONE_SP"}, where TESTSERV is the test machine, ABCLIB is the library (Default Collection property value in the connection properties which can be modified) and "RPT_ONE_SP" is the stored procedure name. If a change to the SQLQueryString is attempted an error is raised. Even if all connection properties are changed the stored procedure call still defers to what is specified in the call (from the .rpt file). Is there a workaround for this situation?
Hi Daniel,
You can't change the info directly in the SQL you have to use the .Location method. This will update the SQL and re-direct from your original server to the new server.
Please read the info in the link Dan attached to is first reply. It will show you how to do this and it does work.
Once you set all the logon info then use the .Verify method or Testconnectivity API to confirm it's going to the new Server. Then export the report to RPT format to confirm the new logon info is saved.
Changing to SQL Server (OLE DB) at Runtime
'Declare a Connection Info Object
Dim ConnectionInfo As CRAXDRT.ConnectionProperties
'Set the Connection Info to Connection Properties of u2018the table object
Set ConnectionInfo = Report.Database.Tables(1).ConnectionProperties
'Set the DLL name
Report.Database.Tables(1).DLLName = u201Ccrdb_ado.dllu201D
'Clear the ConnectionProperties collection
ConnectionInfo.DeleteAll
'Add the OLE DB Provider
ConnectionInfo.Add u201CProvideru201D, u201CSQLOLEDBu201D
'Add the physical server name
ConnectionInfo.Add u201CData Sourceu201D, u201CServer nameu201D
'Add the database name
ConnectionInfo.Add u201CInitial Catalogu201D, u201CDatabase nameu201D
'Add the user name
ConnectionInfo.Add u201CUser IDu201D, u201CUser nameu201D
'Add the password
ConnectionInfo.Add u201CPasswordu201D, u201CPasswordu201D
'Set the fully qualified table name if different from u2018the original data source
Report.Database.Tables(1).Location = u201Cdatabase.owner.tablenameu201D
Thank you
Don -
Does any one know of an extension that will modify
Dreamweaver to allow me to add an editable region to a template
that appears before the document headers are sent.
The reason I need this is so I can create templates that have
php script before the headers are sent that is not locked with the
codeOutsideHTMLIsLocked="false".
I actually want to have some php script that is in the
template (so it is added and updated on all pages based on that
template) so I have to lock the code outside the HTML. But I need
to allow page specific code to be added outside the HTML as well.
Has anyone got any ideas?
Cheers,
MikeMake sure you read the F1 Help about how to use templates
before going any
further.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"wmspringer" <[email protected]> wrote in
message
news:el31eo$amf$[email protected]..
>I just created my first template, but I can't make
anything editable
>because the Modify->Template Properties option is
greyed out. Any
>suggestions? -
Any way of modify base directory at runtime (in loaded jars )?
Hello all,
Well, I'm using tomcat to run my web application, which loads
dinamically many jars and execute them. My problem is that these jars
sometimes have a method that uses relative paths to do something (read
files, create files, etc). Currently, the current base dir is given
wrong for these loaded applications! Instead of the right path, it's
given "C:\tomcat" or something.
If it were with my Web Application itself, it would be easy to get over
this problem by using the getRealPath("") method provided by api. But
since I can't modify the jar code I will load, what can I do? Some
ideas?
Thanks you!
BrunoI have found the solution. This is the code to write-access files from within JavaServer Faces backing bean:
FacesContext fc = FacesContext.getCurrentInstance();
ExternalContext ec = fc.getExternalContext();
ServletContext sc = (ServletContext) ec.getContext();
String realPath = sc.getRealPath(getDocumentURI());
FileOutputStream fos = new FileOutputStream(realPath);where getDocumentURI() is the method that returns the virtual path for document to write to. -
Dynamically modify Task Flow at runtime
I have a use case where I need to dynamically modify a task flow at runtime. In my use case, for all task flows I need to add a router that can navigate to any view activity on the flow. The router will need to have control flows from the router to each view activity and a case for each.
What I've Tried
I've written a test app that uses MDS to modify a single task flow. This works. I did it by using JDev in customization mode, adding the router and stuff to the flow manually, then running the app. This does exactly what I need it to do. The problem is, I need to do this dynamically at runtime. I'll need to have a process that looks at the task flow and generates the MDS metadata that will insert the router (and other stuff) at runtime. I'm not sure how to do this.
What I'd like to do
Ideally, I'd like to do this programmatically (not using MDS) by overriding the controller that returns task flow objects. I may be off the mark here, but I imagine that at runtime the task flow xml is represented by a java object. I also imagine that the java object gets returned by some controller based on the name (and maybe type) of the data requested. If I could override this controller to modify the task flow object before it gets returned, that would be ideal.
I've found some links from others looking to do something similar to what I'm attempting here. These links are over a year old, so I imagine that some progress has been made on this.
https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=7355435
[ER] Add a way to decorate the current PageFlow
Re: To Simon Lessard - Usecase required for ER request
Thanks in advance for your help!!
Cheers,
MikeI have three usecases where I need this ability.
- breadcrumbs - this should keep a historical trail of the pages the user has visited. clicking on a breadcrumb should take the user back to the page and remove the remainder of the trail.
- favorites - this is essentially bookmarking within the app. the user should be able to add a page as a favorite the navigate back to it by clicking the link in the favorites drop down.
- recent items - this is similar to breadcrumbs, but I imagine we will want it to persist across sessions for the user.
We are using bounded task flows and page fragments. All of these features will need the ability to navigate to any view on a flow (not just the default view). I can navigate to a flow just fine. We have implemented our own version of the XMLMenuModel and are using a dynamic region for navigation. To navigate, we just replace the task flow ID on the dynamic region with the target task flow ID then the region refreshes. This part work just fine. The part that I am working on is how to navigate to a view on the flow. I'm managing state by passing parameters between flows and pages. That part is working ok too. It's just the navigation piece that is giving me grief.
The little MDS prototype that I did looks promising, but I would need to figure some stuff out. The customization would need to apply to all users and all task flows. I'm not sure how to do that. Also, it would need to be dynamic. The MDS metadata that is responsible for the customization would be different for each task flow and would need to be generated at runtime. I can figure out how to generate the metadata at runtime based on the task flow, but I don't know where the hooks are in the MDS framework where I could put this logic. It would need to execute before the MDS framework tries to merge the base doc (the task flow) with the customization doc that I generate.
Thanks!!
Mike -
Get Date Modified for SWF at runtime
This seems like it should be something pretty obvious but I haven't been able to figure out how to get the time stamp (date modified) for the swf that I am in. I want to be able to get the date the swf was published for debugging purposes. Thanks.
you can do that using adobe air, but not for a swf.
-
How do I modify the behaviour of "Image Sizing" Module in Export
As part of the export process I want to re-size an image to a fixed size e.g., 5400x3600. The iamge should be scaled symmetrically and therefore some fill-in of black or white may be necessary.
I know I can do this as a "post-process" action, but then I need to re-do sharpening, assigning colour profile etc.
So is there a way in the SDK to "replace" the "Image Sizing" Module with one of my own making?
Best wishes
TerryYou can disable the image sizing portion of the UI and use the updateExportSettings() function on your export service provider to force the image size to your desired size. (This function is not well documented. It takes a single parameter, exportSettings, which you may modify in place before the export starts.) For example (this would go inside your export service provider declaration):
updateExportSettings = function( exportSettings )
exportSettings.LR_size_resizeType = 'wh' -- specific width and height
exportSettings.LR_maxHeight = 3600
exportSettings.LR_maxWidth = 5400
end,
hideSections = { 'imageSettings' }, -- hide the sizing panel
However, there is not a way to get Lightroom to render a file that is cropped to a specific aspect ratio. Whatever sizing parameters are specified, we will always honor the aspect ratio of the source file. In your processRenderedFiles function, you could use a third-party tool like Mogrify to regenerate the output file with the fill necessary to satisfy the desired aspect ratio. -
Delete ContactRel entities of Account and modify Account collection at runtime
HI Experts ,
I have requirement to Search Account information and its related Contact relation on based of Email ID .I want to delete entities from Contact relation for particular criteria and modify the Account Entity .
1. I have search account at IC agent for Email ID
CALL METHOD fire_query
EXPORTING
it_parameters = lt_parameters -----> "Email = [email protected]"
iv_query_service = query_service
IMPORTING
er_bo_col = bo_col -------------------> In this Collection -> Am getting One Account and Its 4 Relation Fig 1.1
ev_no_exact_matches = lv_no_exact_matches
CHANGING
cv_query_type = lv_query.
FIG 1.1
There is 13 Entities for BuilContactPersonRel Fig 1.2
Fig 1.2
So my issue is i have to delete top 10 entities (BuilContactPersonRel) )where Contact Email is not Equal to Account Email , And i want to Update bo_col with 3 remain entities as am passing this to Context node . I am looking for BOL logic to achieve this ...
I just want to remove entity from bo_col not permanent from database .
bo_col and ir_bo_col same....
Regards,
Rishi vermaThanks for replying...
I want to explain more ..
1. i want to search account on based of email id and when search done i am getting 13 entities for contact for that account .
Account email id : [email protected]
and there are 2 contact as shown below having same email id ..
So i want to display only two of them contact having same email id as account having.
2. ir_bo_col contain account entity and in it relation have contact with its 13 entity , so i want to remove 11 entity from contact relation and want to show only 2 in contact view ....
I hope it clear to know more...
I guess applying filter on ir_bo_col not work becuase it will add filter to Account entity not it relation (Contact) .
Do have any idea ?
Regards,
Rishi -
Modifying/designing Report at runtime?
Hello,
i´ve tested CR for Eclipse and BO Enterprise (older Version) as standalone Solution. Both have very nice features. Currently i am working on a project where users have to modify Reports at Runtime. This is possible with BO Enterprise, but i want to integrate it in a J2EE Architecture (Websphere) with EJB as Datasource. What possibilities does CR or BO offer to modify Reports at Runtime? Is there any Documentation available?
Currently i am thinking of using OpenSource Software and modify the XML-Desginfile (most OpenSource Tools are based on XML-Designfiles) at runtime to fit my needs.
best regards,
Midrag<p>Hi,</p><p> I'd be interested in the same information, personally, I'm looking to see if reports can be made to take the users group into account, so one user viewing a report will see different data to another user who is in a different group</p><p> </p><p>Thanks,</p><p>Balmark </p><p> </p><p>ps. looking at the lack of posts on most of the threads and the time for any responses, does anyone from business objects respond in this forum? To be honest, this question is a very big question for me and whether we'll be using crystal reports and whether all our customers will be advised to. If its a stupid question with a simple answer, I'd love to know. </p>
-
Modifying the behaviour of spry tooltip - "pinning to the screen"
Hi there,
I have some spry tooltips containing content with links. These tootips are not really that large, but the links change the content of the tooltip. Often, since these tooltips contain links that may be near to the bottom of the visible tooltip content, if the linked-to content is smaller than the previous tooltip, the mouseout event will fire and the tootip will close.
The triggers for the tooltips can be quite dense in frequency, and I want to keep the delay to a minimum to help swift movement over these dense areas. The problem is that the change in size of the tooltips can catch the browser unaware, and when the tooltip closes it can be quite annoying, (as the browsing within the tooltip would have to be repeated from the first trigger to access the links in the tooltip.) Changing the hide delay option doesn't really work for me.. I want the showdelay to be quite small, so the hidedelay has to be small also.
I want to place a checkbox in the tooltip to "pin" it open. I am completely stumped on how to do this. I can quite happily place and replace the checkbox, write event handlers etc.. but the complexity of the spry tooltip code seems indecipherable for me to modify it to my needs.
I need a 'hack' that will disable the appear/disappear behaviour of the tooltip (as well as the triggers), so that leaving the tooltip or manoevering the mouse outside, and over any other triggers will not change the tooltip displayed, whilst keeping the internal content displayed with its links still working.
Then, after the checkbox is cleared, normal behaviour to resume.
If there is a simple fix,.. like duplicating the content into another div styled similarly and replacing the tooltip on screen altogether, at the same position - that'd be great... but how do I do this seamlessly and deactivate/reactivate the tooltip efficiently? I would need to access the position of the tooltip for this, So I still have trouble!
Please, any help would be greatly appreciated!!
Many thanks,
AlexHi Narayan,<br /><br />Thanks for pointing me in the right direction.<br />Using the following code snippet, I was able to figure out the ActionIDs that I needed to filter:<br />>// You can run this code from a codesnippet in the debug build and watch the trace output (with the Test >> Trace >> Obsolete >> Obsolete:Actions category enabled)<br /><br />>MessageToConsole ("Dumping ActionID Info begin...\n");<br /><br />>InterfacePtr<IApplication> theApp(gSession->QueryApplication());<br /><br />>InterfacePtr<IActionManager> actionManager(theApp->QueryActionManager());<br /><br />>actionManager->DumpActionInfo(IActionManager::allActionInfo);<br /><br />Namely, I need to filter kEditOriginalActionID/kLinksPanelMenuComponentBoss and kEditOriginalSelectionActionID/kLinksPanelMenuComponentBoss<br />Everything seems straighforward for the kEditOriginalSelectionActionID ActionID. I just perform my action on the links currently selected in the current document.<br />For the kEditOriginalActionID though, it is necessary for me to know which links are selected in the Links Panel.<br /><br />Any idea how I might do this?<br /><br />Thanks again,<br /><br />- Jackeen
Maybe you are looking for
-
I changed the Primary email for an appleid. There was a typo in the email address. this makes the appleid waiting for verification. I spent five and a half hours with support before they understood the problem. Once we both were talking about the sam
-
How to display HTML file in a region
I am implementing a portal Application in the page group i have 2 regions in region1 i have URL item type with URL "http://c:\files\welcome.html" How can i set the page such that when the page is browsed the welcome.html file will be displayed (brows
-
hi guys and gals please tell me from the following list which table is suitable for the following fields 1. Company code 2. Fiscal Year 3. Business Area 4. Posting Date from to 5. GL Code from to 6. Tax Code from to 7. Vendor code from to Output deta
-
can anyone help. i recently had to format my computer (windows xp) and had to delete all the itunes and ipod apps. when i have gone in to re-install itunes and update it everything went ok only all my songs are on my ipod and are'nt in my library. ca
-
How to password protect a second site within my main website?
I have an iWeb website. I would like to be able to password protect a second site within my main site. That second site has many pages. I am looking for a password application that looks more interesting than the usual. Something more than a box with