-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathnewslettersubscription_co_metadata.xml
43 lines (42 loc) · 2.2 KB
/
newslettersubscription_co_metadata.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31">
<custom-type type-id="NewsletterSubscription">
<display-name xml:lang="x-default">Newsletter Subscription</display-name>
<description xml:lang="x-default">Custom object used to store newsletter subscription information for non-registered users.</description>
<staging-mode>no-staging</staging-mode>
<storage-scope>site</storage-scope>
<key-definition attribute-id="email">
<type>string</type>
<min-length>0</min-length>
</key-definition>
<attribute-definitions>
<attribute-definition attribute-id="firstName">
<display-name xml:lang="x-default">First Name</display-name>
<description xml:lang="x-default">Enter the first name for the subscription</description>
<type>string</type>
<localizable-flag>false</localizable-flag>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<min-length>0</min-length>
</attribute-definition>
<attribute-definition attribute-id="lastName">
<display-name xml:lang="x-default">Last Name</display-name>
<description xml:lang="x-default">Last name for subscription.</description>
<type>string</type>
<localizable-flag>false</localizable-flag>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<min-length>0</min-length>
</attribute-definition>
</attribute-definitions>
<group-definitions>
<attribute-group group-id="presentation">
<display-name xml:lang="x-default">Presentation</display-name>
<attribute attribute-id="email"/>
<attribute attribute-id="firstName"/>
<attribute attribute-id="lastName"/>
<attribute attribute-id="creationDate" system="true"/>
</attribute-group>
</group-definitions>
</custom-type>
</metadata>