Skip to content
Discussions/App Development/Unable to load Navigator rolesForum ↗

Unable to load Navigator roles

App Development5 posts256 views4 likesLast activity Mar 2023
TE
Teja_SatyanarayanaOP
Mar 2023

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.

MA
Matteo_Limberto
Mar 2023

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

SO
solomonchauda
Mar 2023

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

TE
Teja_Satyanarayana
Mar 2023

It worked

Thank you !!!

MA
Matteo_Limberto
Mar 2023

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

← Back to Discussions