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

Reading data form a file

Avatar

Level 1

Is it possible in LiveCycle designer ( v9 ) to create a button on an Form that will Open a text file, Read its contents into a variable ( no need for delimiters) , Close the file  & place the contents into a field on the form ?

I am able to do the last bit ( field.rawValue ) thru JavaScript but am struggling on the correct JavaScript syntax for Opening the file ( eg H:\PA2011\Report.txt ).

I am attempting to place a Rich text field on the form to be updated (via button ) with the latest Sales information from a Network drive.

I am new to LiveCycle designer & JavaScript syntax but have looked thru all the documentation & forums for some examples of the above without success.

Thanks

0 Replies