Design view in SharePoint Designer 2013
This looks like a deal killer for me to move to SharePoint 2013 because the missing of design view in the new SharePoint Designer. Here is the way I do list development In SharePoint 2010:
(1)
Create and deploy a custom ui web part in Visual Studio.
(2)
Create additional “New”, “Edit” and “Display” list forms and set them as the default forms in SharePoint Designer.
(3)
Edit the new created forms in design view.
(4)
Locate and hide the original web part.
(5)
Insert my custom web part proper location.
Only code view is available in SharePoint Designer 2013, I do not know how to hide the default web part and insert my web part (which is deploy to the farm) in code. There are suggestions to use other edit tool to edit web pages. I am not sure
(1)
How to access these form/page in SharePoint.
(2)
How to insert SharePoint web part to the form/page.
I really appreciate if you can help me out.
Hi,
Base on the description, you created web part in Visual Studio and created forms using design view in SharePoint Designer 2010. Now you want to access the forms and insert the web part to SharePoint 2013 page.
By default in SharePoint Designer 2013, to add new forms, we can only custom forms in code view. For more information:
How to Create Custom Forms Using SharePoint Designer 2013:
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/09/20/how-to-create-custom-forms-using-sharepoint-designer-2013.aspx
To insert the web part, we can follow these steps:
Save this .webpart file to your computer.
Open the site in the browser, and go to the page on which you would like to place your web part. With the page in edit mode, click the Page tab, and the Insert tab. Click
Web Part.
On the left side, under the web part categories, click the
Browse… button under Upload a web part. Browse to that .webpart file you saved at step1.
Click Upload.
Click to insert a web part again, and then you’ll see it in the Imported Web Parts category. Click Add to add the web part to your page.
Best Regards,
Linda Li
Similar Messages
-
Why does images in preview are in a different position and resolution than in design view? In design view I have to place the images of screen to fit in preview.
Already changed in different settings. Here is a screenshot when set to "Original Size".
-
Switching from text view to visual view in SharePoint Designer 2013 crashes 100% of the time
Whenever I am in SharePoint Designer 2013 and try to switch a workflow from text view to visual view, SharePoint Designer crashes. Text workflows work fine. I have tried any of the solutions that I could find including:
- Removing KB2837633 and 2768006 (neither were installed)
- Installing SharePoint Designer 2013 SP1 (KB2817441)
- Performing a "Repair" on both SharePoint Designer 2013 and Visio 2013
- Clearing the caches in the AppData directory
- Setting Visual as the default mode for workflows to open in (so, not exactly switching, but trying to open it directly in the visual view)
Event viewer reports that it is an issue with Microsoft.Web.Authoring.ni.dll which throws an unhandled exception, System.AccessViolationException.
This is the error message:
System.AccessViolationException was unhandled
HResult=-2147467261
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Microsoft.Web.Authoring
StackTrace:
at Microsoft.Web.Authoring.Workflow.XamlWrapper.GetStageInfo(UInt32 node, String& name, UInt32& transition, UInt32&
stageContainer)
There is no InnerException.
Can anyone suggest something else to try?
Thanks!Hi,
I have checked out the links above to no avail. I will keep looking. I have included the details from event viewer below.
Details from event viewer:
Event ID 1001
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: SPDESIGN.EXE
P2: 15.0.4569.1503
P3: 52b0b061
P4: Microsoft.Web.Authoring.ni.dll
P5: 15.0.4531.1000
P6: 51cb6bd8
P7: c0000005
P8: 0012f4b8
P9:
P10:
Event ID 1000
Faulting application name: SPDESIGN.EXE, version: 15.0.4569.1503, time stamp: 0x52b0b061
Faulting module name: Microsoft.Web.Authoring.ni.dll, version: 15.0.4531.1000, time stamp: 0x51cb6bd8
Exception code: 0xc0000005
Fault offset: 0x0012f4b8
Faulting process id: 0xc3c
Faulting application start time: 0x01cf69f7dfc05fc8
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office15\SPDESIGN.EXE
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.W7830ee34#\bed75c80b5bf64ca619a88ad4a48b674\Microsoft.Web.Authoring.ni.dll
Report Id: 45c4e398-d5eb-11e3-8ff3-7054d21a367e -
How to add connection between two Web Part Data Views in sharepoint designer 2013
Hi I have problems with connect two data view
I have a SQL server database named Mini
In Mini database I have two tables: dbo.Table_A and dbo.Table_B
Table_A design and Table_B design
In the internet browser it look like this after I add the connections, the problem is there is no connection when I click at the Blue link id 2 and 3 ??? John's and Jes's Lastname did not show up, the links is dead. that's my problem
The must strange is that, if I do the same below, in sharepoint 2010 designer it do well ?? so what in the .....
Here is my code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ Page Language="C#" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register tagprefix="SharePoint" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta name="ProgId" content="SharePoint.WebPartPage.Document" />
<meta name="WebPartPageExpansion" content="full" />
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<SharePoint:CssRegistration Name="default" runat="server"/>
</head>
<body>
<form id="form1" runat="server">
<table width="10%"><tr><td>
<WebPartPages:SPWebPartManager runat="server" id="SPWebPartManager">
<SPWebPartConnections>
<WebPartPages:spwebpartconnection ID="g_1660BB6ADC7243088A1BB7F5C196203A" ConsumerConnectionPointID="DFWP Filter Consumer ID" ConsumerID="g_2abfc8f5_0eb3_4711_a5b0_7e7518f56881" ProviderConnectionPointID="DFWP Row Provider ID" ProviderID="g_b70a05bb_a849_423d_8e53_c7ad9ccc18ad">
<WebPartPages:sprowtoparameterstransformer ProviderFieldNames="@ID" ConsumerFieldNames="@ID" />
</WebPartPages:spwebpartconnection>
</SPWebPartConnections>
</WebPartPages:SPWebPartManager>
<asp:ScriptManager runat="server" id="ScriptManager"></asp:ScriptManager>
<WebPartPages:DataFormWebPart runat="server" IsIncluded="True" AsyncRefresh="True" FrameType="None" NoDefaultStyle="TRUE" ViewFlag="8" Title="Table_A on Mini" PageType="PAGE_NORMALVIEW" __markuptype="vsattributemarkup" __WebPartId="{B70A05BB-A849-423D-8E53-C7AD9CCC18AD}" id="g_b70a05bb_a849_423d_8e53_c7ad9ccc18ad" pagesize="10">
<DataSources>
<asp:SqlDataSource id="Table_A_x0020_on_x0020_Mini2" runat="server" __designer:commandsync="true" ProviderName="System.Data.SqlClient" ConnectionString="Data Source=TestMSSQL;User ID=SQLADMIN;Password=079130;Initial Catalog=Mini;" SelectCommand="SELECT * FROM [Table_A] ORDER BY [ID] ASC "/>
</DataSources>
<ParameterBindings>
<ParameterBinding Name="dvt_apos" Location="Postback;Connection"/>
<ParameterBinding Name="ManualRefresh" Location="WPProperty[ManualRefresh]"/>
<ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>
<ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>
<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
<ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection"/>
<ParameterBinding Name="dvt_curselkey" Location="Postback;Connection" DefaultValue="##init##"/>
</ParameterBindings>
<datafields>@ID,ID;@ForeName,ForeName;</datafields>
<XSL>
<xsl:stylesheet xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
<xsl:output method="html" indent="no"/>
<xsl:decimal-format NaN=""/>
<xsl:param name="dvt_curselkey">##init##</xsl:param>
<xsl:param name="dvt_apos">'</xsl:param>
<xsl:param name="ManualRefresh"></xsl:param>
<xsl:param name="dvt_firstrow">1</xsl:param>
<xsl:param name="dvt_nextpagedata" />
<xsl:variable name="dvt_1_automode">0</xsl:variable>
<xsl:template match="/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls">
<xsl:choose>
<xsl:when test="($ManualRefresh = 'True')">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<xsl:call-template name="dvt_1"/>
</td>
<td width="1%" class="ms-vb" valign="top">
<img src="/_layouts/15/images/staticrefresh.gif" id="ManualRefresh" border="0" onclick="javascript: {ddwrt:GenFireServerEvent('__cancel')}" alt="Click here to refresh the dataview."/>
</td>
</tr>
</table>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="dvt_1"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dvt_1">
<xsl:variable name="dvt_StyleName">Table</xsl:variable>
<xsl:variable name="Rows" select="/dsQueryResponse/NewDataSet/Row"/>
<xsl:variable name="dvt_RowCount" select="count($Rows)"/>
<xsl:variable name="RowLimit" select="10" />
<xsl:variable name="FirstRow" select="$dvt_firstrow" />
<xsl:variable name="LastRow">
<xsl:choose>
<xsl:when test="($FirstRow + $RowLimit - 1) > $dvt_RowCount"><xsl:value-of select="$dvt_RowCount" /></xsl:when>
<xsl:otherwise><xsl:value-of select="$FirstRow + $RowLimit - 1" /></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="IsEmpty" select="$dvt_RowCount = 0" />
<xsl:variable name="dvt_IsEmpty" select="$dvt_RowCount = 0"/>
<xsl:choose>
<xsl:when test="$dvt_IsEmpty">
<xsl:call-template name="dvt_1.empty"/>
</xsl:when>
<xsl:otherwise>
<table border="0" width="100%" cellpadding="2" cellspacing="0">
<tr valign="top">
<xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">
<th class="ms-vh" width="1%" nowrap="nowrap"></th>
</xsl:if>
<th class="ms-vh" nowrap="nowrap">ID</th><th class="ms-vh" nowrap="nowrap">ForeName</th></tr>
<xsl:call-template name="dvt_1.body">
<xsl:with-param name="Rows" select="$Rows[position() >= $FirstRow and position() <= $LastRow]"/>
<xsl:with-param name="FirstRow" select="1" />
<xsl:with-param name="LastRow" select="$dvt_RowCount" />
</xsl:call-template>
</table>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="dvt_1.commandfooter">
<xsl:with-param name="FirstRow" select="$FirstRow" />
<xsl:with-param name="LastRow" select="$LastRow" />
<xsl:with-param name="RowLimit" select="$RowLimit" />
<xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
<xsl:with-param name="RealLastRow" select="number(ddwrt:NameChanged('',-100))" />
</xsl:call-template>
</xsl:template>
<xsl:template name="dvt_1.body">
<xsl:param name="Rows"/>
<xsl:param name="FirstRow" />
<xsl:param name="LastRow" />
<xsl:for-each select="$Rows">
<xsl:variable name="CurrentRowKey">
<xsl:call-template name="dvt.gencurselkey">
<xsl:with-param name="RowPath" select="." />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="dvt_KeepItemsTogether" select="false()" />
<xsl:variable name="dvt_HideGroupDetail" select="false()" />
<xsl:if test="(position() >= $FirstRow and position() <= $LastRow) or $dvt_KeepItemsTogether">
<xsl:if test="not($dvt_HideGroupDetail)" ddwrt:cf_ignore="1">
<xsl:call-template name="dvt_1.rowview" >
<xsl:with-param name="CurrentRowKey" select="$CurrentRowKey" />
</xsl:call-template>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="dvt_1.rowview">
<xsl:param name="CurrentRowKey" />
<tr>
<xsl:if test="position() mod 2 = 1">
<xsl:attribute name="class">ms-alternating</xsl:attribute>
</xsl:if>
<xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">
<td class="ms-vb" width="1%" nowrap="nowrap">
<span ddwrt:amkeyfield="" ddwrt:amkeyvalue="ddwrt:EscapeDelims(string(''))" ddwrt:ammode="view"></span>
</td>
</xsl:if>
<td class="ms-vb">
<a target="_self">
<xsl:attribute xmlns:xsl="http://www.w3.org/1999/XSL/Transform" name="href">
<xsl:variable name="cursel">dvt_curselkey={
<xsl:call-template name="dvt.gencurselkey">
<xsl:with-param name="RowPath" select="." />
</xsl:call-template>
}</xsl:variable>
<xsl:variable xmlns:xsl="http://www.w3.org/1999/XSL/Transform" name="fields">@ID=<xsl:value-of select="ddwrt:ConnEncode(string(@ID))" /></xsl:variable>
<xsl:text>javascript:</xsl:text>
<xsl:value-of select="ddwrt:GenFireConnection(concat('g_2abfc8f5_0eb3_4711_a5b0_7e7518f56881*',$fields),string($cursel))"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="style">
<xsl:if test="$CurrentRowKey = $dvt_curselkey">font-weight: bold;</xsl:if>
</xsl:attribute>
<xsl:value-of select="format-number(@ID, '#,##0.#;-#,##0.#')" />
</a></td><td class="ms-vb">
<xsl:value-of select="@ForeName" /></td></tr>
</xsl:template>
<xsl:template name="dvt_1.empty">
<xsl:variable name="dvt_ViewEmptyText">There are no items to show in this view.</xsl:variable>
<table border="0" width="100%">
<tr>
<td class="ms-vb">
<xsl:value-of select="$dvt_ViewEmptyText"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="dvt_1.commandfooter">
<xsl:param name="FirstRow" />
<xsl:param name="LastRow" />
<xsl:param name="RowLimit" />
<xsl:param name="dvt_RowCount" />
<xsl:param name="RealLastRow" />
<table cellspacing="0" cellpadding="4" border="0" width="100%">
<tr>
<xsl:if test="$FirstRow > 1 or $LastRow < $dvt_RowCount">
<xsl:call-template name="dvt_1.navigation">
<xsl:with-param name="FirstRow" select="$FirstRow" />
<xsl:with-param name="LastRow" select="$LastRow" />
<xsl:with-param name="RowLimit" select="$RowLimit" />
<xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
<xsl:with-param name="RealLastRow" select="$RealLastRow" />
</xsl:call-template>
</xsl:if>
</tr>
</table>
</xsl:template>
<xsl:template name="dvt_1.navigation">
<xsl:param name="FirstRow" />
<xsl:param name="LastRow" />
<xsl:param name="RowLimit" />
<xsl:param name="dvt_RowCount" />
<xsl:param name="RealLastRow" />
<xsl:variable name="PrevRow">
<xsl:choose>
<xsl:when test="$FirstRow - $RowLimit < 1">1</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$FirstRow - $RowLimit" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="LastRowValue">
<xsl:choose>
<xsl:when test="$LastRow > $RealLastRow">
<xsl:value-of select="$LastRow"></xsl:value-of>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$RealLastRow"></xsl:value-of>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="NextRow">
<xsl:value-of select="$LastRowValue + 1"></xsl:value-of>
</xsl:variable>
<td nowrap="nowrap" class="ms-paging" align="right">
<xsl:if test="$dvt_firstrow > 1" ddwrt:cf_ignore="1">
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent('dvt_firstrow={1}')" />;</xsl:attribute>
Start</a>
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$PrevRow,'}'))" />;</xsl:attribute>
<img src="/_layouts/15/images/prev.gif" border="0" alt="Previous" />
</a>
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
</xsl:if>
<xsl:value-of select="$FirstRow" />
- <xsl:value-of select="$LastRowValue" />
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
<xsl:if test="$LastRowValue < $dvt_RowCount or string-length($dvt_nextpagedata)!=0" ddwrt:cf_ignore="1">
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$NextRow,'}'))" />;</xsl:attribute>
<img src="/_layouts/15/images/next.gif" border="0" alt="Next" />
</a>
</xsl:if>
</td>
</xsl:template>
<xsl:template name="dvt.gencurselkey">
<xsl:param name="RowPath" />
<xsl:choose>
<xsl:when test="$dvt_curselkey = '##init##' and position() = $dvt_firstrow">##init##</xsl:when>
<xsl:otherwise><xsl:value-of select="ddwrt:ConnEncode(string($RowPath/@ID))" /></xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet> </XSL>
</WebPartPages:DataFormWebPart>
</td></tr><tr><td>
<WebPartPages:DataFormWebPart runat="server" IsIncluded="True" AsyncRefresh="True" FrameType="None" NoDefaultStyle="TRUE" ViewFlag="8" Title="Table_B on Mini" PageType="PAGE_NORMALVIEW" __markuptype="vsattributemarkup" __WebPartId="{2ABFC8F5-0EB3-4711-A5B0-7E7518F56881}" id="g_2abfc8f5_0eb3_4711_a5b0_7e7518f56881" pagesize="10">
<DataSources>
<asp:SqlDataSource id="Table_B_x0020_on_x0020_Mini1" runat="server" __designer:commandsync="true" ProviderName="System.Data.SqlClient" ConnectionString="Data Source=TestMSSQL;User ID=SQLADMIN;Password=079130;Initial Catalog=Mini;" SelectCommand="SELECT * FROM [Table_B] ORDER BY [ID] ASC "/>
</DataSources>
<ParameterBindings>
<ParameterBinding Name="dvt_apos" Location="Postback;Connection"/>
<ParameterBinding Name="ManualRefresh" Location="WPProperty[ManualRefresh]"/>
<ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>
<ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>
<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
<ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection"/>
</ParameterBindings>
<datafields>@ID,ID;@LastName,LastName;</datafields>
<XSL>
<xsl:stylesheet xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
<xsl:output method="html" indent="no"/>
<xsl:decimal-format NaN=""/>
<xsl:param name="dvt_apos">'</xsl:param>
<xsl:param name="ManualRefresh"></xsl:param>
<xsl:param name="dvt_firstrow">1</xsl:param>
<xsl:param name="dvt_nextpagedata" />
<xsl:variable name="dvt_1_automode">0</xsl:variable>
<xsl:template match="/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls">
<xsl:choose>
<xsl:when test="($ManualRefresh = 'True')">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<xsl:call-template name="dvt_1"/>
</td>
<td width="1%" class="ms-vb" valign="top">
<img src="/_layouts/15/images/staticrefresh.gif" id="ManualRefresh" border="0" onclick="javascript: {ddwrt:GenFireServerEvent('__cancel')}" alt="Click here to refresh the dataview."/>
</td>
</tr>
</table>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="dvt_1"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dvt_1">
<xsl:variable name="dvt_StyleName">Table</xsl:variable>
<xsl:variable name="Rows" select="/dsQueryResponse/NewDataSet/Row"/>
<xsl:variable name="dvt_RowCount" select="count($Rows)"/>
<xsl:variable name="RowLimit" select="10" />
<xsl:variable name="FirstRow" select="$dvt_firstrow" />
<xsl:variable name="LastRow">
<xsl:choose>
<xsl:when test="($FirstRow + $RowLimit - 1) > $dvt_RowCount"><xsl:value-of select="$dvt_RowCount" /></xsl:when>
<xsl:otherwise><xsl:value-of select="$FirstRow + $RowLimit - 1" /></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="IsEmpty" select="$dvt_RowCount = 0" />
<xsl:variable name="dvt_IsEmpty" select="$dvt_RowCount = 0"/>
<xsl:choose>
<xsl:when test="$dvt_IsEmpty">
<xsl:call-template name="dvt_1.empty"/>
</xsl:when>
<xsl:otherwise>
<table border="0" width="100%" cellpadding="2" cellspacing="0">
<tr valign="top">
<xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">
<th class="ms-vh" width="1%" nowrap="nowrap"></th>
</xsl:if>
<th class="ms-vh" nowrap="nowrap">ID</th><th class="ms-vh" nowrap="nowrap">LastName</th></tr>
<xsl:call-template name="dvt_1.body">
<xsl:with-param name="Rows" select="$Rows[position() >= $FirstRow and position() <= $LastRow]"/>
<xsl:with-param name="FirstRow" select="1" />
<xsl:with-param name="LastRow" select="$dvt_RowCount" />
</xsl:call-template>
</table>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="dvt_1.commandfooter">
<xsl:with-param name="FirstRow" select="$FirstRow" />
<xsl:with-param name="LastRow" select="$LastRow" />
<xsl:with-param name="RowLimit" select="$RowLimit" />
<xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
<xsl:with-param name="RealLastRow" select="number(ddwrt:NameChanged('',-100))" />
</xsl:call-template>
</xsl:template>
<xsl:template name="dvt_1.body">
<xsl:param name="Rows"/>
<xsl:param name="FirstRow" />
<xsl:param name="LastRow" />
<xsl:for-each select="$Rows">
<xsl:variable name="dvt_KeepItemsTogether" select="false()" />
<xsl:variable name="dvt_HideGroupDetail" select="false()" />
<xsl:if test="(position() >= $FirstRow and position() <= $LastRow) or $dvt_KeepItemsTogether">
<xsl:if test="not($dvt_HideGroupDetail)" ddwrt:cf_ignore="1">
<xsl:call-template name="dvt_1.rowview" />
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="dvt_1.rowview">
<tr>
<xsl:if test="position() mod 2 = 1">
<xsl:attribute name="class">ms-alternating</xsl:attribute>
</xsl:if>
<xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">
<td class="ms-vb" width="1%" nowrap="nowrap">
<span ddwrt:amkeyfield="" ddwrt:amkeyvalue="ddwrt:EscapeDelims(string(''))" ddwrt:ammode="view"></span>
</td>
</xsl:if>
<td class="ms-vb">
<xsl:value-of select="format-number(@ID, '#,##0.#;-#,##0.#')"/>
</td><td class="ms-vb">
<xsl:value-of select="@LastName" /></td></tr>
</xsl:template>
<xsl:template name="dvt_1.empty">
<xsl:variable name="dvt_ViewEmptyText">There are no items to show in this view.</xsl:variable>
<table border="0" width="100%">
<tr>
<td class="ms-vb">
<xsl:value-of select="$dvt_ViewEmptyText"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="dvt_1.commandfooter">
<xsl:param name="FirstRow" />
<xsl:param name="LastRow" />
<xsl:param name="RowLimit" />
<xsl:param name="dvt_RowCount" />
<xsl:param name="RealLastRow" />
<table cellspacing="0" cellpadding="4" border="0" width="100%">
<tr>
<xsl:if test="$FirstRow > 1 or $LastRow < $dvt_RowCount">
<xsl:call-template name="dvt_1.navigation">
<xsl:with-param name="FirstRow" select="$FirstRow" />
<xsl:with-param name="LastRow" select="$LastRow" />
<xsl:with-param name="RowLimit" select="$RowLimit" />
<xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
<xsl:with-param name="RealLastRow" select="$RealLastRow" />
</xsl:call-template>
</xsl:if>
</tr>
</table>
</xsl:template>
<xsl:template name="dvt_1.navigation">
<xsl:param name="FirstRow" />
<xsl:param name="LastRow" />
<xsl:param name="RowLimit" />
<xsl:param name="dvt_RowCount" />
<xsl:param name="RealLastRow" />
<xsl:variable name="PrevRow">
<xsl:choose>
<xsl:when test="$FirstRow - $RowLimit < 1">1</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$FirstRow - $RowLimit" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="LastRowValue">
<xsl:choose>
<xsl:when test="$LastRow > $RealLastRow">
<xsl:value-of select="$LastRow"></xsl:value-of>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$RealLastRow"></xsl:value-of>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="NextRow">
<xsl:value-of select="$LastRowValue + 1"></xsl:value-of>
</xsl:variable>
<td nowrap="nowrap" class="ms-paging" align="right">
<xsl:if test="$dvt_firstrow > 1" ddwrt:cf_ignore="1">
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent('dvt_firstrow={1}')" />;</xsl:attribute>
Start</a>
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$PrevRow,'}'))" />;</xsl:attribute>
<img src="/_layouts/15/images/prev.gif" border="0" alt="Previous" />
</a>
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
</xsl:if>
<xsl:value-of select="$FirstRow" />
- <xsl:value-of select="$LastRowValue" />
<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&nbsp;</xsl:text>
<xsl:if test="$LastRowValue < $dvt_RowCount or string-length($dvt_nextpagedata)!=0" ddwrt:cf_ignore="1">
<a>
<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$NextRow,'}'))" />;</xsl:attribute>
<img src="/_layouts/15/images/next.gif" border="0" alt="Next" />
</a>
</xsl:if>
</td>
</xsl:template>
</xsl:stylesheet> </XSL>
</WebPartPages:DataFormWebPart>
</td></tr></table>
</form>
</body>
</html>Hey Bale
Yes I use sharepoint designer 2013, when I do the same in sharepoint designer 2010, it do well
No to your question 2, 3 and 4
See again my picture below her, when I open the internet browser
in the database you have a table with forename and another table with last name,
the link between this two table is the id, when I open it is ok, Bens lastname is
James, Ben James.
So when I try to click on the blue id number 2 beside John, Johns Last name
should show up, but it did not, the link is dead. that's my problem the funny about this when I
do the same procedure see above in sharepoint designer 2010, it do well ?
Here is my first steps, when you have uploaded the first datasource, you need to save, place your courser
behind the <asp:ScriptManager runat="server" id="ScriptManager"></asp:ScriptManager> x PLACE COURSER HER
THEN you can upload the next datasource, the sharepoint designer automatic generate the code for the grid.
When you have the two grids inside the aspx file, place your courser behind the first
<WebPartPages:DataFormWebPart X <---
then the tab "option" show up and inside here you can add the connections between the two grids. -
List view web part not reflecting changes made to list view in SharePoint Designer
Dear All,
When adding a list view web part containing a view modified in SharePoint designer (e.g. conditional formatting applied, or group headers modified) I'm finding that the changes made in SPD are not reflected in the web part.
For example, I go into SPD edit a view, and the view appears correctly when I go back into SharePoint, however when I link to the view within a list view web part it results in losing the changes made in SPD.
Becasue it's a publishing page I'm unable to edit the contents of the web part in SPD.
I'm sure this is expected behavior but how do I get around this?
Thnaks,
MDBTry below
http://stackoverflow.com/questions/19533998/sharepoint-designer-doesnt-show-anything-in-list-and-libraries-link
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/a63a1894-6b1d-420a-95dd-b6c546eab34d/updates-made-to-sharepoint-designer-2010-workflow-do-not-show-up-on-the-server?forum=sharepointcustomizationprevious
http://stackoverflow.com/questions/5959521/sharepoint-designer-saves-the-changes-but-it-does-not-affect
http://social.technet.microsoft.com/Forums/en-US/1e9a8c27-bbc5-4a6f-8daf-4b243182f543/changes-in-sharepoint-designer-2010-not-showing-in-sharepoint-server-2010-page?forum=sharepointadminprevious -
Hello All,
I am facing Problem in SharePoint Designer Workflow. The Problem is that while replacing some subtstring with Space from a string which contains item like {Test, Test, Test, Test}, It replaces all items.
Below two line we are using in Workflow.
Can any body suggest some soultion for Finding first ouucrence of ", " so that we can replace only first value from string not all. When String values are different then getting proper values but if String values are same with comma
seperated then it replace all values.
Please some body help and your help will be heighly appriciable.
Thanks in Advance.
Thanks,
Vivek Kumar PandeyHave you tried to use Regular Expressions instead of Replace?
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
Flash Builder 4 - design view - states basedOn + design area widget
Hello,
Since i updated my project from Flex 3 to Flash Builder (4), i have very annoying issues in the design area.
The one in Flex 3 was quite usefull, but the new version is not easy, and straight forward usable.
Here are the 3 issues:
- when i have states designed from another one, i use the basedOn mxml attribute, which was used in Flex 3 and still exist in SDK 4 states system.
But the designer view in Flash Builder don't take those basedOn properties in account!
What can i do? and is it a known bug?
- When i have at least one precific state, i must define a defautl state, in the new SDK. Ok, but in design view, i cant add a new component without making the change only for one state. I can only make the change for the default state, but it will not be taken in account for all the other states, like i can do in Flex 3.
What i want to be able to do this: making changes in design view without selecting ANY state.
Is it possible? How can i do?
- In flex 3, there were a design area widget to select the resolution used for the preview design.
It was very usefull when the application has very dynamic width and height.
In Flash Builder, this widget has been removed.
Why has it been removed? and how can i preview my mxml views wihtout changing width and height values?
Thanks.
SebThe update has been improved in every other areas, so it is not that much important.
I just hope that the new release will fix that (as it has been answered to my post).
The only thing i don't like in new releases of FB is that when the architecture of SDK is aimed to seperate the work between design and code, they focused only on catalyst to create the tools to manipulate design, and they forgot to keep an easy way to do design app directly in FB (with the design view and the style properties of MXML in FB3). But i'm confident that they will give such a tool soon.
But for now, if you don't like the restriction of the new release, you can continue to work with Flex 3 for 0$! And even in Flex 4, you can create MX components for which the design view will work as before. The fact that tools can manage a mix between MX and Spark components is a great thing. It is up to you to choose which you need which its own advantages and drawbacks.
Xcode is real pain to use with outdated ergonomy. It is only usefull to code in Objective C which is another real pain to do.
XCode can be cheapper because all Apple products are quite expansive, so the software to create softwares for them can be much more cheapper.
And Apple get a good revenue share from AppStore, so again they can give a cheap soft to create apps. You also have to pay 100$ to be able to send app to appstore, in ly opinion the good price for XCode should be 0$, not even 80$!
Flash builder 4 is very stable, but if you don't like it, you can choose another tool. Main competitor has no designer at all! -
I have read all the post regarding the removal of the design viewand feel the same way as all the developers. Let me start by saying that we have dopped FB as a development tool where I work for this reason. From Adobe's roadmap blabla, their rationale was because HTML5 was becoming the de facto standard. However, if you compare Microsoft, Apple, IBM and Oracle, they haven't abondoned their products because of HTML5 or for that matter their dev languages just because there are a slew of open source languages on the market. No, they didn't shy away, but instead, stood behind their technologies and products and continued to evolve them. So Adobe's strategy of "Getting out of Dodge" because the media hype about HTML5 is ridiculous. Witrh Adobe Air, you have an opportunity to a leader in mobile app development and web app development.
Have a look at below article on removal of design view in SharePoint designer 2013, It explains what was the change, impact and reason behind it.
http://blog.sharepoint-videos.com/sharepoint-designer-2013-data-view-web-part-list-view-web-part-design-view-is-gone/
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How to enable the List View tools tab in SharePoint Designer 2013 ?
Customize the list view in SharePoint Designer 2013 . Unfortunately , i don't see
List View Tools tab in my SharePoint Designer 2013. Even if i click anywhere in the web part code , i don't get it.Hi Hiren,
Please try the steps below and see if it works:
Back up the list view web part < WebPartPages:XsltListViewWebPart > you highlighted, and delete or comment this web part, then save the page.
Reinsert the certain list view web part via INSERT ribbon, then you will see the LIST VIEW TOOLS.
Regards,
Rebecca Tu
TechNet Community Support -
Unable to edit the site in sharepoint designer 2013
Hi,
I have created a custom list for one of my requirement, and I want to change the look and feel of the custom list view, so I was trying to edit this list in SharePoint Designer 2013, I'm able to open the list in SPD 2013, but unable to edit anything since
I'm getting the "This page does not contain any regions that you have permission to edit." error.
It will highly appreciated if anyone help in resolving the issue.
Thanks in advance.
AnilAnil,
Below links will help you. Please use them.
SharePoint
Designer 2013 – How to modify List View web part filters and parameters
Create
a custom list view using SharePoint Designer
Share point list view custmization
in sharepoint 2013
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Visual Studio 2013 hangs/freezes when trying to click the designer view
my Visual Studio 2013 update 1 hangs/freezes when trying to click the designer view, after clicking "Design" I can not click "split" neather "Source". What can I do ? I already tried to set the "HTML (Web Forms) Editor
" as "Default"... thanks for support.
In VS2010 the same worked fine.
I "Run as Administrator".
ty for helpHi,
I assume that you are not using VS2013 Express version. In order to get the reason about the hang issue, please use devenv /log to gather activity.xm log and find HR error from this log.If it shows some package corrupt, try to repair your VS.
Here are my general suggestions:
Please try to run devenv /ResetSettings (in command prompt) to eliminate the related potential settings problem.
Try disabling Add-ins (e.g. “Tools” | “Add-in Manager”) or run “devenv.exe /SafeMode”.This can eliminate the possibility that third party Add-ins or packages are causing problems. Also you can try these command lines:
devenv.exe /resetskippkgs and devenv.exe /resetuserdata
Try to create a new user account. This can help isolate user profile corruption related causes.
If the suggestions above are no help, please reinstall your VS.
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Leave Request Workflow using SharePoint Designer
Hi Support,
Can you give me a link or specific procedure on how to make leave request using sharepoint designer connected to sharepoint foundation 2013. This is my first time to make it, s there's something doubt in my mind. Please help me as soon as possible.
Thanks
Best Regards,
Bishelp :)Hi Bishelp,
Besides the article which cool_anurag suggested, Here is a video about Leave request Workflow please check whether it is helpful:
https://www.youtube.com/watch?v=9IYI8xHpBPE
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
Updated Web Services and Pageflow design view available via eclipse update
All,
An eclipse update to Workshop for WebLogic Platform 9.2 is now available.
The new features available in this update are listed below
<b>Web Service Design View:</b> The web service Design View lets you design all of the major features of a web service using a graphical development environment. The following features are included:
* Creation of web methods, callbacks, and event handlers
* Direct configuration of conversational and buffering properties
* Inline method signature editing, with syntax highlighting and code completion
* Simultaneous editing of separate interface and implementation files
* Improved error detection and messaging
<b>Page Flow Overview. </b>The Page Flow Overview gives a graphical overview of an entire page flow, including its JSP pages, actions, and navigational relationships. This high-level view of a page flow gives the developer a total picture of how a page flow is structured. The following features are included:
* Continuous automatic graph layout
* Improved layout algorithm
* Selection is synchronized with the Page Flow Editor
* Graph Tracing mode makes reading complex graphs easier
* Print graphs or export them as images
<b>
Improved Test Client functionality. </b>The Test Client now supports directly testing services that have callbacks as well as services that have only JMS as a transport. The Test Client is downloaded along with the Workshop for WebLogic 9.2.1 update, but it must be installed manually. For details on installing and using the Test Client to test web services, see Testing Web Services with the Test Client.
<b>Cheat Sheets. </b>A variety of cheat sheets are now available to get you started with Workshop for WebLogic.
The following cheat sheets are available:
* NetUI Web Application: Hello World
* Web Service Application: Hello World
* Using XMLBeans
Additional information is available at http://e-docs.bea.com/workshop/docs92/ws_platform/introduction/conWhatsNew.html
cheers
RajHi Geoff,
I have placed a zip file which contains the Workshop 9.2.1 update on a ftp server at ftp://support:[email protected]/pub/w4wp/w4wpUpdate.zip
Make sure you download the file and follow the instructions listed below
Launch workshop
Help>Software Updates>Find and Install...
Select "Search for new features to install" and hit Next
Click on the New Archived Site button
Wait for the "Select Local Site Archive" dialog to appear
Enter, or browse to, the location of the archive file (it can be referenced using either http:// or file path syntax depending on where it was placed by the user or their sys admin) and hit Open
Hit Finish
Select BEA Workshop for WebLogic Platform 9.2.1.0 and hit Next
Select "I accept the terms in the license agreement" and hit Next
Hit Finish
Wait for the Feature Verification dialog to appear
Hit Install All
Hit Yes when prompted to restart the workbench
Cheers
Raj -
How do you open the site definition in Sharepoint Designer?
Hi,
I am looking to open this to try to edit it. Where is it and how do you open it?
ThanksHi,
According to your post, my understanding is that you wanted to edit the site definition in SharePoint Designer.
A site definition is a collection of files stored on the server used for all new sites and templates created in SharePoint.
They provide preconfigured lists, Web Parts, navigation bars, features, and so on for each site.
The role of the site definition becomes especially important the next time you perform server-wide maintenance, for example upgrading the server, applying a solution upgrade, or a branding exercise.
Not only is the site definition updated, but all the pages associated with it are updated, which keeps them consistent and easily manageable.
Microsoft SharePoint Designer 2010 is a Web and application design program used to design, build, and customize Web sites running on SharePoint Foundation 2010 and Microsoft SharePoint Server 2010. With SharePoint Designer 2010, you can create data-rich
Web pages, build powerful workflow-enabled solutions, and design the look and feel of your site.
The following articles about the SharePoint Designer and use the Designer to edit the master page, I think they are the good beginning for you.
Get Started with SharePoint Designer 2010
Managing SharePoint Designer 2010
Customize a master page to brand your site
How to create and change the master page via SharePoint Designer
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
SharePoint lists are not showing in SharePoint designer "Lists and Libraries" section
Hi ,
I using sharepoint 2010 and sharepoint designer 2010.
I created a custom list on the sharepoint , and i trying to open the list through designer, but in sharepoint designer under the "Lists and Libraries" section that created custom list is not showing.
But when i click on "AllFiles-->Lists -->MyCustomlist " (its present in the root folder's "Lists" folder)
can anyone help on this.
regards,
RKHi,
According to your description, there is a list appears in “All Files” section but not in "Lists and Libraries" section in SharePoint Designer.
What if you refresh(F5) the SharePoint Designer in the "Lists and Libraries" section? Will the issue list appears?
If the list still doesn’t show up, please clear the cache of the SharePoint Designer and reconnect your site for a test.
About how to clear the cache of SharePoint Designer:
http://www.c-sharpcorner.com/UploadFile/sagarp/how-to-clear-your-sharepoint-designer-20102013-cache/
Feel free to reply if there any progress.
Best regards,
Patrick
Patrick Liang
TechNet Community Support
Maybe you are looking for
-
How to use 1 edge animation in multiple pages without duplicate files?
Hi, I want to display an animation on multiple pages that are all located in there own respective folders. I want to be able to move then animation files into it's own dedicated folder e.g. /includes/edge folder where I can still use this animation i
-
Hi I'm having some issues getting a date into a column header for a tab report I am creating. this thread Re: sysdate in region header suggested using a hidden item and having a pl/sql function body and including the item in the header. So I set the
-
I think I have accidentally clicked on something or changed a setting by mistake. Now when I go on to internet and try to do "save as or save picture as" whatever I am tyring to save opens up in to Illustrar. I don't want this to happen. I just want
-
i am install cs 5 in 2 computer but any causes one computer are formated so other computer are not install is cs 5 error code %%[ ProductName: Distiller ]%% %%[ Error: Helvetica not found. Font cannot be embedded. ]%% %%[ Error: invalidfont; Offendin
-
Attribute Change Run and Editing BI data
Hello Experts, I have two questions.(They are not related to each other). Can BI data(Infocube data) be edited? For eg GL account in R/3 is changed from 100 to 2100. I want to know how can this be handled in BI. Attribute Change Run in the process