Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all 69588 articles
Browse latest View live

Replacing a substring in an xml node with a 'Set Value'

$
0
0

I have a node that looks something like this:

 

<EmailBody> &lt;p&gt;Ticket {$Tckt_Cd$}&lt;/p&gt </EmailBody>

 

I want to replace {$Tckt_Cd$} with a variable in the Workflow service. I'm looking for help on this one.

 

I'm using LC ES 8.2


process timeout......300 seconds.

$
0
0

Hi All,

 

Currently we have 2 applications deployed in workbench where App1 has a process (Foundation->ApplicationUtility-1.0->readApplicationAsset->getAsset) that gets a TIF file from APP2.  When this process gets invoked......it times out at 300 seconds and gives error.

 

When trying to invoke.....we are passing in a string (which is the path) to where the TIF resides.  ie: /App2/1.0/common/signatures/Sig.TIF as the input parm.

 

java.sql.SQLException: The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-61F7F5CA6618BE52DAEF]'. No further JDBC access is allowed within this transaction.
at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:178)
at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:188)
at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:66)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getShort(Unknown Source)

Anyone with idea's?  Much appreciated!

Using xpath expressions in Document-Builder

$
0
0

Hi all

 

we have re-designed our (existing) DDX-templates with the Document Builder in LC Workbench. The DDX templates are used to assemble PDFs with LC Assembler-Service.

 

Now my question: Is it still possible to use XPath-expression in the DDX template? Please find our example below:

docBuilder.gif

 

The XPath expression works only if we copy&paste the DDX source code directly to the Assembler-Service property view (picture below). But referring the DDX-template doens't interpret the xpath path at run time (2nd picture below). Any help on that will be appreciated!

 

Works (using DDX source code directly):

2.gif

Doesn't work (using DDX template):

1.gif

Getting groups and father group

$
0
0

Hi!!

 

In my process:

 

1. I need get the group name given a username (userId)

2. If I have the groupName I can get the Father group name, right?

3. If I have a father group name I can get the member of a group. right?

 

Well, I can't find the operations that I need for to do my algoritm to assign task.

 

Somebody can Help Me ?

 

Thanks a lot

 

María

blank labels in the context menu in the process designer window

$
0
0

Hi,


I am using Windows 7 and  a livecycle workbench version:

 

Adobe LiveCycle Workbench ES2
Version: 9.5.0.0.20100908.1.247189

 

The context menu is blank in the  process designer window . I can see that there should be menu items but without  text labels, so I can't work with a process because I don't know which is which. I added "-Dosgi.nl=en" to workbench.ini and set local regional setting (from control Panel) to English but it didn't help. There are no exceptions in the .metadata/.log.

 

Any ideas?

screenshot.png

Adding form data to a MS Access/SQL database

$
0
0

Hi,

I will be creating a number of PDF forms for completion by engineers who service air conditioning units to record the condition of various components in the units.  Once the form is completed I would like to submit the data to a MS Access/SQL database (i have not made my mind up with one to use).

 

