A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Dynamically Populating Drop Down With Commerce Organizations

Vote:
 

I've been searching for a way to dynamically populate dropdowns with organizations from commerce. I've tried to follow this http://www.joshuafolkerts.com/blog/2013/02/populating-dropdown-list-in-episerver-7/ just to get the a populated drop down but this doesn't work for me. Any help would be much appreciated.

#70878
May 02, 2013 19:34
Vote:
 

What is not working? If you can create a list of SelectItems in a selection factory class this should not be all that difficult. If you provide some more information on your problem, I’m sure you’ll get some help.

#70946
May 06, 2013 8:57
Vote:
 

I ended up figuring it out. I created the custom drop down property and used the CustomerContext to get all the organizations from Commerce.

#70977
May 06, 2013 17:10
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.