Question:

SharePoint 2013 App Part : Dynamically set values for the tool part panel controls on serverside

Serenity: 5 days ago

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.

Answer:
Ryleigh: 5 days ago

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