Forums

Forums / Developing Portals / Option Sets

Option Sets

Thread is closed for posting
6 posts, 1 answered
  1. Chris Williams
    Chris Williams avatar
    16 posts
    Registered:
    27 Jan 2020
    03 Feb 2020
    Link to this post
    Hello,
    How do I access an Option set in D365?
    I wish to populate a picklist or dropdown menu with an Option set I have created in Dynamics.
    Thanks
  2. Omar S
    Omar S avatar
    51 posts
    Registered:
    04 Jul 2019
    Answered
    04 Feb 2020 in reply to Chris Williams
    Link to this post
    Hello Chris

    Yes, the TPC Picklist widget would be the way to access an Option Set from D365. Please refer to the following documentation on how to configure a TPC form and the picklist widget. 

    https://www.crmportalconnector.com/developer-network/documentation/start-building-your-portal-site/create-a-portal-form

    https://www.crmportalconnector.com/developer-network/documentation/portal-connector-widgets/tpc-form-widgets/mvc-based/crm-picklist

  3. Chris Williams
    Chris Williams avatar
    16 posts
    Registered:
    27 Jan 2020
    04 Feb 2020 in reply to Omar S
    Link to this post
    Thanks for the reply but I do not see option sets, created in Dynamics, available in TPC to choose as a data source.
    Does TPC receive option sets the same as entities?

    Thanks
  4. Omar S
    Omar S avatar
    51 posts
    Registered:
    04 Jul 2019
    04 Feb 2020 in reply to Chris Williams
    Link to this post
    If you do not see the option sets inside the Picklist Widget then it's likely you didn't configure the form. Do you have screenshots you can share? 
  5. Chris Williams
    Chris Williams avatar
    16 posts
    Registered:
    27 Jan 2020
    04 Feb 2020 in reply to Omar S
    Link to this post
    Thanks. Ive sent you an email with screen shots.
  6. Chris Williams
    Chris Williams avatar
    16 posts
    Registered:
    27 Jan 2020
    05 Feb 2020
    Link to this post
    Hello, Ive fixed this now. I needed to add the option set to a field, in an entity.
    Once attached to an entity, I was able to access this field in TPC.
    Thanks
6 posts, 1 answered