您可以装饰性地将一个人添加到列表中吗 [英] Can you add a person to a list decoratively
本文介绍了您可以装饰性地将一个人添加到列表中吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个有很多人的列表,并希望在< Data>< Rows>< Row>中添加默认名称. ListInstance的一部分.读取该字段后,它显示为{25; #some body}.创建列表时如何输入此内容,这样我就不会 每次创建列表时都必须手动输入它们以进行调试.
Jim Reynolds
I am creating a list with lots of people and want to add default names in the <Data><Rows><Row> part of the ListInstance. When the field is read it appears as {25;#some body}. How do I input this when the list is created so I don't have to input them manually every time the list is created for debugging purposes please.
Jim Reynolds
推荐答案
您可以尝试为此定义列表实例数据.
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance
Id="WssAdminTasks" Title="Administrator Tasks"
Description="Create an Administrator Tasks list to track a group of admin work items."
TemplateType="1200" Url="Lists/AdminTasks">
<Data>
<Rows>
<Row>
<Field Name="Action">/_admin/globalemailconfig.aspx?Source=/default.aspx, Configure Outgoing E-Mail Settings</Field>
<Field Name="Description">Specify the SMTP e-mail server to use for alerts and administrator notifications.</Field>
<Field Name="Title">Outgoing e-mail settings</Field>
<Field Name="SystemTask">True</Field>
<Field Name="Priority">01</Field>
<Field Name="Service">SMTP</Field>
</Row>
</Rows>
</Data>
</ListInstance>
</Elements>
这里有一些链接供您参考.
您可以将列表另存为模板,以便以后使用.
转到列表设置-> 将列表另存为模板(包括内容)
这篇关于您可以装饰性地将一个人添加到列表中吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文