The webpart is duplicated in case of the SharePoint app updating -
i have sharepoint hosted app. there list in app, , brought through web part on page.
<div> <webpartpages:webpartzone runat="server" frametype="none" id="webpartzone" > <webpartpages:xsltlistviewwebpart runat="server" listurl="lists/ideaslist"> </webpartpages:xsltlistviewwebpart> </webpartpages:webpartzone> </div>
everything works there 1 problem, in case of application updating page on placed web part replaced (html code), web part duplicated (on page 1 more copy of web part added below).
how add web part on page wasn't duplicated in case of updating?
i had same issue , did remove webparts before update. can delete them manually via url. option implement event receiver delete webparts before. hope helps you.
Comments
Post a Comment