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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

fileRepository.LoadText topic

Gucio
14-Alexandrite

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
raluca_edu
17-Peridot
(To:Gucio)

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

View solution in original post

5 REPLIES 5
raluca_edu
17-Peridot
(To:Gucio)

Hi,

 

What version are you using?

This issue was corrected in 8.3.0.

 

Please find related article here.

 

Best regards,

Raluca Edu

Gucio
14-Alexandrite
(To:raluca_edu)

hi,

 

ThingWorx 8.1.3-b121

 

regards

Krzysztof
raluca_edu
17-Peridot
(To:Gucio)

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

Gucio
14-Alexandrite
(To:raluca_edu)

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

 

regards

Krzysztof
slangley
23-Emerald II
(To:Gucio)

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

Top Tags