Skip to main content
16-Pearl
October 17, 2018
Solved

fileRepository.LoadText topic

  • October 17, 2018
  • 1 reply
  • 1982 views

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

 

 

Best answer by raluca_edu

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

1 reply

17-Peridot
October 17, 2018

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

Gucio16-PearlAuthor
16-Pearl
October 17, 2018

hi,

 

ThingWorx 8.1.3-b121

 

regards

17-Peridot
October 17, 2018

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