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

Where "Document Form" & "Form" variables should be used?

Avatar

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
AswaniSakthi
Level 1

03-12-2009

Hai all,

Could anyone explain me, what is the use of "Document Form" & "Form" variable?

And, in which cases they are used?

Even after going through the Workbench's Help Document, I could not understand much...

Everywhere, I could see only the "xfaForm" variable is used..

Aswani.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

04-12-2009

So, if a "Document Form" variable is used instead of "xfaForm", will the form be rendered in the same manner?

Yes. The only difference between the two is the content you can put in the variables. If you want to submit the entire PDF then you have to use a Document Form.

If you just want to submit the data (xml), then you can use xfaForm or Document Form. I would suggest to use xfaForm, since it's easier to use xPath to get the  the data element you may need. If you use Document Form, you might have to cast the content of the Document Form into a xml variable before you can use xPath. So it involves an extra step.

Jasmin

Answers (7)

Answers (7)

Avatar

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Scott_Brodersen
Level 6

04-12-2009

Regarding "Also, cant we use any other variables to render a Form Guide, other than Form, DocumentForm & xfaForm variables?"

The properites of  xfaForm or Document Form variables enable you to use Form Guides (and other forms) in conjunction with existing render and submit services, as well as the User service, to create tasks for Workspace ES users. These variables make task generation much easier.

Ultimately, you are using the Forms service to render the Form Guide. If you are only rendering the Form Guide and not creating a user task, you can use the RenderFormGuide operation directly. Look at the input properties of the operation to get clues about the variable types that you need:  http://livedocs.adobe.com/livecycle/8.2/wb_help/000612.html

hope that helps

scott

Avatar

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Scott_Brodersen
Level 6

03-12-2009

Avatar

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Scott_Brodersen
Level 6

07-12-2009

Avatar

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 6
Scott_Brodersen
Level 6

Likes

40 likes

Total Posts

330 posts

Correct Reply

100 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Scott_Brodersen
Level 6

07-12-2009

It takes some getting used to, for sure.

  • You use the xfaForm or Document Form variable to represent a form, and specify which render and submit services you use with the form.
  • You use the User service's Assign Task operation to create the task.
  • You use the Form Data Mappings properties of the Assign Task operation to specify which xfaForm or Document Form variable to use for the task.

The User service works in conjuction with the xfaForm and Document Form variables so that forms are rendered for use in Workspace ES.

Makes sense?

Avatar

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
AswaniSakthi
Level 1

07-12-2009

Scott..

Thanks.. for your reply post..

But Scott.. as per your words,

"Ultimately, you are using the Forms service to render the Form Guide.

If you are only rendering the Form Guide and not creating a user task, you can use the RenderFormGuide operation directly"...

So, if I am rendering the Form Guide and creating an User Task as well, then which is the operation that I need to use?

Aswani.

Avatar

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
AswaniSakthi
Level 1

07-12-2009

Thanks Jasmin...

For your explanation..

Aswani.

Avatar

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
AswaniSakthi
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
AswaniSakthi
Level 1

04-12-2009

Thanks Scott..

Now I could understand.. So, if a "Document Form" variable is used instead of "xfaForm", will the form be rendered in the same manner?

Or will there be any difference in viewing the rendered form?

Also, cant we use any other variables to render a Form Guide, other than Form, DocumentForm & xfaForm variables?

Aswani.