web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add new option to opti...
Power Apps
Unanswered

Add new option to option set dynamically by javascript using model driven form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

I have created an empty option set called Clients. 

 
 

Created a field with datatype as option set and selected Clients option set in EntityA.

 

I have dynamically added items into empty option list in Main information form using javascript:

what i mean:

client and country both are linked in different entity, data is:

client name      country name

client1 US

client1 Singapore

client2 Dubai

 

Main information form of EntityA:

Client Name: client1 (look up field)

Country List: US

                     Singapore

Here US and Singapore values are dynamically added through Client Name textbox change event.

But when i try to save it is throwing an error as globally it does not have any items.

 

Please suggest me here.

 

Thank you. 

I have the same question (0)
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    I am not quite certain how to achieve the functionality you are trying to get here. If you are trying to suggest an idea then maybe it would be better to make a post about it in our idea's form which I will like below; If you are trying to find a work around to this unfortunately I am not certain how to do this. You can always try creating a Microsoft Support case if you would like to go down that route. I'll include a link on how to create a case with them too.

     

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard