Pregunta

When I add a client app part to a page, then make an update to it in Visual Studio (or the app it's attached to) and then redeploy, the client web part disappears wherever it's installed. So every time I update the client app part I need to go to every page it's installed on and re-add it? That doesn't make it very useable.

Looks like there are a few posts about adding client web parts via CSOM but is there really no easier way to deal with them in terms of upgrading?

¿Fue útil?

Solución

If you create your SharePoint App as a provider hosted app and host it in Azure (or where you want), then you can make any changes to the Web Page which is shown in the Client Web Part without SharePoint knowing.

Otros consejos

This is the default behavior.

Workaround is to add the app part to page using a feature activation event receiver.

Licenciado bajo: CC-BY-SA con atribución
scroll top