I am a programmed (ASP.NET, VB.NET, C#, JavaScript etc.) but not really worked with Adobe Acrobat Pro 9 and LiveCycle.

 

I am looking for some references/support in the following areas:

 

  1. Shoud I use Access or SQL.  I understand if i use Access I would have to setup a 'connection' for each computer that would be using the PDFs.  Also, i feel I would lose a lot of the power of SQL by using Access.
  2. I was thinking of creating a w web service that points at a SQL database. Are there any good examples of a PDF form that does this?  Also, does this remove the need to create a connection for every computer that will be using the PDFs?

 

I thank you in advance for any comments or suggestions.

Enable testing in ADEP Workbench

$
0
0

Never had this issue in earlier versions of workbench.  The test buttons are grayed out for SQL statements but I can see it on the XML output tab.  When I click on it, I get this error: Attempt to access Testing operations while "Enable Testing" is disabled. 

 

How do I enable testing?

Issue while creating application

$
0
0

Hi,

 

I have installed Adobe Workbench ES3. The installation was good. I did succeed to connect to server successfully. However, when I try to create an application, I get the below error if I try to create an application.

"Failed to create application please check if application name contains invalid string"

 

Could someone please help me out as how can I proceed further.

 

Regards,

Kiran.


Workbench configuration

$
0
0

Hi,

 

 

Someone pls help me in configure of trail version of LC application on local machine.

 

 

I have downloaded and installed Workbench trail version on my system.

 

 

And when i try to login into workbench its asking the username and password, server name.

 

 

Some pls help me what are the credentials i have to enter and how to configure.

 

 

Thank you,

Jay

My Workbench has lost connectivity to my repository

$
0
0

Most of our forms are no longer showing up in our Workbench instances.  There are 4 out of about 50 forms that we still have access to and we cannot get to any of our processes.  I can view all the files in the repository using IE and our reports still run but we can't access them to make any changes.

 

Any help or advice would be greatly appreciated.

 

 

We are running LC ES2 on a Windows R2 box with a SQL Server 2008 DB

 

Here are the errors we are seeing:

 

2012-08-21 13:46:00,581 WARN  [com.adobe.idp.common.errors.exception.IDPLoggedException] UserM:GENERIC_WARNING: [Thread Hashcode: 278118636] com.adobe.idp.common.errors.exception.IDPLoggedException| [AuthenticationManagerBean] errorCode:12809 errorCodeHEX:0x3209 message:AssertionId [54DCA944-B59A-591A-55F1-EC37D3F5FC9F] is not valid. This may be due to sso session corresponding to the passed id has expired

2012-08-21 13:46:00,571 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/repository].[Repository DavServlet]] Servlet.service() for servlet RepositoryDavServlet threw exception

java.lang.IllegalStateException

          at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)

          at com.adobe.repository.bindings.webdav.RepositoryDavFilter.doFilter(RepositoryDavFilter.jav a:140)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Unknown Source)

2012-08-21 13:58:18,739 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doRequiresNe w(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transa ctionCallback) throws com.adobe.idp.dsc.DSCException:

java.lang.NullPointerException

          at com.adobe.livecycle.design.infomodel.resource.impl.TLOResourceImpl.<init>(TLOResourceImpl .java:225)

          at com.adobe.livecycle.design.service.commands.TLOCommand.constructTLOResourceWithSec(TLOCom mand.java:192)

          at com.adobe.livecycle.design.service.commands.ApplicationCommand.getMembers(ApplicationComm and.java:159)

          at com.adobe.livecycle.design.service.commands.MembersApplicationCommand.execute(MembersAppl icationCommand.java:52)

          at com.adobe.livecycle.design.service.DesigntimeServiceImpl$18.doInTransaction(DesigntimeSer viceImpl.java:738)

          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)

          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)

          at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source)

Livecycle ES1 - Modified process workflow through Workbench - Result: Template object: xyz not found

$
0
0

I modified a process workflow in livecycle workbench. It was a simple modification that uses a resource. On save, I restarted JBoss instance that holds livecycle and I started have the error:

com.adobe.workflow.template.document.TemplateNodeNotFoundException: Template object: A1271100735162 not found.

I'll add the complete stack trace at the bottom.

The process instance also started stalling when it reached the two workflow actions that were modified in workbench. By checking directly into mysql in the table tb_action_instance, I could see the stalled actions and they were using action templates:

A1271100735161 A1271100735163

so clearly the template A1271100735162 was replaced by A1271100735163. The action instance would stall, they would never display errors or get blocked, they would just not terminate and the whole process is stalled.

I identified all the old action that used the old template: SELECT process_instance_id, status, start_time, complete_time FROM tb_action_instance WHERE action_template_id = 'A1271100735162';

I delete all of them, including their respective processes in the tables: tb_task tb_process_instance tb_job_instance tb_action_instance

I kept getting the error. I then removed all terminated and non terminated processes from the above tables and I kept having the same errors.

By going to workbench and resaving, redrawing parts of the process, I was able to get the stalled processes to run, but I keep having the template A1271100735162 error and it's flooding my logs.

Where does livecycle store the templates and workflow, I'm not sure if its on disk, but I would like to remove everything related to the bad template.

Here's the complete stack trace:

 

Causedby: com.adobe.workflow.template.document.TemplateNodeNotFoundException:Template
object: A1271100735162 not found.
at  


    com
.adobe.workflow.template.document.DefaultAbstractTemplateDocument.getTemplateNodeById(DefaultAbstractTemplateDocument.java:84)
        at com
