Get information about Zone and Index for a webpart with pnp

%3CLINGO-SUB%20id%3D%22lingo-sub-148407%22%20slang%3D%22en-US%22%3EGet%20information%20about%20Zone%20and%20Index%20for%20a%20webpart%20with%20pnp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-148407%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20need%20to%26nbsp%3Bget%20the%20%26nbsp%3Bzone%20and%20the%20index%20for%20a%20webpart.%20If%20I%20use%20next%20commands%20I%20get%20a%20lot%20of%20information%20but%20nothing%20related%20with%20the%20webpart%20zone%20and%20index%20on%20the%20page.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3EGet-PnPWebPart%20-ServerRelativePageUrl%20%22%2FPagines%2Fresults.aspx%22%20-Identity%20Refinament%0AGet-PnPWebPartXml%20-ServerRelativePageUrl%20%22%2FPagines%2Fresults.aspx%22%20-Identity%20Refinament%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20any%20way%26nbsp%3B%20I%20could%20get%20this%20information%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20in%20advanced%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMar%C3%ADa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-148407%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Contributor

Hi, 

 

I need to get the  zone and the index for a webpart. If I use next commands I get a lot of information but nothing related with the webpart zone and index on the page.

 

Get-PnPWebPart -ServerRelativePageUrl "/Pagines/results.aspx" -Identity Refinament
Get-PnPWebPartXml -ServerRelativePageUrl "/Pagines/results.aspx" -Identity Refinament

 

Is there any way  I could get this information?

 

Thank you in advanced,

 

María

0 Replies