Skip to content

Commit fa26bcb

Browse files
authored
Merge pull request MicrosoftDocs#3032 from MicrosoftDocs/canvasapp-1884974
Canvas app issue 1458 fix - RequestHide() - 1884974
2 parents 0b4bdb5 + 42172b4 commit fa26bcb

21 files changed

+149
-32
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,8 @@
721721
href: ./canvas-apps/functions/function-form.md
722722
- name: Revert
723723
href: ./canvas-apps/functions/function-revert.md
724+
- name: RequestHide
725+
href: ./canvas-apps/functions/function-requesthide.md
724726
- name: RGBA
725727
href: ./canvas-apps/functions/function-colors.md
726728
- name: Right

powerapps-docs/maker/canvas-apps/app-from-sharepoint.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: conceptual
88
ms.custom: canvas
99
ms.reviewer:
10-
ms.date: 12/05/2019
10+
ms.date: 06/18/2020
1111
ms.author: tapanm
1212
search.audienceType:
1313
- maker
@@ -97,3 +97,7 @@ In this topic, you created an app to manage data in a SharePoint list. As a next
9797

9898
> [!div class="nextstepaction"]
9999
> [Customize a default browse screen](customize-layout-sharepoint.md)
100+
101+
### See also
102+
103+
- [SharePoint integration scenarios](sharepoint/scenarios-intro.md)

powerapps-docs/maker/canvas-apps/connections/connection-sharepoint-online.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: reference
88
ms.custom: canvas
99
ms.reviewer: tapanm
10-
ms.date: 04/03/2019
10+
ms.date: 06/18/2020
1111
ms.author: niwaggon
1212
search.audienceType:
1313
- maker
@@ -210,3 +210,7 @@ Not all types of columns are supported, and not all types of columns support all
210210
- Learn how to [show data from a data source](../add-gallery.md).
211211
- Learn how to [view details and create or update records](../add-form.md).
212212
- See other types of [data sources](../connections-list.md) to which you can connect.
213+
214+
### See also
215+
216+
- [SharePoint integration scenarios](../sharepoint/scenarios-intro.md)

powerapps-docs/maker/canvas-apps/customize-forms-sharepoint.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: conceptual
88
ms.custom: canvas
99
ms.reviewer:
10-
ms.date: 03/17/2018
10+
ms.date: 06/18/2020
1111
ms.author: tapanm
1212
search.audienceType:
1313
- maker
@@ -118,4 +118,8 @@ If you're unfamiliar with canvas-pps, see [What are canvas apps?](getting-starte
118118
## Next steps
119119

120120
- [Save and publish](save-publish-app.md) your app.
121-
- [Customize a card](customize-card.md) in your app.
121+
- [Customize a card](customize-card.md) in your app.
122+
123+
### See also
124+
125+
- [SharePoint integration scenarios](sharepoint/scenarios-intro.md)

powerapps-docs/maker/canvas-apps/customize-layout-sharepoint.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: tutorial
88
ms.custom: canvas
99
ms.reviewer:
10-
ms.date: 05/06/2018
10+
ms.date: 06/18/2020
1111
ms.author: tapanm
1212
search.audienceType:
1313
- maker
@@ -144,3 +144,7 @@ In this tutorial, you've customized the gallery and made other changes to the de
144144

145145
> [!div class="nextstepaction"]
146146
> [Customize forms](customize-forms-sharepoint.md)
147+
148+
### See also
149+
150+
- [SharePoint integration scenarios](sharepoint/scenarios-intro.md)

powerapps-docs/maker/canvas-apps/customize-list-form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ You can configure the **Price**, **Availability**, and **Colors** fields to appe
204204

205205
**A:** If you're a tenant administrator for Power Apps or you have environment-administrator permissions on the default Power Apps environment of your organization, do the following:
206206

