I am trying to check if the content editor or script editor web part is present on the list forms (NewForm, EditForm, DisplayForm) in SharePoint 2013.
I can get the web part type from web part page using following commands:
$webPartXml = [xml](Get-PnPWebPartXml -ServerRelativePageUrl $ServerRelativePageUrl -Identity $wpId)
$webPartType = $webPartXml.WebPart.TypeName
But seems like this is not applicable for list forms.
Is there any way I can check if these web parts are present on the list forms.
Note : Due to restrictions I cannot write server side code.