How do I show email address in success_send_code_msg string?

Ådne E. Moldesæter 0 Reputation points
2023-12-11T14:28:45.3733333+00:00

This relates to Azure B2C - Identity Experience Framework.
I have a custom policy for Trust Framework Localization where I have a similar Localized String to this, which renders after a user has entered their email address in the "Forgot password" track:
<LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="success_send_code_msg">We have sendt a confirmation code to {0}. Please copy the code into the input bellow.</LocalizedString>

The goal is to show the email address that were sent the verification code, but currently it renders just as "{0}". Is there a way to get it to show the email address?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,959 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-13T07:15:33.5066667+00:00

    Hello,

    If the message shows but only the variable does not, it should indicate the element is called correctly but cannot read the binary. Could you please check if the input cliams for your displaycontrol is correctly defined?

    It would be helpful if you add B2C tag to the post since the issue is related.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.