.adobe.workflow.engine.ProcessEngineBMTBean.asyncTerminateActionCommand(ProcessEngineBMTBean.java:998)
       
...44 more
2014-03-21 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker]Exceptionin JMSCI message listener
javax
.ejb.TransactionRolledbackLocalException:RuntimeException
        at org
.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:262)
        at org
.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
        at org
.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
        at org
.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
        at org
.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
        at org
.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:399)
        at org
.jboss.ejb.Container.invoke(Container.java:960)
        at org
.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1139)
        at org
.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:262)
        at org
.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
        at org
.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
        at org
.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
        at org
.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
        at org
.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:399)
        at org
.jboss.ejb.Container.invoke(Container.java:960)
        at org
.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1139)
        at org
.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1452)
        at org
.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
        at org
.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:891)
        at org
.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
        at org
.jboss.mq.SpySession.run(SpySession.java:323)
        at org
.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
        at EDU
.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
        at java
.lang.Thread.run(Thread.java:619)
Causedby: javax.ejb.EJBException:RuntimeException
        at com
.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControllerBean.java:206)
        at com
.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandControllerBean.java:99)
        at sun
.reflect.GeneratedMethodAccessor353.invoke(UnknownSource)
        at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java
.lang.reflect.Method.invoke(Method.java:597)
        at org
.jboss.invocation.Invocation.performCall(Invocation.java:359)
        at org
.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:492)
        at org
.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
        at org
.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
        at org
.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
       
...15 more
Causedby: javax.ejb.EJBException:RuntimeException
        at org
.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:417)
        at org
.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
        at org
.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
        at org
.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
        at org
.jboss.ejb.Container.invoke(Container.java:960)
        at org
.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
        at org
.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
        at $Proxy215
.asyncTerminateActionCommand(UnknownSource)
        at com
.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControllerBean.java:177)
       
...24 more
Causedby: com.adobe.workflow.template.document.TemplateNodeNotFoundException:Templateobject: A1271100735162 not found.
        at com
.adobe.workflow.engine.ProcessEngineBMTBean.asyncTerminateActionCommand(ProcessEngineBMTBean.java:1028)
        at sun
.reflect.GeneratedMethodAccessor355.invoke(UnknownSource)
        at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java
.lang.reflect.Method.invoke(Method.java:597)
        at org
.jboss.invocation.Invocation.performCall(Invocation.java:359)
        at org
.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
        at org
.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
        at org
.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
        at org
.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
        at org
.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
        at org
.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
        at org
.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
        at org
.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
        at org
.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
       
...31 more
Causedby: com.adobe.workflow.template.document.TemplateNodeNotFoundException:Templateobject: A1271100735162 not found.
        at com
.adobe.workflow.template.document.DefaultAbstractTemplateDocument.getTemplateNodeById(DefaultAbstractTemplateDocument.java:84)
        at com
.adobe.workflow.engine.ProcessEngineBMTBean.asyncTerminateActionCommand(ProcessEngineBMTBean.java:998)
       
...44 more
2014-03-2112:01:32,905 WARN  [org.jboss.ejb.plugins.jms.DLQHandler]Message resent too many times; sending it to DLQ; message id=ID:9-1395417692668461
2014-03-2112:01:32,912 ERROR [STDERR]Mar21,201412:01:32 PM com.adobe.workflow.recovery.JMSRecoveryMDB onMessage
WARNING
:Couldnot re-process JMS message Illegalproperty name:JMSXDeliveryCount

Modify email endpoint - Extract Subject from Mail

$
0
0

Hi there,

 

I'm working with a process and a form which has been developed by someone else. As an improvement I need to extract the subject from incoming mails and store this subject to a variable. At this point I stuck in defining the variable. As you can see in the screen shot from the adminui, the Sender is already being extracted:

 

Image and video hosting by TinyPic

 

From what I understand till now I have to add a new variable  named %Subject%. Could you please tell me how to do this?

Need help on Remote Service Authentication

$
0
0

Hi All,

 

I have a Submit button in a PDF, on click of that button I am calling a LiveCycle process. On click of Submit a popup is coming up saying "Remote Service Authentication" and asking to input credentials. The Livecycle process gets invoked if i input my credentials.

