You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/signals.md
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ All signals return a [record](../working-with-tables.md#records) of information.
26
26
### Acceleration
27
27
The **Acceleration** signal returns the device's acceleration in three dimensions relative to the device's screen. Acceleration is measured in *g* units of 9.81 m/second<sup>2</sup> or 32.2 ft/second<sup>2</sup> (the acceleration that the Earth imparts to objects at its surface due to gravity).
28
28
29
-
|Signal Property | Description |
29
+
| Property | Description |
30
30
| --- | --- |
31
31
|**Acceleration.X**|Right and left. Right is a positive number. |
32
32
|**Acceleration.Y**|Forward and back. Forward is a positive number. |
@@ -35,21 +35,33 @@ The **Acceleration** signal returns the device's acceleration in three dimension
35
35
### App
36
36
The **App** signal returns information about the running app.
37
37
38
-
|Signal Property | Description |
38
+
| Property | Description |
39
39
| --- | --- |
40
40
|**App.ActiveScreen**|Screen that's displayed. Returns a screen object, which you can use to reference properties of the screen or compare to another screen to determine which screen is displayed. By using the **[Back](function-navigate.md)** or **[Navigate](function-navigate.md)** function, you can change the displayed screen. |
41
41
42
+
The **App** object also has a [behavior formula](../working-with-formulas-in-depth.md) that you can set.
43
+
44
+
| Property | Description |
45
+
| --- | --- |
46
+
|**OnStart**| The behavior of the app when the user starts it. This property is commonly used to retrieve and cache data into collections with the **[Collect](function-clear-collect-clearcollect.md)** function, set up variables with the **[Set](function-set.md)** function, and navigate to an initial screen with the **[Navigate](function-navigate.md)** function. This formula is evaluated before the first screen appears. No screen is loaded, so you can't set context variables with the **[UpdateContext](function-updatecontext.md)** function. However, you can pass context variables with the **Navigate** function. |
47
+
48
+
The **App** object appears at the top of the hierarchical list of controls in the left navigation pane, and you can select this object like a control on a screen. After you select the object, you can view and edit one of its properties if you select that property in the drop-down list to the left of the formula bar.
49
+
50
+
After you change the **OnStart** property, you can test it by hovering over the **App** object in the left navigation pane, selecting the ellipsis (...) that appears, and then selecting **Run OnStart**. Unlike when the app is loaded for the first time, existing collections and variables will already be set. Use the **[ClearCollect](function-clear-collect-clearcollect.md)** function instead of the **Collect** function to start with empty collections.
51
+
52
+

53
+
42
54
### Compass
43
55
The **Compass** signal returns the compass heading of the top of the screen. The heading is based on magnetic north.
44
56
45
-
|Signal Property | Description |
57
+
| Property | Description |
46
58
| --- | --- |
47
59
|**Compass.Heading**|Heading in degrees. Returns a number 0 to 360, and 0 is north. |
48
60
49
61
### Connection
50
62
The **Connection** signal returns the information about the network connection. When on a metered connection, you may want to limit how much data you send or receive over the network.
51
63
52
-
|Signal Property | Description |
64
+
| Property | Description |
53
65
| --- | --- |
54
66
|**Connection.Connected**|Returns a Boolean **true** or **false** value that indicates whether the device is connected to a network. |
55
67
|**Connection.Metered**|Returns a Boolean **true** or **false** value that indicates whether the connection is metered. |
@@ -61,7 +73,7 @@ When a user accesses the ___location information for the first time, the device may
61
73
62
74
As the ___location changes, dependencies on the ___location will continuously recalculate, which will consume power from the device's battery. To conserve battery life, you can use the **[Enable](function-enable-disable.md)** and **[Disable](function-enable-disable.md)** functions to turn ___location updates on and off. Location is automatically turned off if the displayed screen doesn't depend on ___location information.
63
75
64
-
|Signal Property | Description |
76
+
| Property | Description |
65
77
| --- | --- |
66
78
|**Location.Altitude**|Returns a number that indicates the altitude, measured in feet, above sea level. |
67
79
|**Location.Latitude**|Returns a number, from -90 to 90, that indicates the latitude, as measured in degrees from the equator. A positive number indicates a ___location that's north of the equator. |
Copy file name to clipboardExpand all lines: powerapps-docs/maker/common-data-service/common-issues-resolutions-solution-checker.md
+21-3Lines changed: 21 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Common issues and resolutions for Solution Checker | Microsoft Docs"# Intent and product brand in a unique string of 43-59 chars including spaces"
3
3
description: " A list of common issues and resolutions within Solution Checker"
4
4
keywords: ""
5
-
ms.date: 01/28/2019
5
+
ms.date: 02/11/2019
6
6
ms.service:
7
7
- "powerapps"
8
8
ms.custom:
@@ -64,6 +64,24 @@ To address this issue, check or create smaller solutions to be analyzed. To mini
64
64
- When you add HTML web resources, include any dependent scripts that are defined within the HTML web resource.
65
65
- When you add custom workflows, include the assembly used within the workflow.
66
66
67
+
## Solution Checker run or download results don't complete
68
+
Shortly after running Solution Checker the operation doesn't commplete and the following message is displayed:<br />
69
+
"We weren't able to run the check on *SOLUTIONNAME* Solution. Try running it again." <br />
70
+

71
+
72
+
This issue occurs because the organization is in the **administration mode** state and Solution Checker is unable to validate the user's permissions executing the request. To resolve this issue, disable administration mode.
73
+
74
+
### Disable administration mode for an instance
75
+
1. Access the Dynamics 365 for Customer Engagement instance picker: https://port.crm.dynamics.com/G/Instances/InstancePicker.aspx.
76
+
2. Select the instance that has issues running Solution Checker.
## Solution Checker will not process patched solutions
68
86
69
87
If a solution has had a [patch](https://docs.microsoft.com/powerapps/developer/common-data-service/create-patches-simplify-solution-updates) applied, Solution Checker will fail to export the solution for analysis. When a solution has had a patch applied, the original solution becomes locked and it can’t be changed or exported as long as there are dependent patches that exist in the organization that identify the solution as the parent solution.
@@ -74,9 +92,9 @@ To address this issue, clone the solution so that all patches related to the sol
74
92
75
93
When HTML web resources are processed within Solution Checker, the HTML web resource is processed separately than the JavaScript within the HTML web resource. Due to this, the line number of the violation found within `<script>` of the HTML web resource will not be correct.
76
94
77
-
## JS1001 syntax issue for web resources
95
+
## Web-unsupported-syntax issue for web resources
78
96
79
-
ECMAScript 6 (2015) or later versions are not currently supported. When Solution Checker analyzes JavaScript using ECMAScript 6 or later, a JS1001 syntax issue for the web resource is reported.
97
+
ECMAScript 6 (2015) or later versions are not currently supported for Solution Checker. When Solution Checker analyzes JavaScript using ECMAScript 6 or later, a web-supported-syntax issue for the web resource is reported.
80
98
81
99
## See also
82
100
[Best practices and guidance for the Common Data Service for Apps](../../developer/common-data-service/best-practices/index.md)<br />
0 commit comments