Skip navigation
DanCJones
Currently Being Moderated

Form loses fragments when I run it

Sep 7, 2010 6:12 AM

Hi

 

I've got a form which uses fragments.  This form previews fine in the designer, but when I try to run it using generatePDF Output in a process, the parts that come from the fragments are gone.

 

The following entries are in the log:

ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/scCoords.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/scCoords.xdp] does not exist or you do not have sufficient rights to access it.
2010-09-07 11:46:59,987 WARN
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/BookmarkPage.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/BookmarkPage.xdp] does not exist or you do not have sufficient rights to access it.
2010-09-07 11:46:59,997 WARN
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/bookmarks.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/bookmarks.xdp] does not exist or you do not have sufficient rights to access it.
2010-09-07 11:47:00,007 WARN
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.
Authority component retrieved is "..". Path component retrieved is "/Fragments/scMessage.xdp".Underlying Exception is : ALC-REP-018-000:
Resource [/Fragments/scMessage.xdp] does not exist or you do not have sufficient rights to access it.

 

Does anyone have any idea what the problem might be?

 

Thanks

 

Dan

 
Replies
  • Currently Being Moderated
    Sep 7, 2010 8:51 AM   in reply to DanCJones

    Please check http://kb2.adobe.com/cps/521/cpsid_52158.html

     

    It should help you understand why the fragments are lost.

     

    Regards

    -Vikas

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2012 3:21 AM   in reply to DanCJones

    For anyone who'se interested I found the solution on this thread:

    http://forums.adobe.com/thread/799719

     

    Here it is:

    Assuming you launched Designer in Workbench and used that to add the fragments to the template, then the relative paths should be alright.   What you need to add is some information to tell Output where to start with the relative paths.

     

    In your generatePDF call, under Template Options there is a Content Root URI field.   Output uses this, along with the paths in the form template to find the fragments.  The Content Root URI should point to the form template (not the fragments).

     

    For example.  Say I have an application called GeneratePDF_Test v1.0  which has both a Fragments and a Forms directory.  Using Designer I create a new form and add the fragments from the Fragments directory.  Designer sets up my relative paths for me.  I save the form to the Forms directory.

     

    In the generatePDF step I set the Content Root URI to:

    repository:///Applications/GeneratePDF_Test/1.0/Forms/

     

    Now Output knows where to start the relative paths so it can find the fragments

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points