Add the Country list inside RegistrationUserProfile

Tagged: ,

This topic has 2 replies, 2 voices, and was last updated 6 years, 4 months ago by Marius @ForgeRock.

  • Author
    Posts
  • #2961
     F3bio
    Participant

    Hello everyone,

    i’m try to add the possibility to set the country when i create a user.
    I did this step:
    – Create new folder mkdir ui/extension/templates/admin
    – Copy the interface file cp ui/default/enduser/public/templates/admin/AdminUserRegistrationTemplate.html ui/extension/templates/admin/
    – Copy from the file ui/default/enduser/public/templates/admin/AdminUserProfileTemplate.html the section of country

    After this i can see the field, but in contrast of AdminUserProfileTemplate.html is empty.

    How i can see the content of ui-countries.json?

    #2984
     F3bio
    Participant

    I worked a bit with ui/default/enduser/public/org/forgerock/openidm/ui/admin/users/AdminUserRegistrationView.js and found the solution.

    #2985

    Thanks for sharing! :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?