Question

I want to build a pure clientside (angular) webpart for my own environment. I want to have as small of a footprint as possible (So please no app domain or sandboxed solution).

It's necessairy this webpart is very easy to implement for others with custom properties available in the properties pane. (So the OOB script webpart is not an option)

Is there a possibility to do this? Or am I forced to create a sandboxed solution.

An alternative would be to create a seperate (hidden) configuration list for the javascript application (using the OOB Script webart) that's written into when the webpart is modified in page edit mode, putting the edit controls with the webpart. But again, a lot of overhead for something simple.

Was it helpful?

Solution

Have a look at this solution: Developing Configurable Client Side Web Parts

Basically they put everything inside an OOB Script Web Part and use some logic to store the properties after edit. Editing of the properties isn't inside the edit pane, but directly inside (or above) the script web part in edit mode. I like that concept for creating that kind of configurable web parts for SharePoint online...

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top