Community Tip - You can change your system assigned username to something more personal in your community settings. X
This seems to be a bug which we have recreated in 9.1.1
@DuanGauche , I test it with the below code in 9.2.1, it works fine. What is the exact code and error in your site?
//==========
let params = {
name: "Test_Cloned_Target_Thing" /* STRING */,
description: "This is cloned Thing" /* STRING */,
sourceThingName: "testcloneSourceThing" /* THINGNAME */,
tags: undefined /* TAGS */
};
// no return
Resources["EntityServices"].CloneThing(params);
//==========
Supposedly 9.2.1 fixes a lot, but we will need to see that.
This article claims: "CloneThing Service from Resources EntityServices should be used for creating exact copy of the Thing including the data" - https://www.ptc.com/en/support/article/CS272038
@Jimwang could you please verify that the persisted property data is also copied?
Thanks,
Duan
@DuanGauche , I tested it that the persisted property data is NOT copied . I add comments to the article CS272038 for waiting for their verification.
The article 272038 has been merged to article CS326332. Please check https://www.ptc.com/en/support/article/CS326332