0

The TimeStamp behavior auto-populates created and modified fields. Is there a way to override the created field (say, I'm importing users from an external system and would like to preserve the creation timestamps)?

I could not find any useful information on this in the TimeStamp documentation.

Thank you.

1 Answer 1

1

The timestamp behavior only populates/updates these fields if they're not already dirty.

You can simply populate them with your desired values (or mark them as dirty if you want to preserve existing values), and the behavior won't touch them.

Sign up to request clarification or add additional context in comments.

1 Comment

One can also remove the behavior, if that's more appropriate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.