Skip to main content
Oct 17, 2018 12:27 PM UTC
Solved

fileRepository.LoadText topic

hi,

 

After executing code:

var fileRepository = Things[fileRepository];
var fileContent = fileRepository.LoadText({ path: preparedFile });

 

file is "locked". I've even thought that there is something like close method (fileContent.close();) - but it's not 😞

 

any idea how to unlock it??

thx

 

 

Oct 17, 2018 12:39 PM UTC

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

5 replies

Oct 17, 2018 12:39 PM UTC

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

GucioAuthor
Oct 17, 2018 12:43 PM UTC

hi,

 

ThingWorx 8.1.3-b121

 

regards

Oct 17, 2018 1:09 PM UTC

Hi,

 

On versions before 8.3, this is reported as defect to R&D.

Unfortunately, I do not know any workaround for this issue.

 

If you have the possibility to upgrade/change version to 8.3 , then LoadText will not be an issue anymore.

 

Best regards,

Raluca Edu