Skip to content

Commit c3bf5d4

Browse files
authored
Merge pull request #3688 from MicrosoftDocs/master
updating working
2 parents 24e7d14 + 93bef6d commit c3bf5d4

File tree

3 files changed

+52
-71
lines changed

3 files changed

+52
-71
lines changed

powerapps-docs/chart_on_form.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

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

Lines changed: 23 additions & 15 deletions
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: 06/18/2020
10+
ms.date: 10/29/2020
1111
ms.author: niwaggon
1212
search.audienceType:
1313
- maker
@@ -16,7 +16,7 @@ search.app:
1616
---
1717
# Connect to SharePoint from a canvas app
1818

19-
![SharePoint](./media/connection-sharepoint-online/sharepointicon.png)
19+
![SharePoint](./media/connection-sharepoint-online/sharepointicon.png "SharePoint")
2020

2121
Connect to a SharePoint site to generate an app automatically from a custom list, or create a connection before you add data to an existing app or build an app from scratch.
2222

@@ -37,39 +37,39 @@ If you want to manage data in a custom list, Power Apps can [generate a three-sc
3737
1. [Sign in to Power Apps](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), select **Data** > **Connections** in the left navigation bar, and then select **New connection** near the upper-left corner.
3838

3939
> [!div class="mx-imgBorder"]
40-
> ![Select Data > Connections in the left navigation bar, and then select New connection near the upper-left corner.](./media/connection-sharepoint-online/new-connection.png)
40+
> ![Select Data > Connections in the left navigation bar, and then select New connection near the upper-left corner.](./media/connection-sharepoint-online/new-connection.png "Create a connection")
4141
4242
1. In the search box near the upper-right corner, type or paste **SharePoint**, and then select **SharePoint**.
4343

4444
> [!div class="mx-imgBorder"]
45-
> ![In the search box near the upper-right corner, type or paste SharePoint, and then select SharePoint.](./media/connection-sharepoint-online/select-sharepoint.png)
45+
> ![In the search box near the upper-right corner, type or paste SharePoint, and then select SharePoint.](./media/connection-sharepoint-online/select-sharepoint.png "Select SharePoint")
4646
4747
1. Perform either of these sets of steps:
4848

4949
- To connect to SharePoint Online, select **Connect directly (cloud services)**, select **Create**, and then provide credentials (if prompted).
5050

5151
> [!div class="mx-imgBorder"]
52-
> ![To connect to SharePoint Online, select Connect directly (cloud services)](./media/connection-sharepoint-online/select-online.png)
52+
> ![To connect to SharePoint Online, select Connect directly (cloud services)](./media/connection-sharepoint-online/select-online.png "Connect to a site")
5353
5454
The connection is created, and you can add a data to an existing app or build an app from scratch.
5555

5656
- To connect to an on-premises site, select **Connect using on-premises data gateway**.
5757

5858
> [!div class="mx-imgBorder"]
59-
> ![To connect to on-premises site, select **Connect using on-premises data gateway)](./media/connection-sharepoint-online/select-onprem.png)
59+
> ![To connect to on-premises site, select **Connect using on-premises data gateway)](./media/connection-sharepoint-online/select-onprem.png "Create a connection to on-premises site")
6060
6161
Specify **Windows** as the authentication type, and then specify your credentials. (If your credentials include a ___domain name, specify it as *___domain\alias*.)
6262

6363
> [!div class="mx-imgBorder"]
64-
> ![Specify credentials](./media/connection-sharepoint-online/specify-creds.png)
64+
> ![Specify credentials](./media/connection-sharepoint-online/specify-creds.png "Specify credentials")
6565
6666
Under **Choose a gateway**, select the gateway that you want to use, and then select **Create**.
6767

6868
> [!NOTE]
6969
> If you don't have an on-premises data gateway installed, [install one](../gateway-reference.md), and then select the icon to refresh the list of gateways.
7070
7171
> [!div class="mx-imgBorder"]
72-
> ![Choose gateway](./media/connection-sharepoint-online/choose-gateway.png)
72+
> ![Choose gateway](./media/connection-sharepoint-online/choose-gateway.png "Choose gateway")
7373
7474
The connection is created, and you can add a data to an existing app or build an app from scratch.
7575

