@@ -115,30 +115,36 @@ The [version](page-layout.md) part of the `DataUri` specifies the package of con
115
115
The following example shows the ** DataUri** of ` selfasserted ` version ` 1.2.0 ` :
116
116
117
117
``` xml
118
- <ContentDefinition Id =" api.localaccountpasswordreset" >
119
- <LoadUri >~/tenant/templates/AzureBlue/selfAsserted.cshtml</LoadUri >
120
- <RecoveryUri >~/common/default_page_error.html</RecoveryUri >
121
- <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.2.0</DataUri >
122
- <Metadata >
123
- <Item Key =" DisplayName" >Local account change password page</Item >
124
- </Metadata >
125
- </ContentDefinition >
118
+ <!--
119
+ <BuildingBlocks>
120
+ <ContentDefinitions>-->
121
+ <ContentDefinition Id =" api.localaccountpasswordreset" >
122
+ <LoadUri >~/tenant/templates/AzureBlue/selfAsserted.cshtml</LoadUri >
123
+ <RecoveryUri >~/common/default_page_error.html</RecoveryUri >
124
+ <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.2.0</DataUri >
125
+ <Metadata >
126
+ <Item Key =" DisplayName" >Local account change password page</Item >
127
+ </Metadata >
128
+ </ContentDefinition >
129
+ <!--
130
+ </ContentDefinitions>
131
+ </BuildingBlocks> -->
126
132
```
127
133
128
134
#### Migrating to page layout
129
135
130
- The format of the value must contain the word ` contract ` : _ urn:com:microsoft:aad:b2c:elements: ** contract ** :page-name : version_ . To specify a page layout in your custom policies that use an old ** DataUri** value, use following table to migrate to the new format .
136
+ To migrate from the old ** DataUri ** value (without page contract) to page layout version, add the word ` contract ` follow by a page version. Use following table to migrate from the old ** DataUri** value to page layout version .
131
137
132
138
| Old DataUri value | New DataUri value |
133
139
| ----------------- | ----------------- |
134
140
| ` urn:com:microsoft:aad:b2c:elements:globalexception:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:globalexception:1.2.1 ` |
135
141
| ` urn:com:microsoft:aad:b2c:elements:globalexception:1.1.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:globalexception:1.2.1 ` |
136
142
| ` urn:com:microsoft:aad:b2c:elements:idpselection:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:providerselection:1.2.1 ` |
137
- | ` urn:com:microsoft:aad:b2c:elements:selfasserted:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.2 ` |
138
- | ` urn:com:microsoft:aad:b2c:elements:selfasserted:1.1.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.2 ` |
139
- | ` urn:com:microsoft:aad:b2c:elements:unifiedssd:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:unifiedssd:2.1.2 ` |
140
- | ` urn:com:microsoft:aad:b2c:elements:unifiedssp:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.2 ` |
141
- | ` urn:com:microsoft:aad:b2c:elements:unifiedssp:1.1.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.2 ` |
143
+ | ` urn:com:microsoft:aad:b2c:elements:selfasserted:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.4 ` |
144
+ | ` urn:com:microsoft:aad:b2c:elements:selfasserted:1.1.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.4 ` |
145
+ | ` urn:com:microsoft:aad:b2c:elements:unifiedssd:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:unifiedssd:2.1.4 ` |
146
+ | ` urn:com:microsoft:aad:b2c:elements:unifiedssp:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.4 ` |
147
+ | ` urn:com:microsoft:aad:b2c:elements:unifiedssp:1.1.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.4 ` |
142
148
| ` urn:com:microsoft:aad:b2c:elements:multifactor:1.0.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:multifactor:1.2.0 ` |
143
149
| ` urn:com:microsoft:aad:b2c:elements:multifactor:1.1.0 ` | ` urn:com:microsoft:aad:b2c:elements:contract:multifactor:1.2.0 ` |
144
150
@@ -158,19 +164,19 @@ The following example shows the content definition identifiers and the correspon
158
164
<DataUri >urn:com:microsoft:aad:b2c:elements:contract:providerselection:1.2.1</DataUri >
159
165
</ContentDefinition >
160
166
<ContentDefinition Id =" api.signuporsignin" >
161
- <DataUri >urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.2 </DataUri >
167
+ <DataUri >urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.4 </DataUri >
162
168
</ContentDefinition >
163
169
<ContentDefinition Id =" api.selfasserted" >
164
- <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.2 </DataUri >
170
+ <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.4 </DataUri >
165
171
</ContentDefinition >
166
172
<ContentDefinition Id =" api.selfasserted.profileupdate" >
167
- <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.2 </DataUri >
173
+ <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.4 </DataUri >
168
174
</ContentDefinition >
169
175
<ContentDefinition Id =" api.localaccountsignup" >
170
- <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.2 </DataUri >
176
+ <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.4 </DataUri >
171
177
</ContentDefinition >
172
178
<ContentDefinition Id =" api.localaccountpasswordreset" >
173
- <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.2 </DataUri >
179
+ <DataUri >urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.4 </DataUri >
174
180
</ContentDefinition >
175
181
<ContentDefinition Id =" api.phonefactor" >
176
182
<DataUri >urn:com:microsoft:aad:b2c:elements:contract:multifactor:1.2.2</DataUri >
0 commit comments