207-
1. In the [Power Apps admin center](https://admin.powerapps.com), select the default environment for your organization from the list of environments.
207+
1. In the [Power Apps admin center](https://admin.powerplatform.microsoft.com), select the default environment for your organization from the list of environments.
208208

209209
1. At the top of the default environment page, select **Resources**.
210210

powerapps-docs/maker/canvas-apps/formula-reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ Other elements include:
282282

283283
**[Replace](functions/function-replace-substitute.md)** – Replaces part of a string with another string, by starting position of the string.
284284

285+
**[RequestHide](functions/function-requesthide.md)** – Hides a SharePoint form.
286+
285287
**[Reset](functions/function-reset.md)** – Resets an input control to its default value, discarding any user changes.
286288

287289
**[ResetForm](functions/function-form.md)** – Resets a form control for editing of an existing item.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: RequestHide function | Microsoft Docs
3+
description: Reference information, including syntax and examples, for the RequestHide function in Power Apps
4+
author: emcoope-msft
5+
manager: kvivek
6+
ms.service: powerapps
7+
ms.topic: reference
8+
ms.custom: canvas
9+
ms.reviewer: tapanm
10+
ms.date: 06/18/2020
11+
ms.author: emcoope
12+
search.audienceType:
13+
- maker
14+
search.app:
15+
- PowerApps
16+
---
17+
18+
# RequestHide function in Power Apps
19+
20+
Hides the [SharePoint form](../sharepoint-form-integration.md#understand-the-sharepointintegration-control).
21+
22+
>[!NOTE]
23+
> Only works with [SharePoint forms](../sharepoint-form-integration.md).
24+
25+
## Description
26+
27+
Use the **RequestHide** function to hide the SharePoint form. By default, RequestHide() is used for the *OnSuccess* property of a SharePoint form being customized.
28+
29+
![RequestHide example](media/function-requesthide/requesthide-fuction.png)
30+
31+
### Considerations
32+
33+
- Not required when using **SharePointIntegration** control actions such as **OnCancel** as SharePoint by default hides the form when a user selects **Cancel**, and the function only reacts to a SharePoint form.
34+
- When using **RequestHide()** outside the context of a **SharePointIntegration** control, such as **OnSelect** for a button, won't return a formula error and the button **OnSelect** won't have any effect.
35+
36+
## Syntax
37+
38+
**RequestHide** ( )
39+
40+
* No parameters.
41+
42+
## Examples
43+
44+
| Formula | Description |
45+
| --- | --- |
46+
| **RequestHide()** | Hides the form. |
19.3 KB
Loading

powerapps-docs/maker/canvas-apps/sharepoint-form-integration.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: conceptual
88
ms.custom: canvas
99
ms.reviewer: tapanm
10-
ms.date: 11/11/2017
10+
ms.date: 06/18/2020
1111
ms.author: niwaggon
1212
search.audienceType:
1313
- maker
@@ -68,7 +68,7 @@ These defaults ensure that the form works when running within SharePoint - they
6868
## Understand the SharePointIntegration control
6969
The **SharePointIntegration** control communicates user actions between SharePoint and Power Apps.
7070

71-
![](./media/sharepoint-form-integration/sharepointintegration-object.png)
71+
![SharePoint integration object](./media/sharepoint-form-integration/sharepointintegration-object.png)
7272

7373
>[!NOTE]
7474
>You can access the properties for the **SharePointIntegration** control only when the form is running in SharePoint, not when you're customizing the form in Power Apps Studio. These properties may not be available in **OnStart** or **OnVisible**.
@@ -106,3 +106,9 @@ Now that you have a better understanding of the default generated form and the *
106106
* You can't control the hiding of a form when a user clicks or taps **Cancel** in SharePoint, so make sure you reset your forms in the **OnCancel** formula of the **SharePointIntegration** control.
107107

108108
* The properties for the **SharePointIntegration** control may not be available in **OnStart** or **OnVisible**, and those events execute only once while the list is loaded. You can use **OnNew**, **OnView**, or **OnEdit** formulas to run logic before the form is shown to the user every time.
109+
110+
### See also
111+
112+
- EditForm, NewForm, SubmitForm, ResetForm, and ViewForm functions - [form functions in Power Apps](functions/function-form.md)
113+
- [RequestHide function](functions/function-requesthide.md)
114+
- [SharePoint integration scenarios](sharepoint/scenarios-intro.md)

0 commit comments

Comments
 (0)