Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can I dynamically fill a dropdown list in a Tool Part panel of a SharePoint 2013 app part?

What I want to achieve:

  • User checks a checkbox
  • Dropdown appears
  • The list items in this dropdown are set in the server side i.e. either dependent on user's input for other elements or on the specific user's permissions

Your help is really appreciated! I need to come up with a solution as soon as possible, so any guidance on how to approach this will be truly appreciated.

share|improve this question
add comment

1 Answer 1

Pretty sure there is a limitation in the app model against doing this. Only basic tool parts / custom properties like string, int, bool or enum can be created in app Webparts

See section Table 2. App part custom properties here: http://msdn.microsoft.com/en-us/library/fp179921.aspx

share|improve this answer
    
Can we set the enum values dynamically? –  MyName May 22 '13 at 17:45
1  
Don't think so since they are declared I the XML file, but I have not investigated that further. –  Robert Lindgren May 22 '13 at 17:51
    
Okay, I appreciated the App Model quite a bit until this T_T .. I will do more research and if it is absolutely not possible... I will implement what I have to using a Visual Web Part –  MyName May 22 '13 at 18:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.