Как настроить Dispform.aspx в Списке Sharepoint

Однажды я написал приложение для VB (глупая настольная игра, вдохновленная Монополией) без комментариев . Но я сделал это просто для того, чтобы разозлить моего учителя, который сказал нам, что комментарии касаются «того, что мы нашли релевантным , чтобы мы могли вспомнить это позже»

.
1
задан 17 June 2009 в 13:31
поделиться

1 ответ

Your approach is okey, couple of things to check:

1) Each Data View Web Part has the DataFields tag, it looks like this:

<DataFields>@URL,URL;@Comments,Notes;@Color,Color;@Image,Image;</DataFields>

and it contains the names of your fields. Make sure your new field is displayed in this list.

2) Also there is difference between internal field name and field name. In the example above Comments is internal name but name is Notes. So to display Notes field correctly you should use:

<xsl:value-of select="@Comments"/>

3) Make sure you are trying to output this value in the right place of XSLT template. The easiest way to find the place is to look for existing fields and just add the new one along these.

Hope it helps...

2
ответ дан 3 September 2019 в 01:23
поделиться
Другие вопросы по тегам:

Похожие вопросы: