Skip to content

Commit 18d51a4

Browse files
authored
Merge pull request #239472 from MicrosoftDocs/repo_sync_working_branch
Resolve syncing conflicts from repo_sync_working_branch to main
2 parents d63a599 + 86df61e commit 18d51a4

16 files changed

+52
-21
lines changed

articles/active-directory-b2c/claimsschema.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The **DataType** element supports the following values:
6868
|boolean|Represents a Boolean (`true` or `false`) value.|
6969
|date| Represents an instant in time, typically expressed as a date of a day. The value of the date follows ISO 8601 convention.|
7070
|dateTime|Represents an instant in time, typically expressed as a date and time of day. The value of the date follows ISO 8601 convention during runtime and is converted to UNIX epoch time when issued as a claim into the token.|
71-
|duration|Represents a time interval in years, months, days, hours, minutes, and seconds. The format of is `PnYnMnDTnHnMnS`, where `P` indicates positive, or `N` for negative value. `nY` is the number of years followed by a literal `Y`. `nMo` is the number of months followed by a literal `Mo`. `nD` is the number of days followed by a literal `D`. Examples: `P21Y` represents 21 years. `P1Y2Mo` represents one year, and two months. `P1Y2Mo5D` represents one year, two months, and five days. `P1Y2M5DT8H5M620S` represents one year, two months, five days, eight hours, five minutes, and twenty seconds. |
71+
|duration|Represents a time interval in years, months, days, hours, minutes, and seconds. The format of is `PnYnMnDTnHnMnS`, where `P` indicates positive, or `N` for negative value. `nY` is the number of years followed by a literal `Y`. `nMo` is the number of months followed by a literal `Mo`. `nD` is the number of days followed by a literal `D`. Examples: `P21Y` represents 21 years. `P1Y2Mo` represents one year, and two months. `P1Y2Mo5D` represents one year, two months, and five days. `P1Y2M5DT8H5M20S` represents one year, two months, five days, eight hours, five minutes, and twenty seconds. |
7272
|phoneNumber|Represents a phone number. |
7373
|int| Represents number between -2,147,483,648 and 2,147,483,647|
7474
|long| Represents number between -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
@@ -251,7 +251,7 @@ The **UserInputType** element available user input types:
251251
|Password | `string` |Password text box.|
252252
|RadioSingleSelect |`string` | Collection of radio buttons. The claim value is the selected value.|
253253
|Readonly | `boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`| Read-only text box. |
254-
|TextBox |`boolean`, `int`, `string` |Single-line text box. |
254+
|TextBox |`boolean`, `int`, `phoneNumber`, `string` |Single-line text box. |
255255

256256

257257
#### TextBox

articles/active-directory-b2c/embedded-login.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ The **Sources** attribute contains the URI of your web application. Add a space
7373
- The URI must be trusted and owned by your application.
7474
- The URI must use the https scheme.
7575
- The full URI of the web app must be specified. Wildcards are not supported.
76+
- The **JourneyFraming** element only allows site URLs with a **two to seven-character** Top-level domain (TLD) to align with commonly recognized TLDs.
7677

7778
In addition, we recommend that you also block your own domain name from being embedded in an iframe by setting the `Content-Security-Policy` and `X-Frame-Options` headers respectively on your application pages. This will mitigate security concerns around older browsers related to nested embedding of iframes.
7879

