How to customize the print layout of a SharePoint list item?

I need to create a “beautiful” listing of the individual values ​​of a list item, with the following goals:

  • get rid of all navigation
  • organize data, as it would be on plain paper form (customer requirement)

I avoid using InfoPath at this time due to other issues (which I will post separate questions for ...)

For example , I have a separate list item, which is usually displayed similarly to the following example DispForm.aspx:

SharePoint - DispForm.aspx

I need a print version ( PrintForm.aspx??) that will look something like this:

SharePoint - PrintForm.aspx

from what I can say, I can’t do this just by changing / creating custom CSS.

, , "" DispForm.aspx.

, , .

+5
7

CSS, .., , media="print", , .

, , , name- > value, . , , , .

?

+1

Sharepoint Designer, aspx, - dataview ...

+1

@mortenbpost , : ,

, , "" , XHTML/CSS:

, ,

, "" ( "" "edit" ):

  • MS Office SharePoint Designer
  • → ...
  • URL
  • , " " ( → )
  • ""
  • : < > Announcements
    Calendar
    ...
    YOUR LIST NAME
    ...
    >
  • , < > Attachments
    Items
    AllItems.aspx
    DispForm.aspx
    EditForm.aspx
    NewForm.aspx
    >
  • LIST
  • ASPX
  • - , : PrintForm.aspx
  • PrintForm.aspx
  • ""
  • "" html
  • → SharePoint Controls → ...
  • ( )
  • "Item" ( )
  • " ( )" ( , , ).
  • " "
  • OK.
  • ""
  • "" , ( " " ):
    <tr>
        <td width="190px" valign="top" class="ms-formlabel">
            <H3 class="ms-standardheader">
                <nobr>Column name</nobr>
            </H3>
        </td>
        <td width="400px" valign="top" class="ms-formbody">
            <xsl:value-of select="@Column_x0020_name"/>
        </td>
    </tr>
  • <xsl:value-of select="@Column_x0020_name"/> XHTML/CSS
  • ,
  • - - SharePoint
  • ,
  • "View Item"
  • DispForm.aspx PrintForm.aspx

, :

  • 32 - , : < > SharePoint:
    : this_x0020_is_x0020_a_x0020_long
    >
  • , , 32 . , , , : < > SharePoint:
    : this_x0020_is_x0020_a_x0020_long0
    >
  • ,  ( " → SharePoint Controls → Custom List Form..." "dummy", )

, @mortenbpost!

+1

***** XHTML/CSS *****

, ?

0

, .

, , - , "". , "", , - , , , "". , , , " SharePoint".

0

, .

-1

All Articles