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
Create text or image-based ads and have them run in multiple placements throughout your site. Randomize ads or select specific ads for specific placements. You can choose release and expiration dates for time-sensitive, scheduled content. Ads can be hyperlinked to any destination and open in the current window or a new window. Advertisements are displayed in the portal via two tables: The Ad Placement table and associated Ad table. Ads can be surfaced in many ways: with pre-made Liquid Templates available within portals via Liquid Templating/example Web Templates, or within the.aspx page via MVC actions.
@@ -97,11 +96,14 @@ The Ad Table has the following attributes:
97
96
| Open In New Window | Boolean. If set to true, the ad will open a new browser window when clicked. |
98
97
| Title | A single line of text for the ad which can be displayed on the portal. Whether it is displayed is determined by a property on the AdPlacement control. This is primarily useful for text-based ads or simple one-line links that you want to place on the portal by using ad placements. If the title is displayed, by default it will be rendered as a hyperlink that points to the Redirect URL. This behavior may be altered by using a custom [web template](../liquid/store-content-web-templates.md). |
99
98
| Copy | A multiple-line body of text or other web content that will be displayed in the ad placement. This allows the placement to be used in a similar way to content snippets, but it is best to avoid using them to serve simply as a bucket to hold content (use snippets for that). Instead, they are best used to display rotating image or textual content. |
100
-
| Image URL | The URL of the image that will be displayed by the ad. Optional; Use this field if you want the ad to render a static resource or a web file. The Image will be clickable and link to the redirect URL, if one is given. If an ad has a note attached to it with an image file attachment, the ad will render that as its image. This is possibly the most convenient way to set up images for ads, and ties the image directly to the ad. In this case, using the Image URL field is not necessary. |
99
+
| Image URL | The URL of the image that will be displayed by the ad. Optional; Use this field if you want the ad to render a static resource or a web file. The image will be clickable and link to the redirect URL, if one is given. If an ad has a note attached to it with an image file attachment, the ad will render that as its image. In this case, using the **Image URL** field is not necessary. See the note below regarding image attachments and the Power Platform CLI. |
101
100
| Image width | Width of the image. This field is not required but is recommended to ensure that the rendered ad is valid and accessible HTML |
102
101
| Image Height | Height of the image. This field is not required but is recommended to ensure that the rendered ad is valid and accessible HTML |
103
102
| Image Alt Text | Alt Text for the image. This field is not required but is recommended to ensure that the rendered ad is valid and accessible HTML. |
104
103
104
+
> [!IMPORTANT]
105
+
> Image file attachments to ad records are not downloaded using the [Power Platform CLI](../power-apps-cli.md). As a workaround, use the **Image URL** field, or by adding an HTML reference in the **Copy** field to a [web file](/web-files.md) record containing an image file.
Copy file name to clipboardExpand all lines: powerapps-docs/maker/portals/power-apps-cli.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: neerajnandwana-msft
5
5
6
6
ms.topic: conceptual
7
7
ms.custom:
8
-
ms.date: 07/27/2022
8
+
ms.date: 11/02/2022
9
9
ms.subservice: portals
10
10
ms.author: nenandw
11
11
ms.reviewer: ndoelman
@@ -234,9 +234,10 @@ Portals support for Microsoft Power Platform CLI is limited to the tables listed
234
234
:::row-end:::
235
235
236
236
> [!IMPORTANT]
237
-
> Custom tables and portal template-specific tables (such as
237
+
> -Custom tables and portal template-specific tables (such as
238
238
blog, community, or ideas portal) are not supported for customization using
239
-
Microsoft Power Platform CLI .
239
+
Microsoft Power Platform CLI.
240
+
> - Image file attachments to ad (adx_ad) records are not downloaded using the Power Platform CLI. As a workaround, use the **Image URL** field, or by adding an HTML reference in the **Copy** field to a [web file](/configure/web-files.md) record containing an image file.
240
241
241
242
## Install and verify Microsoft Power Platform CLI for portals
0 commit comments