Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Entity list, using Fetch xml to display a drop down list

Posted on by Microsoft Employee

Hi Everyone,

Just wanted to ask if there is a way to use a fetch xml filter to display a drop down list with set values that do not change?

Thanks

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entity list, using Fetch xml to display a drop down list

    I basically just want to know how to make a drop down list with fetch xml

    what i have is this

    <filter type="and" adx:uiname="Prof Group Test"   >

      <condition value="%%" attribute="codec_cpdmonitoring" operator="like" adx:uiinputtype="text" />

    </filter>

    but i want instead of a text inupt type to have a drop down one

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entity list, using Fetch xml to display a drop down list

    No I basically just want to know how to make a drop down list with fetch xml

    what i have is this

     <filter type="and" adx:uiname="Prof Group Test"   >

       <condition value="%%" attribute="codec_cpdmonitoring" operator="like" adx:uiinputtype="text" />

     </filter>

    but i want instead of a text inupt type to have a drop down one

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entity list, using Fetch xml to display a drop down list

    Basically all i want to know is how to actually make a drop down list with fetch XML

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Entity list, using Fetch xml to display a drop down list

    Hello,

    Can you please give more details about your requirement.

    What I understand from your questions that want to bind drop-down items and set dropdown value   by getting data using FetchXML , if yes then you can , but make sure you should have predefined optionset field if you wan to use OOB filed . You can add remove options from optionset depending on the retrieve value using FetchXML/WEB API. Once you bind your Optionset field you can set value the selected options.

    You can refer following thread -

    community.dynamics.com/.../289497

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entity list, using Fetch xml to display a drop down list

    On a html page

  • Dynamics365 Rocker Profile Picture
    Dynamics365 Rocker 7,755 on at
    RE: Entity list, using Fetch xml to display a drop down list

    Where do you want to show drop down? If it is a HTML page or custom .net application then you can do it .

    In crm form you can not wrap option set with fetch xml.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans