Skip to content

Commit 5087658

Browse files
Merge branch 'main' into Nagesh-site-visibility-enforcement-date
2 parents c07ae6f + 49b36f6 commit 5087658

12 files changed

+823
-43
lines changed

powerapps-docs/developer/data-platform/org-service/samples/audit-entity-data-changes.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Sample: Audit table data changes (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample showcases how to audit table data changes" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.date: 04/03/2022
4+
ms.date: 12/08/2022
55
author: paulliew
66
ms.author: paulliew
77
manager: mayadu
@@ -19,7 +19,7 @@ contributors:
1919

2020
# Sample: Audit table data changes
2121

22-
This sample shows how to enable and disable auditing on a table and its columns, retrieve the data change history of the audited table, and delete the audit records. You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/dataverse/orgsvc/C%23/AuditEntityData).
22+
This sample shows how to enable and disable auditing on a table and its columns, retrieve the data change history of the audited table, and delete the audit records. You can view the sample [here](https://github.com/microsoft/PowerApps-Samples/tree/master/dataverse/orgsvc/C%23/AuditEntityData).
2323

2424
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
2525

@@ -29,7 +29,17 @@ This sample shows how to enable and disable auditing on a table and its columns,
2929

3030
## What this sample does
3131

32-
The `RetrieveRecordChangeHistoryRequest` message is intended to be used in a scenario where it contains data that is needed to retrieve the audit history for a table.
32+
This sample does the following:
33+
34+
1. Enable auditing for the organization and the account table if not already enabled.
35+
2. Create an account record.
36+
3. Use the `RetrieveRecordChangeHistory` message via the [RetrieveRecordChangeHistoryRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveRecordChangeHistoryRequest) to retrieve the history of the account record created in step 2.
37+
4. Display some of the details information in each audit record.
38+
5. Update the account record, updating a specific column.
39+
6. Retrieve the change history of the changed column using the `RetrieveAttributeChangeHistory` message with the [RetrieveAttributeChangeHistoryRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveAttributeChangeHistoryRequest).
40+
7. Display the attribute change history.
41+
8. Use the `RetrieveAuditDetails` message via the [RetrieveAuditDetailsRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveAuditDetailsRequest) to display some of the audit details.
42+
9. Return the environent auditing to the original state and delete the account record created.
3343

3444
## How this sample works
3545

@@ -38,13 +48,12 @@ In order to simulate the scenario described in [What this sample does](#what-thi
3848
### Setup
3949

4050
1. Checks for the current version of the org.
41-
2. Creates an sample account table.
51+
1. Enables auditing for the organization and account table if necessary.
52+
1. Creates an sample account record.
4253

4354
### Demonstrate
4455

45-
1. Gets the organization's ID from the system user record.
46-
2. Enabling auditing on organization and also on the sample account table.
47-
3. The `RetrieveRecordChangeHistoryRequest` retrieves the audit history for the account table and displays the result.
56+
Use of the `RetrieveRecordChangeHistory`, `RetrieveAttributeChangeHistory`, and `RetrieveAuditDetails` messages to show the kinds of data available through these auditing apis.
4857

4958
### Clean up
5059

powerapps-docs/maker/TOC.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
items:
248248
- name: Create an app from a template
249249
href: ./canvas-apps/get-started-test-drive.md
250-
- name: Create an app from a design (preview)
250+
- name: Create an app from a design
251251
items:
252252
- name: Express design overview
253253
href: ./canvas-apps/express-design.md
@@ -1967,9 +1967,19 @@
19671967
- name: Use Portal Checker
19681968
items:
19691969
- name: Run Portal Checker
1970-
href: ./portals/admin/portal-checker.md
1970+
href: ./portals/admin/portal-checker.md
19711971
- name: Analyze and resolve results
1972-
href: ./portals/admin/portal-checker-analysis.md
1972+
items:
1973+
- name: Cache invalidation issues
1974+
href: ./portals/admin/portal-checker-cache-invalidation.md
1975+
- name: Configuration issues
1976+
href: ./portals/admin/portal-checker-configuration-issues.md
1977+
- name: Performance issues
1978+
href: ./portals/admin/portal-checker-performance.md
1979+
- name: Portal start-up issues
1980+
href: ./portals/admin/portal-checker-startup-issue.md
1981+
- name: Provisioning issues
1982+
href: ./portals/admin/portal-checker-provisioning-issues.md
19731983
- name: Manage portal authentication key
19741984
href: ./portals/admin/manage-auth-key.md
19751985
- name: Restrict IP addresses

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Create a canvas app from an image (preview)
2+
title: Create a canvas app from an image
33
description: Learn about how to use your own designs saved in image formats and create canvas apps from them.
44
author: norliu
55
ms.topic: article
@@ -17,17 +17,12 @@ contributors:
1717
- tapanm-msft
1818
---
1919

20-
# Create a canvas app from an image (preview)
21-
22-
[This article is pre-release documentation and is subject to change.]
20+
# Create a canvas app from an image
2321

2422
The app making journey typically involve a design phase to plan out what the app should look like. Whether the design is based on an existing paper form, a whiteboard drawing, or even an image of a legacy app, it can take a considerable amount of time to build the app from scratch.
2523

2624
With the **Image to app** feature, you can now create an app from a visual design and connect it to data through a few simple steps in the guided interface. This feature makes it easy for makers of all skill levels to jumpstart the app development process.
2725

28-
> [!IMPORTANT]
29-
> - This is a preview feature.
30-
> - [!INCLUDE[cc_preview_features_definition](../../includes/cc-preview-features-definition.md)]
3126

3227
> [!NOTE]
3328
> - The styling of the components in the app, such as fonts and colors, will be based on the **Office Blue** theme in Power Apps.
@@ -47,7 +42,7 @@ With the **Image to app** feature, you can now create an app from a visual desig
4742

4843
:::image type="content" source="media/app-from-image/select-create.png" alt-text="Select Create from the left-pane":::
4944

50-
1. Select **Image (preview)**.
45+
1. Select **Image**.
5146

5247
:::image type="content" source="media/app-from-image/select-image.png" alt-text="Select Image (preview) from the available cards.":::
5348

powerapps-docs/maker/canvas-apps/create-edit-tables.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,8 @@ contributors:
1818
---
1919
# Create and edit tables using the table designer
2020

21-
[This article is pre-release documentation and is subject to change.]
22-
2321
Create and edit Dataverse tables in canvas apps using the table designer inside [Power Apps Studio](power-apps-studio.md). You can also work with the data that's in the table without leaving the app that you're working on.
2422

25-
> [!IMPORTANT]
26-
> This is a preview feature that is available for everyone to use.
27-
28-
2923
## Create a table
3024

3125
1. Open a [new](data-platform-create-app.md) or an [existing](edit-app.md) app in Power Apps Studio.

powerapps-docs/maker/canvas-apps/express-design.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Express design (preview)
2+
title: Express design
33
description: Learn about using the express design features such as creating apps from an image or a Figma design.
44
author: norliu
55
ms.topic: article
@@ -17,9 +17,7 @@ contributors:
1717
- tapanm-msft
1818
---
1919

20-
# Express design (preview)
21-
22-
[This article is pre-release documentation and is subject to change.]
20+
# Express design
2321

2422
Express design is a new way to quickly get started with Power Apps by instantly transforming your visual design into an app. With **Express design**, makers can quickly turn existing design artifacts—including paper forms, whiteboard sketches, or Figma files—directly into a working app.
2523

@@ -49,5 +47,5 @@ If you’re looking to generate a pixel-perfect app with exact styles that match
4947
5048
### See also
5149

52-
- [Create an app from an image (preview)](app-from-image.md)
50+
- [Create an app from an image](app-from-image.md)
5351
- [Create an app from Figma (preview)](figma/overview.md)

powerapps-docs/maker/portals/admin/portal-checker-analysis.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ contributors:
1818

1919
# Analyze and resolve Portal Checker diagnostics results
2020

21-
22-
[!INCLUDE[cc-pages-ga-banner](../../../includes/cc-pages-ga-banner.md)]
23-
2421
In this article, you'll learn about Portal Checker diagnostics results, and how to resolve any issues or problems found.
2522

2623
## An active Search site marker isn't available for this portal
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Cache invalidation
3+
description: Learn about Portal Checker diagnostics results for cache invalidation issues.
4+
author: neerajnandwana-msft
5+
6+
ms.topic: conceptual
7+
ms.custom:
8+
ms.date: 07/19/2022
9+
ms.subservice: portals
10+
ms.author: nenandw
11+
ms.reviewer: ndoelman
12+
contributors:
13+
- neerajnandwana-msft
14+
- nickdoelman
15+
- dileepsinghmicrosoft
16+
- ProfessorKendrick
17+
---
18+
19+
# Cache invalidation
20+
21+
In this article, you'll learn about Portal Checker diagnostics results for cache invalidation issues.
22+
23+
## Portal isn't displaying updated data from Microsoft Dataverse environment
24+
25+
Any data displayed on the portal is rendered from the portal cache. This cache gets updated whenever data in the Dataverse environment is updated. However, this process can take up to 15 minutes. If changes are made in the metadata table of the portal (for example, webpages, web files, content snippet, or site setting), it's recommended to clear the cache manually or restart the portal from the Power Apps portals admin center. For information on how to clear cache, see [Server-side cache in portals](clear-server-side-cache.md).
26+
27+
However, if you're seeing stale data for a long period of time in non-portal metadata tables, it could be because of one of the following issues.
28+
29+
### Tables not enabled for cache invalidation
30+
31+
If you're seeing stale data only for certain tables and not everything, this can be because the change tracking metadata isn't enabled on that specific table.
32+
33+
If you run the Portal Checker (self-service diagnostic) tool, it will list the Object Type Code of all the tables that are referenced on the portal that aren't enabled for change tracking. You can browse your metadata by following the steps outlined at [Browse the metadata for your organization](/dynamics365/customerengagement/on-premises/developer/browse-your-metadata).
34+
35+
If you're experiencing stale data issues in any of these tables, you can enable change tracking by using the Power Apps portals admin center UI or Dynamics 365 API. For more information, see [Enable change tracking for a table](/dynamics365/customerengagement/on-premises/developer/use-change-tracking-synchronize-data-external-systems#enable-change-tracking-for-an-entity).
36+
37+
### Organization not enabled for change tracking
38+
39+
Apart from each table being enabled for change tracking, organizations on the whole have to be enabled for change tracking as well. An organization is enabled for change tracking when a portal provisioning request is submitted. However, this can break if an organization is restored from an old database or reset. To fix this issue:
40+
41+
1. Open [Power Apps portals admin center](admin-overview.md).
42+
2. In the **Portal Details** tab, select **Off** from the **Portal State** list.
43+
3. Select **Update**.
44+
4. Select **On** from the **Portal State** list.
45+
5. Select **Update**.
46+
47+
### I'm getting a "Page Not Found" error and the page content is different from the default Page Not Found site marker or web page
48+
49+
You may see a *Page Not Found* error message that appears different from the default error page content on the **Page Not Found** site marker and webpage.
50+
51+
![Page Not Found.](media/page-not-found.png "Page Not Found")
52+
53+
This *Page Not Found* error appears if:
54+
55+
- The default **Page Not Found** site marker is configured incorrectly.
56+
- The default **Page Not Found** site marker is deleted.
57+
- The default **Page Not Found** webpage is deleted.
58+
59+
To resolve this error, ensure that you have the default site marker named **Page Not Found** present and configured correctly. If the site marker is present and correctly configured, check if the **Page Not Found** webpage is selected for the site marker or whether the **Page Not Found** webpage is present or not.
60+
61+
For steps to create a site marker for **Page Not Found**, go to [An active Page Not Found site marker isn't available for this portal](portal-checker-configuration-issues.md#an-active-page-not-found-site-marker-isnt-available-for-this-portal).
62+
63+
For steps to check site marker configuration and ensure it points to the correct webpage, go to [The Page Not Found site marker isn't pointing to any webpage](portal-checker-configuration-issues.md#the-page-not-found-site-marker-isnt-pointing-to-any-webpage).
64+
65+
For steps to change the site marker to point to the correct **Page Not Found** webpage, go to [The Page Not Found site marker is pointing to a deactivated webpage](portal-checker-configuration-issues.md#the-page-not-found-site-marker-is-pointing-to-a-deactivated-webpage).
66+
67+
### See also
68+
69+
[Run Portal Checker](portal-checker.md)

0 commit comments

Comments
 (0)