Skip to content

User insert fails due to wrong value on restricted picklist on field languagelocalekey #6

@adnan8387

Description

@adnan8387

Method ( Userinfo.getLocal() ) assigned to populate u.languagelocalekey field while creating a user record is incorrect as it doesn't return the expected picklist value for Language field
Acceptable values are available [here]((https://help.salesforce.com/articleView?id=000327115&language=en_US&type=1&mode=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions