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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Translate the entire conversation x

How append create or modify date with PersistenceServerHelper class

DKWc
15-Moonstone

How append create or modify date with PersistenceServerHelper class

Hi Team,

I'm trying to edit create and modify date on WTPart as the years a showing incorrect.

We cannot use the update query in DB as it doesn't fit in the guardrails of deployments.

Just happen to find the PersistenceServerHelper which implements server side methods.

Has anybody done this n past ?

Any reference will be appreciated.

 

Regards,

D

3 REPLIES 3
avillanueva
23-Emerald I
(To:DKWc)

This article seems to hit your question: https://www.ptc.com/en/support/article/CS424953?source=search

Says no. If this is migrated data, there might be methods to import data and carry in those timestamps but I am unsure what those are. I do not think the Bulk Migrator and sure the import from spreadsheet allows for this. Keep in mind that certain transactions might follow on after which would use current timestamps. You might try your best but still have times that do not make sense. 

 

When I've migrated old data in, I let it be to show this is when we've migrated this data in. There would typically be enough information to show that it was a migration and when things occurred. Your only recourse would be DB updates but there are so many places that store timestamps, it would be difficult to chase them all down and make them align. 

Definitely doable.

If all else fails use SQL which can be done in Java.

DKWc
15-Moonstone
(To:d_graham)

Can you put some more light on this one or any reference

Announcements
Top Tags