Could anyone please let me know why this popup is coming?. Please let me know if there is anyway if i can disable this popup. I have changed the "Run As" security setting in Admin UI for the process i am invoking.

I noticed one more behaviour that, my colleague is not getting the popup when he is doing the same procedure from his machine. Only the trust setting "Trust document always" on top of the PDF is appearing. Could anyone let me know if this because of proxy?

 

Thanks in advance.

Deploy XDP files to Resources tab in ES4

$
0
0

We are upgrading our current workbench server to  ES4 workbench server in our project, I am looking the way to deploy the XDP files in RESOURCES tab in ES4, previously we just drag and drop the files to the resources tab but in ES4 it is not possible to do the same. Please help us to deploy the XDP files to resources tab in ES4.

 

Thank you.

Ignore Warnings in ES3

$
0
0

Hi,

 

I've been trying to reduce the number of warnings and errors in my applications. Some of these I simply can't do anything for, like WBP-105 (Count of declared activities XX exceeds recommendation). My process needs those activities so I decided to ignore the warning. I've followed the instructions here: http://help.adobe.com/en_US/livecycle/10.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261 a20dd-7ffc.html but it never works. There's also other properties that lets workbench ignore certain warnings altogether, but it doesn't work either.

 

-Dcom.adobe.workbench.unsupported.processvalidation.exclude.checks=WBP-170

-Dcom.adobe.workbench.unsupported.validationreport.exclude.from.overlays=WBP-150,WBP-151

 

Furthermore, looking at the documentation, these properties are different from the ones I found in my workbench.ini. I think the docs are outdated.

 

104 (Dubious parameter coercion from variable XX to parameter XX ('boolean' to 'java.lang.Boolean'), my variables are all defined as 'boolean' but Workbench is seeing them as 'java.lang.Boolean'. I think workbench should be smart enough to figure this is correct. Or Adobe should not let us use 'boolean' and force us to use 'java.lang.Boolean' all the time. Same goes for the other primitive data types.

 

If somebody could tell me what the right properties in the workbench.ini file are, that would be great.

 

Thanks

Nic


Reference xdc file in process

$
0
0

Hi all,

I need to use a custom XDC for a generatePrintedOutput component.

I imported a sample xdc file (hppcl5e.xdc) into my application in Workbench and i changed it with XDC editor (I also changed the name of the file in test.xdc).

Now in the generatePrintedOutput component, option XDC URI i set the type to literal value and insert the value test.xdc, but nothing append.

I tried to reflect the application structure (i have a res folder with my xdc file), but no good.

In jboss server.log i have this error line

ERROR [com.adobe.livecycle.formsservice.exception.FormServerException] (http-0.0.0.0-8080-2) ALC-OUT-002-006: URI not found: URI = Res/test.xdc Cause: URI = Res\test.xdc (Impossibile trovare il percorso specificato)

If i copy this xdc in a custom folder into livecycle server, and in XDC URI i write the full path (example E:\custom_folder\test.xdc), I get the expected result.

At this point my question is: how can i reference custom xdc file that resides into my application? Is it possible?

 

Thank in advance,

Mauro

 

Error while invoking renderPDFForm with attachment

$
0
0

hi,

 

I'm using ES4 renderPDFForm service to render pdf along with attachment.

This service works if I dont have PDF attachment but doesn't work PDF with attachments.

 

I'm sending the PDF attachment like below.

     Map attachments = new Map();

     MapItem item = new MapItem();

     itme.setKey("attachment");

     byte[] pdfAttachment = new byte[10,20,30...]

     com.adobe.idp.Document doc = new com.adobe.idp.Document(pdfAttachment );

     item.setValue(doc);

     attachments .add(item);

service.renderPDFForm("CORR0040-MiscellaneousMS-8.xdp", inputData, renderSpec, spec, attachments);

 

 

Error I'm getting is:  javax.xml.ws.soap.SOAPFaultException: java.lang.ClassCastException: java.lang.String incompatible with com.adobe.idp.Document

 

Please help me how to resolve this...

XDC -> print a empty page after the print job

$
0
0

Hi Folks,

 

i have a problem. i use a xdc file to select multiple trays and after the printing job an additional separator sheet should be "printed" . Its only a empty sheet, which should be at the end of the printjob.

Could somebody give me a hint? I checked the pcl commands and i got the idea to send a line feed and carriage return command, but im not sure whats happen and if this is possible, could i select the tray for this?

Thanks a lot for any Idea or Tip,

 

kind regards

Alex

Send With Map of Attachments & Map Variable

$
0
0
I'm trying to send multiple attachments using "Send With Map of Attachments" Service.  I've setup a map variable (attachments_map) of sub-type string to hold the path and file name for each file (represented as <full_path>/<file_name>.pdf).<br /><br />What I'm confused about is that I don't understand the keys of the map given the following statement in the help file about this specific Email service: "The keys for the map are the attachment file names. The file names should include the file name extension if the email receiver needs to associate the file with software to open it."<br /><br />I have two questions:<br /><br />1)  What are the keys for the map needed for the "Send With Map of Attachments" service for Attachments and what is the XPath representation to send this data to the service (e.g., /process_data/attachment_map/@file[0] or /process_data/attachment_map/@file[<file_name>] or what) ?  I don't know what the required XML structure looks like.  As you can tell, I've not used a map variable before either!  :)<br /><br />2)  As in the "Send With Document" service, is there a way to define the file name saved in the e-mail that the receiver sees?<br /><br />Example:<br />Receiver sees this in e-mail:  "File.pdf"<br />But the path and file are actually this:  T:/Files/XXXX_File.pdf<br /><br />Thanks for your help in advance!

