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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Working with GUID Base type in Thingworx

esirohi
1-Newbie

Working with GUID Base type in Thingworx

What is the difference between base types String and GUID in thingworx?

Using GUID base type to store GUID/UUID generated from another system. Below are the observations while using TW GUID base type:

  1. Able to store 2 similar GUIDs in thingworx system. Does the GUID column has unique constraint?
  2. Passing any string [for ex: "1234", "abcxyz"] to GUID base type property, it is getting stored. Does it not verify UUID/GUID format and store data in string format only?
  3. GUIDs are usually stored as 128-bit values and as 32 hexadecimal digits [i.e. Can only contain characters a-f]. But thingworx GUID base type is also taking characters other than a-f. Is it a valid case?

Please guide and provide a pointer to any documentation about using thingworx GUID base type.

1 REPLY 1

Right now if you are on TW 6.5 better you don't use GUID property values, it has a bug that makes them unusable ( https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS222276  ). Better you go with just a String property.

By the way, you questions are interesting, let's see if they answer it.

Best Regards,

Carles.

Top Tags