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

fileRepository.LoadText topic

SOLVED
Level 9

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

 

 

Krzysztof
1 ACCEPTED SOLUTION

Accepted Solutions

Re: fileRepository.LoadText topic

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 5

Re: fileRepository.LoadText topic

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

Highlighted

Re: fileRepository.LoadText topic

hi,

 

ThingWorx 8.1.3-b121

 

regards

Krzysztof

Re: fileRepository.LoadText topic

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

Re: fileRepository.LoadText topic

thx for your response.
I use TXW with Navigate and Windchill - so before upgrading, I have to check compatibility table.

 

regards

Krzysztof

Re: fileRepository.LoadText topic

Hi @Gucio.

 

If you are satisfied with Raluca's response, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon