hidden anchor in Sharepoint online site collection

%3CLINGO-SUB%20id%3D%22lingo-sub-1170726%22%20slang%3D%22en-US%22%3Ehidden%20anchor%20in%20Sharepoint%20online%20site%20collection%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1170726%22%20slang%3D%22en-US%22%3E%3CP%3EI%20copied%20a%20source%20Site%20Page%20to%20target%20site%20collection%20using%20Get-PnPProvisioningTemplate%20and%20Apply-PnPProvisiongTemplate.%26nbsp%3B%20The%20copied%20Site%20Page%20does%20not%20contain%20contents%20from%20source%20site%20collection.%26nbsp%3B%20In%20the%20target%2C%20I%20have%20to%20re-construct%20the%20page.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20source%2C%20it%20contains%20hidden%20Anchor%20-%26nbsp%3B%3C%2FP%3E%3CP%3E%3CI%20class%3D%22%26quot%3BanchorIcon_902ad777%22%20css-204%3D%22%22%3E_%3C%2FI%3E%20%3D%3D%240%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20tool%20do%20I%20use%20to%20edit%20the%20Site%20page%20to%20add%20the%20hidden%20Anchor%3F%3C%2FP%3E%3CP%3EI%20tried%20using%20SharePoint%20Designer%20but%20it%20didn't%20seem%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1174658%22%20slang%3D%22en-US%22%3ERe%3A%20hidden%20anchor%20in%20Sharepoint%20online%20site%20collection%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1174658%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F361799%22%20target%3D%22_blank%22%3E%40misssp1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESharePoint%20designer%20doesn't%20support%20modern%20pages%20and%20modern%20team%20sites.%3C%2FP%3E%3CP%3EYou%20can%20add%20a%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-Provisioning-Schema%2Fblob%2Fmaster%2FProvisioningSchema-2020-02.md%23canvascontrol%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ECanvas%20Control%3C%2FA%3E%26nbsp%3Bin%20the%20PnP%20template%20xml%20with%20your%20hidden%20anchor%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EFederico%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Visitor

I copied a source Site Page to target site collection using Get-PnPProvisioningTemplate and Apply-PnPProvisiongTemplate.  The copied Site Page does not contain contents from source site collection.  In the target, I have to re-construct the page.  

 

In source, it contains hidden Anchor - 

<i class="anchorIcon_902ad777 css-204" aria-hidden="true">_</i> ==$0

 

What tool do I use to edit the Site page to add the hidden Anchor?

I tried using SharePoint Designer but it didn't seem to work.

 

Appreciate your help.

1 Reply
Highlighted

Hi @misssp1 

SharePoint designer doesn't support modern pages and modern team sites.

You can add a Canvas Control in the PnP template xml with your hidden anchor :)

Cheers,

Federico