@@ -78,24 +78,24 @@ If you want to manage data in a custom list, Power Apps can [generate a three-sc
7878
1. In Power Apps Studio, open the app that you want to update, select the **View** tab, and then select **Data sources**.
7979

8080
> [!div class="mx-imgBorder"]
81-
> ![On the View tab, and then select Data sources](./media/connection-sharepoint-online/view-data-sources.png)
81+
> ![On the View tab, and then select Data sources](./media/connection-sharepoint-online/view-data-sources.png "Data sources")
8282
8383
1. In the **Data** pane, select **Add data source** > **SharePoint**.
8484

8585
1. Under **Connect to a SharePoint site**, select an entry in the **Recent sites** list (or type or paste the URL for the site that you want to use), and then select **Connect**.
8686

8787
> [!div class="mx-imgBorder"]
88-
> ![Select site](./media/connection-sharepoint-online/select-sp-site.png)
88+
> ![Select site](./media/connection-sharepoint-online/select-sp-site.png "Select site")
8989
9090
1. Under **Choose a list**, select the check box for **Documents** or one or more lists that you want to use, and then select **Connect**:
9191

9292
> [!div class="mx-imgBorder"]
93-
> ![Under Choose a list, select the check box for Documents or one or more lists that you want to use, and then select Connect](./media/connection-sharepoint-online/select-sp-tables.png)
93+
> ![Under Choose a list, select the check box for Documents or one or more lists that you want to use, and then select Connect](./media/connection-sharepoint-online/select-sp-tables.png "Select list")
9494
9595
Not all types of lists appear by default. Power Apps supports custom lists, not template-based lists. If the name of the list that you want to use doesn't appear, scroll to the bottom, and then type the name of the list in the box that contains **Enter custom table name**.
9696

9797
> [!div class="mx-imgBorder"]
98-
> ![Type the name of the list in the box that contains Enter a custom list name.](./media/connection-sharepoint-online/custom-list.png)
98+
> ![Type the name of the list in the box that contains Enter a custom list name.](./media/connection-sharepoint-online/custom-list.png "Enter name")
9999
100100
The data source or sources are added to your app.
101101

@@ -139,7 +139,7 @@ If you have several images in a SharePoint library, you can add a **Drop down**
139139
The file names of the images in your library appear in **ImageList**.
140140

141141
> [!div class="mx-imgBorder"]
142-
> ![List of images](./media/connection-sharepoint-online/dropdown-items.png)
142+
> ![List of images](./media/connection-sharepoint-online/dropdown-items.png "List of images")
143143
144144
1. Add an **Image** control, and set its **Image** property to this expression:
145145

@@ -150,7 +150,7 @@ If you have several images in a SharePoint library, you can add a **Drop down**
150150
The image that you specified appears.
151151

152152
> [!div class="mx-imgBorder"]
153-
> ![Sample image](./media/connection-sharepoint-online/golden-honey.png)
153+
> ![Image list](./media/connection-sharepoint-online/golden-honey.png "Image list")
154154
155155
You can [download a sample app](https://pwrappssamples.blob.core.windows.net/samples/spdoclib_blogapp.msapp) that demonstrates a more complex approach to showing data from a SharePoint library.
156156

@@ -168,7 +168,7 @@ In this one-screen app, the list in the lower-left corner shows all files in you
168168
When you find the file that you want, select it to show it in the **Video**, **Image**, or **Audio** control along the right-hand side.
169169

170170
> [!div class="mx-imgBorder"]
171-
> ![Sample image](./media/connection-sharepoint-online/library-app.png)
171+
> ![Sample image](./media/connection-sharepoint-online/library-app.png "Sample image")
172172
173173
## Known issues
174174

@@ -206,6 +206,14 @@ Not all types of columns are supported, and not all types of columns support all
206206
- Power Apps Mobile doesn't support the **Download** function.
207207
- If your users will run the app in Power Apps Mobile or the Windows 10 app, use the **Launch** function to display library content in a gallery.
208208

209+
### SharePoint document library images render intermittently
210+
211+
SharePoint lists with links to images stored in SharePoint document libraries may fail to render inside Power Apps with authentication errors.
212+
213+
Power Apps connections to SharePoint are made to an explicitly identified list, and not to a SharePoint site in general. Power Apps will try to resolve an external link to an external source. Rendering such images succeeds if there's no authentication required, or if the user has previously authenticated to the referenced SharePoint site. However, it's common that the Power Apps users on mobile devices may not have previously authenticated to the referenced SharePoint site for images. Using links to refer to images from SharePoint document libraries in this scenario may not succeed. This behavior applies even if a separate connection exists for the document library inside the app.
214+
215+
As a solution for such scenarios, store images on a CORS-enabled source such as [Azure Storage](https://docs.microsoft.com/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services), or a CDN service such as [Azure CDN](https://docs.microsoft.com/azure/cdn/cdn-cors) that allows anonymous access.
216+
209217
## Next steps
210218

211219
- Learn how to [show data from a data source](../add-gallery.md).

0 commit comments

Comments
 (0)