Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Change display Name of a Party?Forum ↗

Change display Name of a Party?

App Development5 posts142 views2 likesLast activity Jul 2022
ST
StephenOTTOP
Jul 2022

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

CO
cocreature
Jul 2022

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.

ST
StephenOTT
Jul 2022

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.

CO
cocreature
Jul 2022

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, ….

ST
StephenOTT
Jul 2022

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!

← Back to Discussions