cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to create text file without using FileRepository?

ds-21
7-Bedrock

How to create text file without using FileRepository?

hi,

    i need help for creating text file without help of file repository. my aim is,

1) create text File,

2) store JSON values into text file ,

3) download file without storing data into repository.

is possible to do that ?can any one help?

2 REPLIES 2
jamesm1
12-Amethyst
(To:ds-21)

Is there any reason you wouldn't want to create this file in a file repository dynamically? The file repository is your access to the local file system to store this to disk, without using this you would need to store the text file in memory. This is possible using a BLOB data type as a thing property, and writing the file binary to the property.

ds-21
7-Bedrock
(To:jamesm1)

Hi James McCuen,

thank you for response.

actually i am getting JSON from API. so there is no necessary to store.but i need to download in text format.

can you give some example, how BLOB property use?

Announcements


Top Tags