Opening File in Web Client

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jan 26, 2016
Company:

Hello
I am trying to open a file in the web client module of 1c Enterprice version 8.3.5.
I am able to attach the files in the system and in temporary storage
What i am required to do now is open the file i.e (Text or csv) and parse it.
Any insight on how this can be done?
Thanks

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Theodosis Dimitriou!

You need to use BeginPutFile() function to place a file from the client PC to the temp storage and then you need to get it from the temp storage on the server and read it using TextDocument or SpreadsheetDocument objects and their Read() methods.

Please, see following topics:
how to add item's image?
Show SpreadsheetDocument on a form
Import Txt documents

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.