Skip to content

Commit 8d58b2a

Browse files
committed
Draft
1 parent e011889 commit 8d58b2a

File tree

4 files changed

+51
-1
lines changed

4 files changed

+51
-1
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,8 @@
711711
href: ./canvas-apps/functions/function-form.md
712712
- name: Revert
713713
href: ./canvas-apps/functions/function-revert.md
714+
- name: RequestHide
715+
href: ./canvas-apps/functions/function-requesthide.md
714716
- name: RGBA
715717
href: ./canvas-apps/functions/function-colors.md
716718
- name: Right

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

Lines changed: 3 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: 05/20/2020
10+
ms.date: 06/18/2020
1111
ms.author: gregli
1212
search.audienceType:
1313
- maker
@@ -276,6 +276,8 @@ Other elements include:
276276

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

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

281283
**[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

0 commit comments

Comments
 (0)