generator-sp_assets
Version:
Yeoman generator for generating columns and contenttypes for sharepoint
18 lines (17 loc) • 537 B
text/xml
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field
ID="{<%= id %>}"
Name="<%= internalName %>"
DisplayName="<%= displayName %> "
Type="<%= type %>"
Required="<%= required %>"
Hidden="<%= hidden %>"
Group="<%= group %>" >
<CHOICES>
<% choices.forEach(function(choice){ %>
<CHOICE><%= choice %></CHOICE>
<% }); %>
</CHOICES>
</Field>
</Elements>