articles/active-directory-b2c/enable-authentication-angular-spa-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const b2cPolicies = {
107107
export const msalConfig: Configuration = {
108108
auth: {
109109
clientId: '<your-MyApp-application-ID>',
110-
authority: b2cPolicies.authorities.signUpSignIn,
110+
authority: b2cPolicies.authorities.signUpSignIn.authority,
111111
knownAuthorities: [b2cPolicies.authorityDomain],
112112
redirectUri: '/',
113113
},

articles/active-directory-b2c/language-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ You configure localized resources elements for the content definition and any la
285285
<LocalizedString ElementType="UxElement" StringId="local_intro_email">#Iniciar sesión con su cuenta existente</LocalizedString>
286286
<LocalizedString ElementType="UxElement" StringId="invalid_email">#Escriba una dirección de correo electrónico válida</LocalizedString>
287287
<LocalizedString ElementType="UxElement" StringId="unknown_error">#Tenemos problemas para iniciar su sesión. Vuelva a intentarlo más tarde. </LocalizedString>
288-
<LocalizedString ElementType="UxElement" StringId="email_pattern">^[a-zA-Z0-9.!#$%&amp;'^_`{}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$</LocalizedString>
288+
<LocalizedString ElementType="UxElement" StringId="email_pattern">^[a-zA-Z0-9.!#$%&amp;'^_`\{\}~\-]+@[a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*$</LocalizedString>
289289
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidPassword">#Su contraseña es incorrecta.</LocalizedString>
290290
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsPrincipalDoesNotExist">#Parece que no podemos encontrar su cuenta.</LocalizedString>
291291
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfOldPasswordUsed">#Parece que ha usado una contraseña antigua.</LocalizedString>

articles/active-directory-b2c/localization-string-ids.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following IDs are used for a content definition with an ID of `api.signupors
3636
| `logonIdentifier_email` | Email Address | `< 2.0.0` |
3737
| `requiredField_email` | Please enter your email | `< 2.0.0` |
3838
| `invalid_email` | Please enter a valid email address | `< 2.0.0` |
39-
| `email_pattern` | ```^[a-zA-Z0-9.!#$%&''\*+/=?^\_\`{\|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)\*$``` | `< 2.0.0` |
39+
| `email_pattern` | ```^[a-zA-Z0-9.!#$%&'*+\/=?^_`\{\|\}~\-]+@[a-zA-Z0-9\-]+(?:\\.[a-zA-Z0-9\-]+)\*$``` | `< 2.0.0` |
4040
| `local_intro_username` | Sign in with your user name | `< 2.0.0` |
4141
| `logonIdentifier_username` | Username | `< 2.0.0` |
4242
| `requiredField_username` | Please enter your user name | `< 2.0.0` |
@@ -178,6 +178,7 @@ The following IDs are used for a content definition having an ID of `api.localac
178178
| `alert_message` | Are you sure that you want to cancel entering your details? |
179179
| `ver_intro_msg` | Verification is necessary. Please click Send button. |
180180
| `ver_input` | Verification code |
181+
| `required_field_descriptive` | {0} is required |
181182

182183
### Sign-up and self-asserted pages disclaimer links
183184

@@ -240,6 +241,7 @@ The following example shows the use of some of the user interface elements in th
240241
<LocalizedString ElementType="UxElement" StringId="initial_intro">Please provide the following details.</LocalizedString>
241242
<LocalizedString ElementType="UxElement" StringId="preloader_alt">Please wait</LocalizedString>
242243
<LocalizedString ElementType="UxElement" StringId="required_field">This information is required.</LocalizedString>
244+
<LocalizedString ElementType="UxElement" StringId="required_field_descriptive">{0} is required</LocalizedString>
243245
<LocalizedString ElementType="UxElement" StringId="ver_but_edit">Change e-mail</LocalizedString>
244246
<LocalizedString ElementType="UxElement" StringId="ver_but_resend">Send new code</LocalizedString>
245247
<LocalizedString ElementType="UxElement" StringId="ver_but_send">Send verification code</LocalizedString>

articles/active-directory-b2c/troubleshoot-with-application-insights.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To create an instance of Application Insights in your subscription, follow these
7272
UserJourneyRecorderEndpoint="urn:journeyrecorder:applicationinsights"
7373
```
7474

75-
1. If it doesn't already exist, add a `<UserJourneyBehaviors>` child node to the `<RelyingParty>` node. It must be located after `<DefaultUserJourney ReferenceId="UserJourney Id" from your extensions policy, or equivalent (for example:SignUpOrSigninWithAAD" />`.
75+
1. If it doesn't already exist, add a `<UserJourneyBehaviors>` child node to the `<RelyingParty>` node. It must be located after `<DefaultUserJourney ReferenceId="UserJourney Id" from your extensions policy, or equivalent (for example:SignUpOrSigninWithAAD" />`. See [RelyingParty schema reference](./relyingparty.md) for a complete order of the **RelyingParty** child elements.
7676
1. Add the following node as a child of the `<UserJourneyBehaviors>` element. Make sure to replace `{Your Application Insights Key}` with the Application Insights **Instrumentation Key** that you recorded earlier.
7777

7878
```xml
@@ -96,6 +96,10 @@ To create an instance of Application Insights in your subscription, follow these
9696
...
9797
<RelyingParty>
9898
<DefaultUserJourney ReferenceId="UserJourney ID from your extensions policy, or equivalent (for example: SignUpOrSigninWithAzureAD)" />
99+
<Endpoints>
100+
<!--points to refresh token journey when app makes refresh token request-->
101+
<Endpoint Id="Token" UserJourneyReferenceId="RedeemRefreshToken" />
102+
</Endpoints>
99103
<UserJourneyBehaviors>
100104
<JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="{Your Application Insights Key}" DeveloperMode="true" ClientEnabled="false" ServerEnabled="true" TelemetryVersion="1.0.0" />
101105
</UserJourneyBehaviors>

articles/azure-maps/drawing-tools-events.md

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Drawing tool events | Microsoft Azure Maps
33
description: This article demonstrates how to add a drawing toolbar to a map using Microsoft Azure Maps Web SDK
4-
author: brendansco
5-
ms.author: Brendanc
6-
ms.date: 12/05/2019
4+
author: dubiety
5+
ms.author: yuchungchen
6+
ms.date: 05/23/2023
77
ms.topic: conceptual
88
ms.service: azure-maps
99
services: azure-maps
@@ -22,16 +22,21 @@ When using drawing tools on a map, it's useful to react to certain events as the
2222
| `drawingmodechanged` | Fired when the drawing mode has changed. The new drawing mode is passed into the event handler. |
2323
| `drawingstarted` | Fired when the user starts drawing a shape or puts a shape into edit mode. |
2424

25-
The following code shows how the events in the Drawing Tools module work. Draw shapes on the map and watch as the events fire.
25+
For a complete working sample of how to display data from a vector tile source on the map, see [Drawing tool events] in the [Azure Maps Samples]. In this sample you can draw shapes on the map and watch as the events fire.
2626

27+
The following image shows a screenshot of the complete working sample that demonstrates how the events in the Drawing Tools module work.
28+
29+
:::image type="content" source="./media/drawing-tools-events/drawing-tools-events.png" alt-text="Screenshot showing a map displaying data from a vector tile source.":::
30+
31+
<!------------------------------------------------------------------
2732
<br/>
2833
2934
<iframe height="500" scrolling="no" title="Drawing tools events" src="https://codepen.io/azuremaps/embed/dyPMRWo?height=500&theme-id=default&default-tab=js,result&editable=true" frameborder='no' loading="lazy" allowtransparency="true" allowfullscreen="true">
3035
See the Pen <a href='https://codepen.io/azuremaps/pen/dyPMRWo'>Drawing tools events</a> by Azure Maps
3136
(<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
3237
</iframe>
3338
34-
<br/>
39+
-------------------------------------------------------------------->
3540

3641
## Examples
3742

@@ -41,40 +46,50 @@ Let's see some common scenarios that use the drawing tools events.
4146

4247
This code demonstrates how to monitor an event of a user drawing shapes. For this example, the code monitors shapes of polygons, rectangles, and circles. Then, it determines which data points on the map are within the drawn area. The `drawingcomplete` event is used to trigger the select logic. In the select logic, the code loops through all the data points on the map. It checks if there's an intersection of the point and the area of the drawn shape. This example makes use of the open-source [Turf.js](https://turfjs.org/) library to perform a spatial intersection calculation.
4348

49+
For a complete working sample of how to use the drawing tools to draw polygon areas on the map with points within them that can be selected, see [Select data in drawn polygon area] in the [Azure Maps Samples].
50+
51+
:::image type="content" source="./media/drawing-tools-events/select-data-in-drawn-polygon-area.png" alt-text="Screenshot showing a map displaying points within polygon areas.":::
52+
53+
<!-------------------------------------------------------------------
4454
<br/>
4555
4656
<iframe height="500" scrolling="no" title="Select data in drawn polygon area" src="https://codepen.io/azuremaps/embed/XWJdeja?height=500&theme-id=default&default-tab=result" frameborder='no' loading="lazy" allowtransparency="true" allowfullscreen="true">
4757
See the Pen <a href='https://codepen.io/azuremaps/pen/XWJdeja'>Select data in drawn polygon area</a> by Azure Maps
4858
(<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
4959
</iframe>
50-
51-
<br/>
60+
---------------------------------------------------------------->
5261

5362
### Draw and search in polygon area
5463

5564
This code searches for points of interests inside the area of a shape after the user finished drawing the shape. You can modify and execute the code by clicking 'Edit on Code pen' on the top-right corner of the frame. The `drawingcomplete` event is used to trigger the search logic. If the user draws a rectangle or polygon, a search inside geometry is performed. If a circle is drawn, the radius and center position is used to perform a point of interest search. The `drawingmodechanged` event is used to determine when the user switches to the drawing mode, and this event clears the drawing canvas.
5665

66+
For a complete working sample of how to use the drawing tools to search for points of interests within drawn areas, see [Draw and search polygon area] in the [Azure Maps Samples].
67+
68+
:::image type="content" source="./media/drawing-tools-events/draw-and-search-polygon-area.png" alt-text="Screenshot showing a map displaying the Draw and search in polygon area sample.":::
69+
70+
<!-------------------------------------------------------------------
5771
<br/>
5872
5973
<iframe height="500" scrolling="no" title="Draw and search in polygon area" src="https://codepen.io/azuremaps/embed/eYmZGNv?height=500&theme-id=default&default-tab=js,result&editable=true" frameborder='no' loading="lazy" allowtransparency="true" allowfullscreen="true">
6074
See the Pen <a href='https://codepen.io/azuremaps/pen/eYmZGNv'>Draw and search in polygon area</a> by Azure Maps
6175
(<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
6276
</iframe>
63-
64-
<br/>
77+
---------------------------------------------------------------->
6578

6679
### Create a measuring tool
6780

6881
The following code shows how the drawing events can be used to create a measuring tool. The `drawingchanging` is used to monitor the shape, as it's being drawn. As the user moves the mouse, the dimensions of the shape are calculated. The `drawingcomplete` event is used to do a final calculation on the shape after it has been drawn. The `drawingmodechanged` event is used to determine when the user is switching into a drawing mode. Also, the `drawingmodechanged` event clears the drawing canvas and clears old measurement information.
6982

70-
<br/>
83+
For a complete working sample of how to use the drawing tools to measure distances and areas, see [Create a measuring tool] in the [Azure Maps Samples].
7184

85+
:::image type="content" source="./media/drawing-tools-events/create-a-measuring-tool.png" alt-text="Screenshot showing a map displaying the measuring tool sample.":::
86+
87+
<!-------------------------------------------------------------------
7288
<iframe height="500" scrolling="no" title="Measuring tool" src="https://codepen.io/azuremaps/embed/RwNaZXe?height=500&theme-id=default&default-tab=js,result&editable=true" frameborder='no' loading="lazy" allowtransparency="true" allowfullscreen="true">
7389
See the Pen <a href='https://codepen.io/azuremaps/pen/RwNaZXe'>Measuring tool</a> by Azure Maps
7490
(<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
7591
</iframe>
76-
77-
<br/>
92+
---------------------------------------------------------------->
7893

7994
## Next steps
8095

@@ -95,3 +110,9 @@ Check out more code samples:
95110

96111
> [!div class="nextstepaction"]
97112
> [Code sample page](https://aka.ms/AzureMapsSamples)
113+
114+
[Azure Maps Samples]:https://samples.azuremaps.com
115+
[Drawing tool events]: https://samples.azuremaps.com/?search=Drawing%20tool&sample=drawing-tools-events
116+
[Select data in drawn polygon area]:https://samples.azuremaps.com/?search=Drawing%20tool&sample=select-data-in-drawn-polygon-area
117+
[Draw and search polygon area]: https://samples.azuremaps.com/?search=Drawing%20tool&sample=draw-and-search-polygon-area
118+
[Create a measuring tool]: https://samples.azuremaps.com/?search=Drawing%20tool&sample=create-a-measuring-tool
494 KB
Loading
951 KB
Loading

0 commit comments

Comments
 (0)