Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I used the createSite Service in Thing: PTC.SCA.SCO.DefaultShiftManager to make shifts.
I want to know how to reset siteUID. Thank you.
Solved! Go to Solution.
@JackEom : I tested this scenario. When you delete a site id lets say site id '2' and when you create a new site id it will generate from '3'. The only way is to modify it at the db level.
@JackEom If you have not created shifts and shiftschedule for a site, you can update the site table directly in database for updating its uid.
However if for a site you have created shifts and shift schedules , then you would get foreign key violation constraint while trying to update in the db.
P.S - Please be careful while manipulating data directly in database.
Thanks for answering.
I have already created shiftschedule and shift. The problem I've said also occurs in shiftschedule and shift.
If I delete uid, is it impossible for deleted uid to be generated?(e.x if I deleted '2' Site UID or ShiftSchedule UID or Shift UID, is it impossible those to be generated?) Is there only a way to modify uid?
@JackEom : I tested this scenario. When you delete a site id lets say site id '2' and when you create a new site id it will generate from '3'. The only way is to modify it at the db level.
Thank you for the details.
I'll test it using db.