Workbench doesn't recognize custom component's data type

$
0
0
Hi,<br />  I've created a custom component and everything works fine, however, when trying to use it inside of Workbench I recieve a "Failed to load/render Property Editor." <br /><br />In the component.xml I have created a composite-editor, and specified the data types<br /><br /><composite-editor id="cdv.material.Material"><br /><composite-type>cdv.material.Material</composite-type><br /><attributes><br />     ...<br /></attributes><br /></composite-editor><br />     </editors><br /><data-types><br />          <data-type id="cdv.material.Material" java-class="cdv.material.Material" standard="true"/><br />          </data-types><br /><br />On the operations that use the data-type I specified the property-editor as "cdv.material.Material"<br /><br />Would there be anything else I need to specify? Did I do something wrong? Below is the log that Workbench generates when I encounter this error.<br /><br />!ENTRY com.adobe.workflow.editor 4 0 2009-02-10 14:11:38.406<br />!MESSAGE NewVariableDialog is unable to populate datatype specific panel<br />!STACK 0<br />java.lang.ClassNotFoundException: Class: cdv.material.Material not found.<br />     at com.adobe.idp.dsc.util.HashMapClassLoader.findClass(HashMapClassLoader.java:102)<br />     at java.lang.ClassLoader.loadClass(Unknown Source)<br />     at java.lang.ClassLoader.loadClass(Unknown Source)<br />     at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />     at java.lang.Class.forName0(Native Method)<br />     at java.lang.Class.forName(Unknown Source)<br />     at com.adobe.idp.dsc.util.ClassHelper.forName(ClassHelper.java:529)<br />     at com.adobe.workflow.datatype.design.DataTypeDesignHandlerRegistry.getDataTypeDesignHandler ForDataType(DataTypeDesignHandlerRegistry.java:118)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.setDataTypeSpecificPanel(NewVariable Dialog.java:1684)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.adjustPanelsForNewTypeSelection(NewV ariableDialog.java:1637)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.adjustPanelsForNewTypeSelection(NewV ariableDialog.java:1614)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.access$700(NewVariableDialog.java:12 8)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog$4.widgetSelected(NewVariableDialog.j ava:883)<br />     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)<br />     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)<br />     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)<br />     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)<br />     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)<br />     at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)<br />     at org.eclipse.jface.window.Window.open(Window.java:796)<br />     at com.adobe.workflow.eclipse.views.VariablesView$10.run(VariablesView.java:843)<br />     at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)<br />     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:539)<br />     at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) <br />     at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)<br />     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)<br />     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)<br />     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)<br />     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)<br />     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)<br />     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)<br />     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)<br />     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)<br />     at com.adobe.lcide.rcp.Application.run(Unknown Source)<br />     at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)<br />     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)<br />     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav
Viewing all 69588 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>