Unable to load Navigator roles

Hi,

I ran basic Daml finance project that comes with the template, everything looks fine but I am unable to see the roles in the navigator. Please help me to understand why I am experiencing this.

Thanks,
Satya.

Hi @Teja_Satyanarayana,

Could you let us know what steps you performed?

I did the following:

  • create a new quickstart-finance template daml new quickstart-finance --template quickstart-finance
  • installed dependencies
  • set start-navigator: yes in daml.yaml file
  • run daml start

I can successfully see the navigator roles.

Screenshot 2023-03-27 at 10.05.20

This was on the latest SDK (2.6.0).

Matteo

1 Like

Hello @Teja_Satyanarayana,

This is because the Navigator defaults to reading Users, but for this template, Parties are created in the initialization script.

There is an option you can add in your daml.yaml file which will allow the Navigator to read Parties instead:

navigator-options: 
  - --feature-user-management=false

Best Regards,
Solomon

2 Likes

It worked

Thank you !!!

The Daml Finance quickstarter shipped with the latest SDK (2.6.0) creates users by default, in addition to parties.

This was not the case for 2.5.x, where the above workaround is necessary.

Matteo

1 Like