Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Single Line of Text to Option set

(0) ShareShare
ReportReport
Posted on by 140

Hi all,

Is there any way to change single line of text field to Option set field of Managed Fields.On contact entity i need to change the 'State/Province' field to option set,Which is Inbuilt fieldaddress.JPG.

Thanks

*This post is locked for comments

  • Suggested answer
    Aric Levin Profile Picture
    30,188 Moderator on at
    RE: Single Line of Text to Option set

    If you are not going to use the composite control (address1_composite), you can create a new field (new_statecode) for the list of states. When the record is saved/updated, have your plugin code copy the data from the optionset to the actual address1_stateorprovince field.

    This will only work if you get rid of the composite control...

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: Single Line of Text to Option set

    No, It's not possible

  • Verified answer
    shivaram Profile Picture
    3,315 on at
    RE: Single Line of Text to Option set

    Hi,

    We Don't have option to change data type of Existing fields. You can change data type of custom fields only. For Custom fields also we have few limitations. As per my knowledge, it can't be done.

  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at
    RE: Single Line of Text to Option set

    Sorry its not, but you could implement the autocomplete feature to have a drop down list to select available states.

    E.g:

    www.powerobjects.com/.../double-down-with-crm-2016-introducing-two-new-features-web-api-and-autocomplete

    you could also use it with static list depending on what you want:

    msdn.microsoft.com/.../mt607648.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,255 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,984 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans