Update StartLayout and assets documentation

This commit is contained in:
Paolo Matarazzo
2024-03-22 11:07:59 -04:00
parent df9f30d575
commit 4351d98113
6 changed files with 49 additions and 18 deletions

View File

@ -522,23 +522,7 @@ App tiles are the Start screen tiles that represent and launch an app. A tile th
By using the PowerShell cmdlet `export-StartLayoutEdgeAssets` and the policy setting `ImportEdgeAssets`, the tiles display the same as they did on the device from which you exported the Start layout.
Example of secondary tiles in XML generated by Export-StartLayout:
```xml
<start:SecondaryTile
AppUserModelID="Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe!App"
TileID="-9513911450"
DisplayName="Bing"
Size="2x2"
Column="0"
Row="0"
Arguments="-contentTile -formatVersion 0x00000003 -pinnedTimeLow 0x36a8c2e4 -pinnedTimeHigh 0x01d0919b -securityFlags 0x00000000 -tileType 0x00000000 -url 0x00000014 http://www.bing.com/" Square150x150LogoUri="ms-appdata:///local/PinnedTiles/-9513911450/lowres.png"
Wide310x150LogoUri="ms-appx:///"
ShowNameOnSquare150x150Logo="true"
ShowNameOnWide310x150Logo="true"
BackgroundColor="#7fffffff"
/>
```
[!INCLUDE [example-secondary-tiles](includes/example-secondary-tiles.md)]
## Export Start layout and assets
@ -553,6 +537,8 @@ Example of secondary tiles in XML generated by Export-StartLayout:
Export-StartLayoutEdgeAssets assets.xml
```
[!INCLUDE [example-assets](includes/example-assets.md)]
## Configure policy settings
Prepare the Start layout and Edge assets XML files

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@ -0,0 +1,21 @@
---
author: paolomatarazzo
ms.author: paoloma
ms.date: 03/13/2024
ms.topic: include
---
Example of the output of the PowerShell cmdlet `Export-StartLayoutEdgeAssets`:
```xml
<SecondaryTileAssets>
<SecondaryTileAsset>
<RelativeFilePath><![CDATA[Pins\MSEdge._pin_liejfngppphclkplgppaghabld\SmallLogo.png]]></RelativeFilePath>
<Base64EncodedImage> Base64 encoded value of the logo </Base64EncodedImage>
</SecondaryTileAsset>
<SecondaryTileAsset>
<RelativeFilePath><![CDATA[Pins\MSEdge._pin_liejfngppphclkplgppaghabld\Logo.png]]></RelativeFilePath>
<Base64EncodedImage> Base64 encoded value of the logo </Base64EncodedImage>
</SecondaryTileAsset>
</SecondaryTileAssets>
```

View File

@ -0,0 +1,24 @@
---
author: paolomatarazzo
ms.author: paoloma
ms.date: 03/13/2024
ms.topic: include
---
Example of secondary tiles in XML generated by the PowerShell cmdlet `Export-StartLayout`:
```xml
<start:SecondaryTile
AppUserModelID="Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe!App"
TileID="MSEdge._pin_liejfngppphclkplgppaghabld"
DisplayName="Contoso Intranet"
Size="2x2" Column="0" Row="0"
Arguments=" --pin-url=https://intranet.contoso.com/ --profile-directory=Default --launch-tile"
Square71x71LogoUri="ms-appx:///"
Square150x150LogoUri="ms-appdata:///local/Pins/MSEdge._pin_liejfngppphclkplgppaghabld/Logo.png"
Wide310x150LogoUri="ms-appx:///"
Square310x310LogoUri="ms-appx:///"
ShowNameOnSquare150x150Logo="true"
ShowNameOnWide310x150Logo="false" BackgroundColor="#efefef" ForegroundText="dark"
/>
```

View File

@ -11,7 +11,7 @@ appliesto:
This reference article contains the Start XML schema definition (XSD).
## StartLayoutSchema
## StartLayout
```xml
<?xml version="1.0" encoding="utf-8"?>