# Suggested parties in DAML 2.1.1 navigator doesn't work to create contracts

**URL:** <https://forum.canton.network/t/suggested-parties-in-daml-2-1-1-navigator-doesnt-work-to-create-contracts/4543>\
**Category:** App Development\
**Created:** [May 17, 2022, 8:30am UTC](https://forum.canton.network/t/suggested-parties-in-daml-2-1-1-navigator-doesnt-work-to-create-contracts/4543 "2022-05-17T08:30:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rotoo](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rotoo/32/3905_2.png) [@Rotoo](https://forum.canton.network/u/Rotoo)\
**Post date:** [May 17, 2022, 8:30am UTC](https://forum.canton.network/t/suggested-parties-in-daml-2-1-1-navigator-doesnt-work-to-create-contracts/4543/1 "2022-05-17T08:30:27Z")

</div>

I have a question about parties in DAML navigator and how they should be typed in order to create a contract.

The problem is that the suggested names on the navigator are not valid party identifiers. I tried looking for their IDs by getting parties from the JSON API, and it looks something like party-{UUID} and It didn’t work.

In this [article](https://blog.digitalasset.com/developers/parties-users-daml-2), party IDs in daml 2.0 have this form Alice::1220f2fe29866fd6a0009ecc8a64ccdc09f1958bd0f801166baaee469d1251b2eb72, but i don’t know where to get this id from.

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [May 17, 2022, 9:06am UTC](https://forum.canton.network/t/suggested-parties-in-daml-2-1-1-navigator-doesnt-work-to-create-contracts/4543/2 "2022-05-17T09:06:31Z")

</div>

Navigator should have an autocomplete function. If you type in the first few letters of a party you should see a dropdown appearing with a few suggestions. Otherwise, if you have a party appearing in a contract page you should be able to click on the party name to copy it to your clipboard. You can read more about the new party names from Daml 2.0 and its support in Navigator from the Daml 2.0 release notes ([Release of Daml 2.0](https://blog.digitalasset.com/developers/release-notes/2.0.0)).

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 17, 2022, 9:31am UTC](https://forum.canton.network/t/suggested-parties-in-daml-2-1-1-navigator-doesnt-work-to-create-contracts/4543/3 "2022-05-17T09:31:31Z")

</div>

Answering the specific question about the prefix: If you set a party id hint when you allocate a party the actual party id will be `idhint::hash`. If you don’t set the party id hint, you get a party of the form `party-uuid::hash` which make autocompletion significantly less useful unfortunately.

---

<div class="post-metadata">

**Author:** ![Rotoo](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rotoo/32/3905_2.png) [@Rotoo](https://forum.canton.network/u/Rotoo)\
**Post date:** [May 17, 2022, 12:24pm UTC](https://forum.canton.network/t/suggested-parties-in-daml-2-1-1-navigator-doesnt-work-to-create-contracts/4543/4 "2022-05-17T12:24:50Z")

</div>

The autocomplete only shows the party name that I specified in the **daml.yaml** file, not the entire party id that is generated.

Example: daml.yaml

> …  
> parties:  
> - Alice  
> - Bob  
> …

The suggestions I get for a party field are just {Alice, Bob} and not the valid one {Alice-UUID, Bob-UUID}.
