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

Notifications

Announcements

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

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard