Change display Name of a Party?
- StephenOTTOP
Is it possible to change the display name of a party?
- cocreature 1
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.
- StephenOTT
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. - cocreature 1
Yeah, one example is the
Aliascontracts increate-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, …. - StephenOTT
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!