Change display Name of a Party?

Is it possible to change the display name of a party?

No, the display name is immutable. That said, I also recommend to not rely on the display name. It still exists for backwards compatibility but is rarely the right solution.

1 Like

Great to know!
Okay so does that mean any sort of party contextual information should be stored out of band? I was looking at using the display name to identify it was a “role” party.

Yeah, one example is the Alias contracts in create-daml-app. By actually storing it as contracts you get a lot more flexibility & control over the information you want to store, who can see it, ….

1 Like

yes i was looking at re-using the ledger. But it started to become more boilerplate code than the actual business function. But yes i understand where you are coming from!

Thanks!