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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

sth11235
sth11235
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by sth11235
Customize the badges you want to showcase on your profile
Re: How do you get a byte array from a document? - Adobe LiveCycle 05-10-2011
Give the attached .lca a look. I think it gets the job done. It uses a script as follows:import com.adobe.idp.Document;Document document = patExecContext.getProcessDataDocumentValue("/process_data/myDocument");String str = document.toString();byte[] byteArray = str.getBytes();patExecContext.setProcessDataIntValue("/process_data/@byteArrayLength",byteArray.length);patExecContext.setProcessDataValue("/process_data/myObject",byteArray);Steve

Views

127

Likes

0

Replies

0