Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Render form guide in flex application by using remote object

Avatar

Former Community Member

I am using livecycle workbench es 8.2 and flex 3.0.  Current I am trying to render form guide from livecycle workbech.  I am using the provided process: samples-forms -> render Form Guide 1.0.  and use SimpleMortgageLoan-formGuide(this has all 3 files: swc, xdp and xsd) for test.

I am able to get pdf and html by using process and sample pdf form that livecycle provide. But I am having error while using render form guide to get form guide from livecycle( I am using this as a start point:http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl /common/html/wwhelp.htm?context=sdkHelp&file=000261.html):

following are the error I am getting

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

Timestamp: Mon, 27 Apr 2009 21:24:28 UTC

Message: Object expected

Line: 103

Char: 1

Code: 0

URI:http://serverHost/DocumentManager/docm1240857760906/eab56933d7dfefb501ad6549129d 40d2?type=dGV4dC9odG1sOyBjaGFyc2V0PWlzby04ODU5LTE=

Any Idea?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

The target url would be the address of the server  you want to get the information back. For example http://localhost:8080.

Jasmin

View solution in original post

4 Replies

Avatar

Level 10

It' trying to get the Form Guide from the url http://serverHost/DocumentManager/.

Make sure to set your TargetURL properly on the renderFormGuide operation so that it gets it from your LiveCycle server instead of serverHost.

Jasmin

Avatar

Former Community Member

Thanks for quick response. 

I am getting following error by using targetURL instead formUrl.

[RPC Fault faultString="com.adobe.idp.dsc.DSCInvocationException : Invocation error. : com.adobe.livecycle.formsservice.exception.RenderFormException: Malformed URL: ApplicationWebRoot: /Samples/LiveCycleES/SimpleMortgageLoan-PDF/SimpleLoanApplication.xdp" faultCode="Server.Processing" faultDetail="null"]

at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220]

at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]

at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]

at NetConnectionMessageResponder/statusHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:569]

at mx.messaging::MessageResponder/status()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]

I am using same same url (/Samples/LiveCycleES/SimpleMortgageLoan-PDF/SimpleLoanApplication.xdp) for both formUrl and targetURL.

Avatar

Correct answer by
Level 10

The target url would be the address of the server  you want to get the information back. For example http://localhost:8080.

Jasmin