Skip to content

Commit 0854e88

Browse files
Merge pull request #5390 from MicrosoftDocs/main
Merge latest from main to live in windows-dev-docs-pr
2 parents 884d51f + c3a7969 commit 0854e88

29 files changed

+126
-136
lines changed

hub/apps/develop/windows-integration/integrate-sharesheet-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ In this comprehensive guide, you'll learn how to add the share feature to your p
3434
- [Advantages and Disadvantages of packaging an application - Deployment overview](/windows/apps/package-and-deploy/#advantages-and-disadvantages-of-packaging-your-app)
3535
- [Identity, Registration and Activation of Non-packaged Win32 Apps](https://blogs.windows.com/windowsdeveloper/2019/10/29/identity-registration-and-activation-of-non-packaged-win32-apps/)
3636
- [Share Contract Implementation for WinAppSDK App](https://github.com/kmahone/WindowsAppSDK-Samples/tree/user/kmahone/shareapp/Samples/AppLifecycle/ShareTarget/WinUI-CS-ShareTargetSampleApp)
37-
- [Share Contract Implementation for Apps Packaged with External Location](https://github.com/microsoft/AppModelSamples/blob/master/Samples/SparsePackages/PhotoStoreDemo/StartUp.cs)
37+
- [Share Contract Implementation for Apps Packaged with External Location](https://github.com/microsoft/AppModelSamples/blob/master/Samples/PackageWithExternalLocation/cs/PhotoStoreDemo/StartUp.cs)

hub/apps/develop/windows-integration/integrate-sharesheet-packaged.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static void Main(string[] cmdArgs)
8686
}
8787
```
8888

89-
See the [Photo Store Demo](https://github.com/microsoft/AppModelSamples/blob/master/Samples/SparsePackages/PhotoStoreDemo/StartUp.cs) app for a complete implementation.
89+
See the [Photo Store Demo](https://github.com/microsoft/AppModelSamples/blob/master/Samples/PackageWithExternalLocation/cs/PhotoStoreDemo/StartUp.cs) app for a complete implementation.
9090

9191
## Handle shared files
9292

@@ -128,6 +128,6 @@ static async void HandleShareAsync(ShareTargetActivatedEventArgs args)
128128
- [Advantages and Disadvantages of packaging an application - Deployment overview](/windows/apps/package-and-deploy/#advantages-and-disadvantages-of-packaging-your-app)
129129
- [Identity, Registration and Activation of Non-packaged Win32 Apps](https://blogs.windows.com/windowsdeveloper/2019/10/29/identity-registration-and-activation-of-non-packaged-win32-apps/)
130130
- [Share Contract Implementation for WinAppSDK App](https://github.com/kmahone/WindowsAppSDK-Samples/tree/user/kmahone/shareapp/Samples/AppLifecycle/ShareTarget/WinUI-CS-ShareTargetSampleApp)
131-
- [Share Contract Implementation for Apps Packaged with External Location](https://github.com/microsoft/AppModelSamples/blob/master/Samples/SparsePackages/PhotoStoreDemo/StartUp.cs)
131+
- [Share Contract Implementation for Apps Packaged with External Location](https://github.com/microsoft/AppModelSamples/blob/master/Samples/PackageWithExternalLocation/cs/PhotoStoreDemo/StartUp.cs)
132132
- [Get activation info for packaged apps](/windows/apps/desktop/modernize/get-activation-info-for-packaged-apps)
133133
- [ShareTarget schema reference](/uwp/schemas/appxpackage/uapmanifestschema/element-uap-sharetarget)

hub/apps/develop/windows-integration/integrate-sharesheet-unpackaged.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The second way to give your app package identity is to add a package with extern
4343

4444
Documentation on how to create a package with external location is available here, including information on templates to use: [Grant package identity by packaging with external location](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps).
4545

46-
The full sample app is available on GitHub: [SparsePackages (Packaged with External Location)](https://github.com/microsoft/AppModelSamples/tree/master/Samples/SparsePackages).
46+
The full sample app is available on GitHub: [Packaged with External Location](https://github.com/microsoft/AppModelSamples/tree/master/Samples/PackageWithExternalLocation).
4747

4848
## Register as a Share Target
4949

@@ -263,4 +263,4 @@ The following video demonstrates how an unpackaged app can be a share target aft
263263
- [Advantages and Disadvantages of packaging an application - Deployment overview](/windows/apps/package-and-deploy/#advantages-and-disadvantages-of-packaging-your-app)
264264
- [Identity, Registration and Activation of Non-packaged Win32 Apps](https://blogs.windows.com/windowsdeveloper/2019/10/29/identity-registration-and-activation-of-non-packaged-win32-apps/)
265265
- [Share Contract Implementation for WinAppSDK App](https://github.com/kmahone/WindowsAppSDK-Samples/tree/user/kmahone/shareapp/Samples/AppLifecycle/ShareTarget/WinUI-CS-ShareTargetSampleApp)
266-
- [Share Contract Implementation for Apps Packaged with External Location](https://github.com/microsoft/AppModelSamples/tree/master/Samples/SparsePackages)
266+
- [Share Contract Implementation for Apps Packaged with External Location](https://github.com/microsoft/AppModelSamples/tree/master/Samples/PackageWithExternalLocation)

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/commandresult.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ The **CommandResult** class is used to specify the result of a command execution
3636
| [GoToPage(GoToPageArgs)](commandresult_gotopage.md) | Navigate to a different page in the palette. The [GoToPageArgs](gotopageargs.md) will specify which page to navigate to. |
3737
| [Hide()](commandresult_hide.md) | Creates a new **CommandResult** instance with **Kind** set to [CommandResultKind.Hide](../microsoft-commandpalette-extensions/commandresultkind.md#fields) and **Args** set to `null`. |
3838
| [KeepOpen()](commandresult_keepopen.md) | Do nothing. This leaves the palette in its current state, with the current page stack and query. |
39-
| [ShowToast(String)](commandresult_showtoast_string.md) | Display a transient desktop-level message to the user. Creates a new [CommandResult](commandresult.md) with **Args** set to a new [ToastArgs](toastargs.md) object with its [Message](toastargs.md#properties) set to **String**. |
40-
| [ShowToast(ToastArgs)](commandresult_showtoast_toastargs.md) | Display a transient desktop-level message to the user. Creates a new `CommandResult` instance with **Args** set to [ToastArgs](toastargs.md). |
39+
| [ShowToast(String)](commandresult_showtoast_string.md) | Display a transient desktop-level message to the user. Creates a new **CommandResult** with **Args** set to a new [ToastArgs](toastargs.md) object with its [Message](toastargs.md#properties) set to **String**. |
40+
| [ShowToast(ToastArgs)](commandresult_showtoast_toastargs.md) | Display a transient desktop-level message to the user. Creates a new **CommandResult** instance with **Args** set to [ToastArgs](toastargs.md). |
4141

4242
## Example
4343

hub/powertoys/command-palette/samples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ no-loc: [PowerToys, Windows, Insider]
1111

1212
The Command Palette provides a full extension model, allowing developers to create their own experiences for the palette.
1313

14-
For the most up-to-date samples, check out [the samples project on GitHub](https://github.com/microsoft/PowerToys/tree/main/src/modules/cmdpal/Exts/SamplePagesExtension). This contains up-to-date samples of everything that's possible with Command Palette.
14+
For the most up-to-date samples, check out [the samples project on GitHub](https://github.com/microsoft/PowerToys/tree/main/src/modules/cmdpal/ext/SamplePagesExtension). This contains up-to-date samples of everything that's possible with Command Palette.
1515

1616
## Create a command to do something
1717

hub/powertoys/command-palette/using-form-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can create a card in the Command Palette with the **IFormContent** interface
2121

2222
Adaptive card payloads can be created using the [Adaptive Card Designer](https://adaptivecards.io/designer/). You can design your card there, and then copy the JSON payload into your extension.
2323

24-
For a full example of using Forms and Content pages, head on over to [`SamplePagesExtension/Pages/SampleContentPage.cs`](https://github.com/microsoft/PowerToys/blob/main/src/modules/cmdpal/Exts/SamplePagesExtension/Pages/SampleContentPage.cs). Some brief things to note:
24+
For a full example of using Forms and Content pages, head on over to [`SamplePagesExtension/Pages/SampleContentPage.cs`](https://github.com/microsoft/PowerToys/blob/main/src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleContentPage.cs). Some brief things to note:
2525

2626
- Set the **TemplateJson** property of your form to the JSON payload of your Adaptive Card. (this is the "CARD PAYLOAD EDITOR" value in the Adaptive Card Designer)
2727
- Set the **DataJson** property of your **FormContent** to the data you want to use to fill in your card template. (This is the "SAMPLE DATA EDITOR" value in the Adaptive Card Designer). This is optional, but can make authoring cards easier.

0 commit comments

Comments
 (0)