Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Sorting and Grouping and Sub-totalling

Avatar

Avatar
Validate 1
Level 1
EricES
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 1
View profile

Avatar
Validate 1
Level 1
EricES
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 1
View profile
EricES
Level 1

09-04-2012

Hello,

I'm looking for some generic advice here, not necessarily a specific technical recommendation.

We have a requirement for about 15 different reports/forms. The reports would be the same layout using the same datasets, with the exception that they would be sorted, grouped, and sub-totalled differently.

Using Adobe Livecycle, can we design one form, and then control its sorting, grouping, and sub-totalling behavior somehow (maybe via parameters passed to its interface)? We do not need to allow user control over these various differences.

I know something like this is fairly straightforward in tools like Crystal Reports, but is it possible and practical using Adobe Livecycle? We would probably want to avoid a solution that uses overly complex and abundant Javascript.

Are we trying to use Adobe for something it's not really designed for?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 9
Srini_Dhulipall
Level 9

Likes

177 likes

Total Posts

1,397 posts

Correct Reply

255 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 9
Srini_Dhulipall
Level 9

Likes

177 likes

Total Posts

1,397 posts

Correct Reply

255 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Srini_Dhulipall
Level 9

10-04-2012

You can render the PDF forms at runtime using XML as input. If you want to avoid the JavaScript coding in the form, then you can do all those calculations before generating the XML. In this scenario, I am assuming you have the Server software to render PDF with the dynamic XML data at runtime.

Other option would be writing the Java Script in the Calculate event of the fields to sort/ group/ totalling the values. Since all of your reports use the same layout, it would not be that difficult to write the code. Propably if you check the PurchaseOrder.xdp form that comes with your Designer samples along with installation, you get some basic idea on how to calculate the values as you add more rows to the form.

If you still have issues, you can always contact me or the team on this forum.

Thanks

Srini

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
EricES
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 1
View profile

Avatar
Validate 1
Level 1
EricES
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 1
View profile
EricES
Level 1

13-04-2012

Srini,

Thanks for the helpful tips! We'll check into those.

Thanks,

Eric