AnsweredAssumed Answered

webIdHelper.generateWebIdByPath with unicode string

Question asked by Румпельштицхен on May 15, 2018
Latest reply on May 15, 2018 by Marcos Vainer Loeff

Hi.

javascript.

How to use webIdHelper.generateWebIdByPath with unicode string?

...

WebId = piwebapi.webIdHelper.generateWebIdByPath("\\\\PISYS\\TESTBASE", "PIAttribute", "PIElement"); // Ok

WebId = piwebapi.webIdHelper.generateWebIdByPath("\\\\PISYS\\TESTкирилица", "PIAttribute", "PIElement"); // Error

...

How do I prepare a string for conversion?

Outcomes