Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Detecting the WebPart Type in SharePoint 2013 App

$
0
0

Hi,

I have a SharePoint 2013 app and i want to detect and get the types of the webpart placed in a page using CSOM.

I was able to get all the webparts in the page but i want also to have GetType() or something like that so i can differentiate between Search box web part vs Content Editor web part for example.

Any webpart that is a list like custom lists or document libraries i get around this but checking the item template for items within a list but this property doesn't exist if the webpart doesn't have or contain any list.

any direction how can i do this.

Thanks a lot.


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>