Sharepoint as datasource

Post Author: torreykite
CA Forum: Semantic Layer and Data Connectivity
Is it possible to use sharepoint lists as source tables in a BO Universe (6.5)?
if so how would I establish the connection?
Thanks,
TK

You can set Power BI to a excel file and update the excel file update based on list sync.
Check below:
http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/schedule-data-refresh-for-workbooks-in-power-bi-for-office-365-HA104180761.aspx
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • Sharepoint List DataSource does not exists

    Hi,
    I wanna create a SharePoint List Datasource in ReportManager, but the only DataSource type avaiable is MS SQL Server.
    Is it because I'm using SQL Express (with advanced services) ?
    Do I need a superior edition? or do I need to install the Reporting Services add-in for SharePoint ?
    I think the Reporting Services add-in for SharePoint  is only to use Report Server in Sharepoint Mode, is this correct?
    Tks,
    DD

    Hi DevDiver,
    According to your description, when you are trying to create a SharePoint List Datasource using SQL Server Express, the only DataSource type avaiable is MS SQL Server. In fact, SQL Server Express does not support non-SQL data source. So if we want to create
    a SharePoint List Datasource, we need to update it to Standard or higher.
    Besides, we don’t need to install Reporting Services Add-in when trying to create a SharePoint List Data Source. The Reporting Services Add-in is a required component for a report server that runs in SharePoint mode. It enables Reporting Services features
    include Power View, a Report Viewer Web Part, a URL proxy endpoint, and application pages, so that you can create, view, and manage reports, report models, data sources and other report server content on a SharePoint site.
    Reference:
    Features supported by SQL Server Express
    Install Reporting Services Add-in for SharePoint
    If you have any questions, please feel free to let me know.
    Thanks,
    Wendy Fu

  • Build Report using sharePoint list datasource for EPM projects.

    Hi all,
    I am using Project Server 2010. 
    When project is created using EPT then for that project a site will be created and each site has sharePoint Lists. 
    I want to build SSRS report that uses this sharepoint list as datasource. 
    My connection string to the site URL must be dynamic as each project site URL will be different. 
    Your help will be appreciated!!!
    Thanks,
    Rohit

    Hello,
    Look to use an expression and pass in the Project Site URL, see the example below:
    SharePoint Web Services (XML) version but gives you the idea for using an expression:
    http://nearbaseline.com.au/blog/2010/02/reporting-workspace-lists-directly-from-sharepoint/
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Sharepoint List DataSource

    Forgive me as I am new to Sharepoint though a veteran SQL Developer. I am having difficulty writing back to a joined query that has but 3 tables. I have tested ability to write back to a single table from a list successfully but can't do so from a slightly
    more complex query that has the 3 tables. I understand how Sharepoint could get "confused" and not know which of the 3 to write data to. My question is how do you designate which table to write back to? Thanks in advance.
    ddave

    Hi DevDiver,
    According to your description, when you use SharePoint List as DataSource, you want to directly use created views so that you can show the specific values you need. Right?
    In Reporting Services, when we use SharePoint List as DataSource, all columns in Lists will be exported into Query Builder. There's no feature in Query Builder to show the views created for each SharePoint List. If we only need some specific columns, we
    can only select them manually. So your requirement can't be achieved currently.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Sql server 2008 r2 reportserver integration with sharepoint 2010 datasource credential

    hello,
    I am using sharepoint 2010 and sql server 2008 r2 and integrated in sharepoint integration mode and i am using windows authentication ,not keberos ,so i deletd negotiate in authentication tag in rssharepoint.config file,but when i tried to create data source
    i am getting credential error and when windows credential is used it is getting connected.
    please help.
    thanks

    Hi Krishnakumar_DeV,
    Based on the current description, I understand that you should use the Windows NTLM authentication and delete the Negotiatein in authentication tag from RSReportServer.config which is located in the folder “C:\Program Files\Common Files\Microsoft Shared\Web
    Server Extensions\XX\WebServices\Reporting”. You can use a local account or domain account to connect report server, while there is credential error message when creating data source, right?
    To narrow down the issue, I want to confirm some information below:
    1. To connect to remote data source, we can specify the following credentials’ ways:
    •Prompt the user for credentials
    •Store credentials
    •Use Windows integrated security
    •Use no credentials
     Which credential way is you using and what’s the detailed error message?
    2. How do you create the data source?
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • SSRS Designer - XML Datasource - Parameter passing XML gets encoded, causes error on WS Request

    Hello,
    I am attempting to query a List from SharePoint using the XML Datasource. I am forced to use this datasource as our infrastructure team will not be upgrading our SSRS 2008 farm to SSRS 2008 R2 anytime soon. 2008 R2 has Native SharePoint
    List Datasources ( which works great FYI ). I already completed the report using the Native SP List DS, only to find out that my timing was not so great as 2008 R2 was not in production yet... /sigh, communication... anyways...
    I have successfully queried the List using the XML Datasource. It is only when I try to use the CAML query in the query parameter that it fails. So, here is my Query:
    <Query>
    <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
    <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
    <Parameters>
    <Parameter Name="listName">
    <DefaultValue>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</DefaultValue>
    </Parameter>
    <Parameter Name="query">
    <DefaultValue>
    <Query>
    <Where>
    <Gt>
    <FieldRef Name="Modified" />
    <Value Type="DateTime">2011-03-01</Value>
    </Gt>
    </Where>
    </Query>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <ElementPath IgnoreNamespaces="True">*</ElementPath>
    </Query>
    I will be replacing that hard date with something like =DateAdd("d",-7,Now()) later, but focusing on the task at hand...
    Here is the error ( trimmed so you don't need to read the whole stack ):
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring>
    <detail>
    <errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;Query&gt; of parameter query is missing or invalid.</errorstring>
    <errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode>
    </detail>
    </soap:Fault>
    </soap:Body>
    The key to that error is:  Element &lt;Query&gt; of parameter query is missing or invalid.
    So I see that it is being encoded, so I decided to capture the actual Webservice request with Fiddler:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <query>
    &lt;Query&gt;
    &lt;Where&gt;
    &lt;Gt&gt;
    &lt;FieldRef Name="Modified" /&gt;
    &lt;Value Type="DateTime"&gt;2011-03-01&lt;/Value&gt;
    &lt;/Gt&gt;
    &lt;/Where&gt;
    &lt;/Query&gt;
    </query>
    <listName>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</listName>
    </GetListItems>
    </soap:Body>
    </soap:Envelope>
    So now that we know that somehow the XML parameter of "query" is being encoded. How do I tell the SSRS designer that for this XML datasource's dataset query, I do not wish to encode that parameter?  I have searched all day today and came up with
    very little. I found a few posts with a simliar question, but no solution was ever mentioned.
    The closest to a likely solution was this Post :
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/8a9ba2fc-26cd-423e-bbbf-a16b5c9722f5/
    in particular this phrase interested me:
    "Query parameters of type Msxml2.DOMDocument30 are passed as XML. Parameters of type String which happen to contain XML are passed as strings and are XML encoded in the SOAP message. The function CXml(String) converts a string
    into an Msxml2.DOMDocument30 and can be used in query parameter expressions."
    Similar to the poster of that question, I also cannot find a way to define the parameter as an XML type or the use of this mysterious CXML() function in the expression builder...
    I'm looking for a Microsoft resource to tell me whats going on here, but if anyone else has a workaround or an idea, I would be happy to try it out.
    Regards,
    -Ryan, Solution Architect

    Hi Ryan,
    Thanks for your question, from your statement, it seems that you want to give a default value for the parameter named query, right? If so I would recommend you achieve this requirement in report level, please follow these:
    1. Create a parameter named Date, select Date/Time as data type.
    2. Move to Default values tab, then click Add button ->type in  =DateAdd("d",-7,Now())  as defult value's expression.
    3. Right-cilck the dataset, and then select DataSet properties.
    4. Move to Filters tab, click add button to add a filter.
    5. In the drop-down list of Expression, select Modified datefield with Date/Time datatype.
    6. Type in =Parameters!Date.Value in value's textbox.
    Similar thread, please get a reference from this
    http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/24d30b00-139e-4487-9fb1-02f460b432f9
    If you have any question, please feel free to ask.
    Thanks,
    Challen Fu 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to retrieve data from inside the folders in SharePoint SSRS

    Hi ,
    How to get the data from inside the folders and subfolders.
    How can I do that.
    https://social.msdn.microsoft.com/Forums/en-US/15451351-4ee2-428c-a0b7-135810e4cbfa/action?threadDisplayName=ssrs-reports-sharepoint-list-datasource-how-to-retrieve-items-from-subfolders
    Here the information is not given.
    Regards
    Vinod

    Hi Vinodaggarwal87,
    According to your description, you want to retrieve data from sharepoint list in a sub folder. Right?
    In this scenario, we should select the XML data source type and in the connection string provide the
    List.asmx service URL when creating data source. Then we need to use the List web Service and specify "recursive" for ViewAttribute in Lists.asmx. For detail steps, please refer to the links below:
    Generate SSRS report on SharePoint List with folders using List Service.
    SSRS: how to specify ViewAttributes when creating a report against a SharePoint's list
    If you want to set the ViewAttribute on CAML query level. You need add the view tag outside of query tag:
    <View Scope="RecursiveAll">
        <Query>
            <Where>...</Where>
        </Query>
    </View>
    Reference:
    View Element (List)
    ViewAttributes Recursive Scope not working SharePoint 2013 CAML Query to fetch all files from document library recursively
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to filter lookup column in sharepoint 2010

    Hi,
       I have three list, Designation, Employee & Client respectively. Designation have one column as Designation having values like director,hr,etc. The designation column is lookup in employee list in which other columns are empName, empAddress
    etc. Now in my client list there is Client name field & another fields are director & hr. So now i wanted to filter all those employees having designation director & hr from employee list to my client list's director & hr field respectively.
    so how can i achieve this?

    Take a look at this codeplex project:
    http://filteredlookup.codeplex.com/
    Or via this way (SharePoint Designer - Datasource:
    http://sharepointbergen.blogspot.com/2007/04/creating-filtered-lookup-fields-in.html
    Regards, Marijn Somers|| http://www.beyond-it.be || Twitter: http://twitter.com/marijnsomers || http://marijnsomers.blogspot.com

  • Custom edit form for my Wiki Page library with only "Page Name" field included

    I want to create a new custom edit form for my Wiki page library, and to only allow users to edit the Page name inside the edit form. now i created a new Edit form using SharePoint Designer , and i select the Enterprisewiki content type for it , which generates
    the following markup :-
    <%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, 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" %>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListFormPageTitle runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <span class="die">
    <SharePoint:ListProperty Property="LinkTitle" runat="server" id="ID_LinkTitle"/>
    </span>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
    <img src="/_layouts/15/images/blank.gif?rev=23" width='1' height='1' alt="" />
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <SharePoint:UIVersionedContent UIVersion="4" runat="server">
    <ContentTemplate>
    <div style="padding-left:5px">
    </ContentTemplate>
    </SharePoint:UIVersionedContent>
    <table class="ms-core-tableNoSpace" id="onetIDListForm">
    <tr>
    <td>
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
    <WebPartPages:DataFormWebPart runat="server" EnableOriginalValue="False" DisplayName="Customer Service KB" ViewFlag="1048584" ViewContentTypeId="" Default="FALSE" ListUrl="" ListDisplayName="" ListName="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" ListId="6a6ece84-4d39-48e2-bd6a-c20b2ac6355b" PageType="PAGE_EDITFORM" PageSize="-1" UseSQLDataSourcePaging="True" DataSourceID="" ShowWithSampleData="False" AsyncRefresh="False" ManualRefresh="False" AutoRefresh="False" AutoRefreshInterval="60" NoDefaultStyle="TRUE" InitialAsyncDataFetch="False" Title="Customer Service KB" FrameType="None" SuppressWebPartChrome="False" Description="" IsIncluded="True" PartOrder="2" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True" AllowHide="True" IsVisible="True" DetailLink="" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall="" MissingAssembly="Cannot import this Web Part." PartImageLarge="" IsIncludedFilter="" ExportControlledProperties="True" ConnectionID="00000000-0000-0000-0000-000000000000" ID="g_f1c88e12_e91d_4300_91f2_62f0bd7825fb" ChromeType="None" ExportMode="All" __MarkupType="vsattributemarkup" __WebPartId="{F1C88E12-E91D-4300-91F2-62F0BD7825FB}" __AllowXSLTEditing="true" WebPart="true" Height="" Width=""><DataSources>
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" SelectCommand="&lt;View&gt;&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&quot;ContentType&quot;/&gt;&lt;Value Type=&quot;Text&quot;&gt;Enterprise Wiki Page&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;/View&gt;" UseInternalName="True" UseServerDataFormat="True"><SelectParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </SelectParameters><UpdateParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </UpdateParameters><InsertParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </InsertParameters><DeleteParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </DeleteParameters>
    </SharePoint:SPDataSource>
    </DataSources>
    <Xsl>
    <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" 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">&apos;</xsl:param>
    <xsl:param name="ManualRefresh"></xsl:param>
    <xsl:variable name="dvt_1_automode">0</xsl:variable>
    <xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" 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">ListForm</xsl:variable>
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
    <div>
    <span id="part1">
    <table border="0" width="100%">
    <xsl:call-template name="dvt_1.body">
    <xsl:with-param name="Rows" select="$Rows"/>
    </xsl:call-template>
    </table>
    </span>
    <SharePoint:AttachmentUpload runat="server" ControlMode="Edit"/>
    <SharePoint:ItemHiddenVersion runat="server" ControlMode="Edit"/>
    </div>
    </xsl:template>
    <xsl:template name="dvt_1.body">
    <xsl:param name="Rows"/>
    <tr>
    <td class="ms-toolbar" nowrap="nowrap">
    <table>
    <tr>
    <td width="99%" class="ms-toolbar" nowrap="nowrap"><IMG SRC="/_layouts/15/images/blank.gif" width="1" height="18"/></td>
    <td class="ms-toolbar" nowrap="nowrap">
    <SharePoint:SaveButton runat="server" ControlMode="Edit" id="savebutton1"/>
    </td>
    <td class="ms-separator">&#160;</td>
    <td class="ms-toolbar" nowrap="nowrap" align="right">
    <SharePoint:GoBackButton runat="server" ControlMode="Edit" id="gobackbutton1"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td class="ms-toolbar" nowrap="nowrap">
    <SharePoint:FormToolBar runat="server" ControlMode="Edit"/>
    <SharePoint:ItemValidationFailedMessage runat="server" ControlMode="Edit"/>
    </td>
    </tr>
    <xsl:for-each select="$Rows">
    <xsl:call-template name="dvt_1.rowedit"/>
    </xsl:for-each>
    <tr>
    <td class="ms-toolbar" nowrap="nowrap">
    <table>
    <tr>
    <td class="ms-descriptiontext" nowrap="nowrap">
    <SharePoint:CreatedModifiedInfo ControlMode="Edit" runat="server"/>
    </td>
    <td width="99%" class="ms-toolbar" nowrap="nowrap"><IMG SRC="/_layouts/15/images/blank.gif" width="1" height="18"/></td>
    <td class="ms-toolbar" nowrap="nowrap">
    <SharePoint:SaveButton runat="server" ControlMode="Edit" id="savebutton2"/>
    </td>
    <td class="ms-separator">&#160;</td>
    <td class="ms-toolbar" nowrap="nowrap" align="right">
    <SharePoint:GoBackButton runat="server" ControlMode="Edit" id="gobackbutton2"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </xsl:template>
    <xsl:template name="dvt_1.rowedit">
    <xsl:param name="Pos" select="position()"/>
    <tr>
    <td>
    <table border="0" cellspacing="0" width="100%">
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Title (Display In Search)</nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/>
    <SharePoint:FieldDescription runat="server" id="ff1description{$Pos}" FieldName="Title" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Standard<span class="ms-formvalidation"> *</span>
    </nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff2{$Pos}" ControlMode="Edit" FieldName="Standard" __designer:bind="{ddwrt:DataBind('u',concat('ff2',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Standard')}"/>
    <SharePoint:FieldDescription runat="server" id="ff2description{$Pos}" FieldName="Standard" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Document Type<span class="ms-formvalidation"> *</span>
    </nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff3{$Pos}" ControlMode="Edit" FieldName="Document_x0020_Type" __designer:bind="{ddwrt:DataBind('u',concat('ff3',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Document_x0020_Type')}"/>
    <SharePoint:FieldDescription runat="server" id="ff3description{$Pos}" FieldName="Document_x0020_Type" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Departments<span class="ms-formvalidation"> *</span>
    </nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="Edit" FieldName="Departments" __designer:bind="{ddwrt:DataBind('u',concat('ff4',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Departments')}"/>
    <SharePoint:FieldDescription runat="server" id="ff4description{$Pos}" FieldName="Departments" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Hide physical URLs from search</nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff5{$Pos}" ControlMode="Edit" FieldName="PublishingIsFurlPage" __designer:bind="{ddwrt:DataBind('u',concat('ff5',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PublishingIsFurlPage')}"/>
    <SharePoint:FieldDescription runat="server" id="ff5description{$Pos}" FieldName="PublishingIsFurlPage" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Page Content</nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="Edit" FieldName="PublishingPageContent" __designer:bind="{ddwrt:DataBind('u',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PublishingPageContent')}"/>
    <SharePoint:FieldDescription runat="server" id="ff6description{$Pos}" FieldName="PublishingPageContent" ControlMode="Edit"/>
    </td>
    </tr>
    <tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
    <SharePoint:FieldLabel ControlMode="Edit" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
    <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="Edit" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('u','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
    <script>
    var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
    if (elm == null || elm.rows.length == 0)
    document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
    </td>
    </tr>
    <xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">
    <tr>
    <td colspan="99" class="ms-vb">
    <span ddwrt:amkeyfield="ID" ddwrt:amkeyvalue="ddwrt:EscapeDelims(string(@ID))" ddwrt:ammode="view"></span>
    </td>
    </tr>
    </xsl:if>
    </table>
    </td>
    </tr>
    </xsl:template>
    </xsl:stylesheet> </Xsl>
    <DataFields>
    </DataFields>
    <ParameterBindings>
    <ParameterBinding Name="ListItemId" Location="QueryString(ID)" DefaultValue="0"/>
    <ParameterBinding Name="weburl" Location="None" DefaultValue="http://sharepointdev:12341/sites/wiki1"/>
    <ParameterBinding Name="ListID" Location="None" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}"/>
    <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"/>
    </ParameterBindings>
    </WebPartPages:DataFormWebPart>
    </ZoneTemplate></WebPartPages:WebPartZone>
    </td>
    </tr>
    </table>
    <SharePoint:UIVersionedContent UIVersion="4" runat="server">
    <ContentTemplate>
    </div>
    </ContentTemplate>
    </SharePoint:UIVersionedContent>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:DelegateControl runat="server" ControlId="FormCustomRedirectControl" AllowMultipleControls="true"/>
    <SharePoint:UIVersionedContent UIVersion="4" runat="server"><ContentTemplate>
    <SharePoint:CssRegistration Name="forms.css" runat="server"/>
    </ContentTemplate></SharePoint:UIVersionedContent>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleLeftBorder" runat="server">
    <table cellpadding="0" height="100%" width="100%" cellspacing="0">
    <tr><td class="ms-areaseparatorleft"><img src="/_layouts/15/images/blank.gif?rev=23" width='1' height='1' alt="" /></td></tr>
    </table>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
    <script type="text/javascript" id="onetidPageTitleAreaFrameScript">
    if (document.getElementById("onetidPageTitleAreaFrame") != null)
    document.getElementById("onetidPageTitleAreaFrame").className="ms-areaseparator";
    </script>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
    <SharePoint:StyleBlock runat="server">
    .ms-bodyareaframe {
    padding: 8px;
    border: none;
    </SharePoint:StyleBlock>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyLeftBorder" runat="server">
    <div class='ms-areaseparatorleft'><img src="/_layouts/15/images/blank.gif?rev=23" width='8' height='100%' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleRightMargin" runat="server">
    <div class='ms-areaseparatorright'><img src="/_layouts/15/images/blank.gif?rev=23" width='8' height='100%' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyRightMargin" runat="server">
    <div class='ms-areaseparatorright'><img src="/_layouts/15/images/blank.gif?rev=23" width='8' height='100%' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaSeparator" runat="server"/>
    so from the above  markup  the name field is not part of the edit form,, i think this is because the Name is part of the Document content type and not part of the enterprisewiki content type .. so is there a way to add the name field to the edit
    form ?.
    second question, the edit form will show all the content type fields such as ; standard, document type, department , title (display in search), etc   so what is the best way to remove these fields from the custom edit form ?

    Hello John,
    This can only be done by adding VBScript to the form. It would basically be:
    Sub Item_Open() 
    Item.GetInspector.SetCurrentFormPage "P.2"
    End Sub
    ... where "P.2" would be what you named the page you want to display first.

  • Prgramatically set ParameterBindings for To DataFormWebparts on the Same Page.

    I have an External List Called TTOrderbook. One of the Columns on the External List is called AmendedOrderID.  Its the Key of another TTOrderbook, to which this Order TTOrderbook.  (i'e a self referencing table)
    So I need to create a SitePage that Shows a 2 TTOrderbook record The 'Main'' one and the  'Amended' One. When the Page is loaded it gets passed a parameter which is the BDCID of the 'Main Order.
    I create  a site page in my Visuaal Studio Project and drop  in Two Webpartzones and add a DataformWebpart to each Zone. like this:(XSL left out for brevity)
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <table>
    <tr>
    <td>
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="wpzMainOrder" Title="MainOrder">
    <ZoneTemplate>
    <WebPartPages:DataFormWebPart runat="server" IsIncluded="True" NoDefaultStyle="TRUE" ViewFlag="8" Title="New Order/Amendment"
    PageType="PAGE_DISPLAYFORM"
    Default="FALSE" DisplayName="dfwpMainOrder"
    partorder="1" id="dfwpMainOrder">
    <DataSources>
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" UseInternalName="true" UseServerDataFormat="True"
    selectcommand="&lt;View&gt;&lt;/View&gt;" id="SPDataSourceNainOrder">
    <SelectParameters>
    <WebPartPages:DataFormParameter Name="ListItemId" ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0"/>
    <WebPartPages:DataFormParameter Name="ListID" ParameterKey="ListID" PropertyName="ParameterValues" />
    <WebPartPages:DataFormParameter Name="MaximumRows" ParameterKey="MaximumRows" PropertyName="ParameterValues" DefaultValue="10"/>
    </SelectParameters>
    </SharePoint:SPDataSource>
    </DataSources>
    <ParameterBindings>
    <ParameterBinding Name="ListItemId" Location="QueryString(ID)" DefaultValue="{{orderID}}"/>
    <ParameterBinding Name="ListID" Location="None" DefaultValue="{{listID}}"/>
    <ParameterBinding Name="MaximumRows" Location="None" DefaultValue="10"/>
    <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"/>
    </ParameterBindings>
    <datafields>@BdcIdentity,BDC Identity;@ID,Order ID;@Type,Type;@ArbitrageName,ArbitrageName;@HedgedTradeID,HedgedTradeID;@Customer,Customer;@Portfolio,Portfolio;@BS,BS;@Entity,Entity;@Entity2,Entity2;@Product,Product;@Contract,Contract;@Contract2,Contract2;@Commodity,Commodity;@Lots,Lots;@LotsFilled,Lots Filled;@LotsRemaining,Lots Remaining;@Price,Price;@GoodTillType,Good Til Type;@GoodTill,Good Until;@Broker,Broker;@Status,Status;@Notes,Notes;@NearDate,Near Date;@FarDate,Far Date;@Created,Created;@Updated,Updated;@CreatedBy,CreatedBy;@UpdatedBy,UpdatedBy;@Maturity,Maturity;@TakenBy,Taken By;@TakenTime,Taken Time;@Adjustment,Adjustment;@PricingBasis,Pricing Basis;@CustomPricingBasis,Custom Pricing Basis;@Requestor,Requestor;@PriceMultiplier,PriceMultiplier;@LotsMultiplier,LotsMultiplier;@AmendedOrderID,AmendedOrderID;</datafields>
    <XSL>
    </XSL>
    </WebPartPages:DataFormWebPart>
    </ZoneTemplate>
    </WebPartPages:WebPartZone>
    </td>
    <td>
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="wpzAmendedOrder" Title="AmendedOrder">
    <ZoneTemplate>
    <WebPartPages:DataFormWebPart runat="server" IsIncluded="True" NoDefaultStyle="TRUE" ViewFlag="8" Title="Amended Order"
    PageType="PAGE_DISPLAYFORM"
    Default="FALSE" DisplayName="dfwpAmendedOrder"
    partorder="2" id="dfwpAmendedOrder">
    <DataSources>
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" UseInternalName="true" UseServerDataFormat="True"
    selectcommand="&lt;View&gt;&lt;/View&gt;" id="SPDataSourceAmendedOrder">
    <SelectParameters>
    <WebPartPages:DataFormParameter Name="ListItemId" ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0"/>
    <WebPartPages:DataFormParameter Name="ListID" ParameterKey="ListID" PropertyName="ParameterValues" />
    <WebPartPages:DataFormParameter Name="MaximumRows" ParameterKey="MaximumRows" PropertyName="ParameterValues" DefaultValue="10"/>
    </SelectParameters>
    </SharePoint:SPDataSource>
    </DataSources>
    <ParameterBindings>
    <ParameterBinding Name="ListItemId" Location="QueryString(ID)" DefaultValue="{{orderID}}"/>
    <ParameterBinding Name="ListID" Location="None" DefaultValue="{{listID}}"/>
    <ParameterBinding Name="MaximumRows" Location="None" DefaultValue="10"/>
    <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"/>
    </ParameterBindings>
    <datafields>@BdcIdentity,BDC Identity;@ID,Order ID;@Type,Type;@ArbitrageName,ArbitrageName;@HedgedTradeID,HedgedTradeID;@Customer,Customer;@Portfolio,Portfolio;@BS,BS;@Entity,Entity;@Entity2,Entity2;@Product,Product;@Contract,Contract;@Contract2,Contract2;@Commodity,Commodity;@Lots,Lots;@LotsFilled,Lots Filled;@LotsRemaining,Lots Remaining;@Price,Price;@GoodTillType,Good Til Type;@GoodTill,Good Until;@Broker,Broker;@Status,Status;@Notes,Notes;@NearDate,Near Date;@FarDate,Far Date;@Created,Created;@Updated,Updated;@CreatedBy,CreatedBy;@UpdatedBy,UpdatedBy;@Maturity,Maturity;@TakenBy,Taken By;@TakenTime,Taken Time;@Adjustment,Adjustment;@PricingBasis,Pricing Basis;@CustomPricingBasis,Custom Pricing Basis;@Requestor,Requestor;@PriceMultiplier,PriceMultiplier;@LotsMultiplier,LotsMultiplier;@AmendedOrderID,AmendedOrderID;</datafields>
    <XSL>
    </XSL>
    </WebPartPages:DataFormWebPart>
    </ZoneTemplate>
    </WebPartPages:WebPartZone>
    </td>
    </tr>
    </table>
    </asp:Content>
    and then in the codeBehind for my page I set the ListID and OrderID for the two webparts programmatically like this
    protected void Page_Load(object sender, EventArgs e)
    WebPartManager wpm = SPWebPartManager.GetCurrentWebPartManager(this.Page);
    dfwpMainOrder = (DataFormWebPart)wpm.WebParts["dfwpMainOrder"];
    dfwpAmendedOrder = (DataFormWebPart)wpm.WebParts["dfwpAmendedOrder"];
    //dfwpMainOrder = (DataFormWebPart)Page.Master.FindControl("PlaceHolderMain").FindControl("wpzMainOrder").FindControl("dfwpMainOrder");
    //dfwpAmendedOrder = (DataFormWebPart)Page.Master.FindControl("PlaceHolderMain").FindControl("wpzAmendedOrder").FindControl("dfwpAmendedOrder");
    // Set up the Main Dataform
    string bdcid = Page.Request.QueryString["id"];
    mainOrderID = Convert.ToInt32((Microsoft.SharePoint.BusinessData.Infrastructure.EntityInstanceIdEncoder.DecodeEntityInstanceId(bdcid)[0]));
    dfwpMainOrder.ListId = FixPortalLists.TTOrderBook.List.ID;
    dfwpMainOrder.ParameterBindings = dfwpMainOrder.ParameterBindings.Replace("{{orderID}}", mainOrderID.ToString());
    dfwpMainOrder.ParameterBindings = dfwpMainOrder.ParameterBindings.Replace("{{listID}}", FixPortalLists.TTOrderBook.List.ID.ToString("B"));
    SPListItem mainOrder = FixPortalLists.TTOrderBook.GetItemByDBID(mainOrderID);
    // Ifits an Amendment, set up the second Dataform
    if (mainOrder["AmendedOrderID"] != null)
    amendedOrderID = (int)mainOrder["AmendedOrderID"];
    dfwpAmendedOrder.ListId = FixPortalLists.TTOrderBook.List.ID;
    dfwpAmendedOrder.ParameterBindings = dfwpAmendedOrder.ParameterBindings.Replace("{{orderID}}", amendedOrderID.ToString());
    dfwpAmendedOrder.ParameterBindings = dfwpAmendedOrder.ParameterBindings.Replace("{{listID}}", FixPortalLists.TTOrderBook.List.ID.ToString("B"));
    else
    // need to abourt loading of the secon dfwp
    dfwpAmendedOrder.Enabled = false;
    When I step thru debugging I can See that I am assigning a DIFFERENT OrderID to each of the webparts. But They Are both showing the  SAME record, 
    I did a Database Trace and can see that the SAME record is getting requested from the database TWICE.
    I'm on SP2010 SP1. Using VS2012.
    How can I resolve this?

    I Fugured it out.
    I was passing in the order id using a parameter called ID. Both DFWPs were picking this up and using it to get the listitem. I changed the Parameter name To Order ID so that the DFWPS would not see it and changed  the Parameter bindings to pass in the
    BDC id instead of the database id.
    Its working now.

  • Attachment URL as hyperlink

    Hi
    I am creeating a data view in sharepoint designer; its showing multiple items which I intened to style later;
    Each item has a PDF file attachment, I'd like the Tile to open this attachment when clicked, is this possible, I;ve seen some examples of getting the attchment URL but nothing that allows you to use it in a link; heres some of the code so you can have an
    idea;
    Id like the link on @Title to be that of the URL of the attachment but not sure if this is possible as Im having now luck
       <a href="<xsl:value-of select="@Title"/">"><xsl:value-of select="@Title"/> </a><br />
                  <xsl:value-of select="@Post_x0020_Number" disable-output-escaping="yes"/><br />
                  <xsl:value-of select="@Closing_x0020_Date" disable-output-escaping="yes"/> <br />
                  <xsl:value-of select="@Post_x0020_Number" disable-output-escaping="yes"/> <br />
                  <xsl:value-of select="@Salary" disable-output-escaping="yes"/><br />
                  <xsl:value-of select="@Hours" disable-output-escaping="yes"/><br />
                  <xsl:value-of select="@Tenure" disable-output-escaping="yes"/><br />
                  <xsl:value-of select="@Tenure" disable-output-escaping="yes"/> <br />
                  <xsl:value-of select="@Department" disable-output-escaping="yes"/><br />
                  <xsl:value-of select="@Location" disable-output-escaping="yes"/><br />     
    Thanks

    Futher to this; Ive got this working but is there a way to filter the items?
    I'd like to show only the items whose field 'Audience' euals 'Support', is this possible? here is the code so far;
    <WebPartPages:DataFormWebPart runat="server" IsIncluded="True" AsyncRefresh="True" FrameType="None" NoDefaultStyle="TRUE" ViewFlag="8" Title="DataView 1" PageType="PAGE_NORMALVIEW" __markuptype="vsattributemarkup" __WebPartId="{AD914856-9C77-4AFF-ADD6-EDD49B04C9D4}"
    id="g_ad914856_9c77_4aff_add6_edd49b04c9d4" __AllowXSLTEditing="true" WebPart="true" Height="" Width="">
      <DataSources>
        <SharePoint:SPDataSource runat="server" DataSourceMode="List" UseInternalName="true" UseServerDataFormat="true" selectcommand="&lt;View&gt;&lt;/View&gt;" id="spdatasource1">
          <SelectParameters>
            <asp:Parameter Name="ListID" DefaultValue="B66E05C2-CC41-499A-A789-31BA0F507C69"/>
          </SelectParameters>
          <DeleteParameters>
            <asp:Parameter Name="ListID" DefaultValue="B66E05C2-CC41-499A-A789-31BA0F507C69"/>
          </DeleteParameters>
          <UpdateParameters>
            <asp:Parameter Name="ListID" DefaultValue="B66E05C2-CC41-499A-A789-31BA0F507C69"/>
          </UpdateParameters>
          <InsertParameters>
            <asp:Parameter Name="ListID" DefaultValue="B66E05C2-CC41-499A-A789-31BA0F507C69"/>
          </InsertParameters>
        </SharePoint:SPDataSource>
      </DataSources>
      <datafields>@Title,Title;@Post_x0020_Number,Post Number;@Start_x0020_Date,Start Date;@Closing_x0020_Date,Closing Date;@Closing_x0020_Date_x0020__x002d_,Closing Date - Ongoing;@Salary,Salary;@Hours,Hours;@Tenure,Tenure;@Department,Department;@Location,Location;@Audience,Audience;@Attachment,Attachment;@Comments,Additional
    Comments;@ID,ID;@ContentType,Content Type;@Modified,Modified;@Created,Created;@Author,Created By;@Editor,Modified By;@_UIVersionString,Version;@Attachments,Attachments;@File_x0020_Type,File Type;@FileLeafRef,Name (for use in forms);@FileDirRef,Path;@FSObjType,Item
    Type;@_HasCopyDestinations,Has Copy Destinations;@_CopySource,Copy Source;@ContentTypeId,Content Type ID;@_ModerationStatus,Approval Status;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;@ItemChildCount,Item Child Count;@FolderChildCount,Folder
    Child Count;@AppAuthor,App Created By;@AppEditor,App Modified By;</datafields>
      <XSL>
        <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" 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">&apos;</xsl:param>
          <xsl:param name="ManualRefresh"></xsl:param>
          <xsl:variable name="dvt_1_automode">0</xsl:variable>
          <xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp"
    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/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/Rows/Row"/>
            <xsl:variable name="dvt_RowCount" select="count($Rows)"/>
            <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>
                  </tr>
                  <xsl:call-template name="dvt_1.body">
                    <xsl:with-param name="Rows" select="$Rows"/>
                  </xsl:call-template>
                </table>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:template>
          <xsl:template name="dvt_1.body">
            <xsl:param name="Rows"/>
            <xsl:for-each select="$Rows">
              <xsl:call-template name="dvt_1.rowview" />
            </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" nowrap="nowrap"><span ddwrt:amkeyfield="ID" ddwrt:amkeyvalue="ddwrt:EscapeDelims(string(@ID))" ddwrt:ammode="view"></span></td>
              </xsl:if>
              <h2><a href="<xsl:value-of">{@Attachment.desc}"><xsl:value-of select="@Title"/> </a></h2>
              <br />
              <div class="joblist">Post Number: <xsl:value-of select="@Post_x0020_Number" disable-output-escaping="yes"/><br />
                <b>Closing Date: <xsl:value-of select="@Closing_x0020_Date" disable-output-escaping="yes"/></b><br />
                <b>Salary: </b><xsl:value-of select="@Salary" disable-output-escaping="yes"/><br />
                <b>Hours: </b><xsl:value-of select="@Hours" disable-output-escaping="yes"/><br />
                <b>Tenure: </b> <xsl:value-of select="@Tenure" disable-output-escaping="yes"/><br />
                <b>Department: </b> <xsl:value-of select="@Department" disable-output-escaping="yes"/><br />
                <b>Location: </b> <xsl:value-of select="@Location" disable-output-escaping="yes"/><br />
              </div>
              <br />
              <br />
            </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>
          </xsl:template>
        </xsl:stylesheet>
      </XSL>
    </WebPartPages:DataFormWebPart>

  • SharePoint List Office 365 PowerQuery Error [DataSource.Error] SharePoint: Request failed:

    When I open Power Query in my Excel and connect to the SharePoint site that my list(s) reside in the tool displays the tables but when I select the table to pull the data I receive this error
    [DataSource.Error] SharePoint:   Request failed: The remote server returned an error: (500) Internal Server   Error. (An error occurred while processing this request.)
    My SharePoint version is the SharePoint online 2013 version.
    thanks
    Andrew
    BTW: all the system created lists (like L MicroFeed)  in the SharePoint do work properly. I can open them in Power Query and look at the data 

    GUTN, 
    can you submit this as a bug in the UI via the Smile Frown button?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • SharePoint List Error :[DataSource.Error] SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error. (An error occurred while processing this request.)

    When I connect to the SharePoint site that contains the lists I need to build my query from , Power Query enumerates the list and displays them in the tool. I can click on the system tables and view the records but any table
    in the list I created returns this  error.
    I can connect fine with InfoPath
    [DataSource.Error] SharePoint:   Request failed: The remote server returned an error: (500) Internal Server   Error. (An error occurred while processing this request.)
    thank you for your help
    Andrew
     

    Hi Andrew. In order for us diagnose this issue, you'll need to capture some network traces using a tool such as Fiddler and share them by sending a Frown.
    To capture a trace using Fiddler, start Fiddler, enable the Tools > Fiddler Options > HTTPS > Decrypt HTTPS traffic option, start the capture, reproduce your issue, then stop and save the capture. You can find more information here.
    Once you've done that, please send a Frown through the Power Query ribbon and attach the traces.
    Thanks,
    Ehren

  • Updating a secondary datasource to a Sharepoint list via infopath form rules

    Using SharePoint 2010 and InfoPath 2010 I created a form that prior to submission it gets an integer value from a separate SharePoint list via a secondary datasource.  Just before the rule that submits the form to a document folder via the
    main datasource I increment the integer value and try to write it back to the secondary datasource I got it from.  I know that I have the correct value.  That is, it is reading from the data source the correct integer information and it is incrementing
    it in the form but when it writes the value back to the same column in the same secondary datasource it doesn't give any indication that it didn't work.  But when I look at the list of the secondary data source I see that the integer value is
    not updated.

    Hi Jonas,
    You can attach your Excel doucment into InfoPath form and send InfoPath form to a custom web service. Then you can parse the Excel data and combine the Excel data and additional fields into SharePoint list in the customized  web service.
    For more information, you can have a look at the thread:
    http://dandeng.blogspot.com/2012/03/submit-infopath-form-data-to-web.html
    http://www.codeproject.com/Articles/88547/Submit-entire-InfoPath-form-to-web-service
    https://social.msdn.microsoft.com/Forums/office/en-US/590f1e78-5c08-47bd-8af4-9709102b568d/webservice-to-send-attachments-in-infopath-form-to-different-location?forum=sharepointcustomization
    https://msdn.microsoft.com/en-us/library/office/gg575571.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • DataSource.Error: SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error.

    Seeing this error when retrieving data from a SharePoint list. I have full access to the list. Any help would be appreciated.
    DataSource.Error: SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error. (An error occurred while processing this request.)
    Details:
    https://xyz/_vti_bin/ListData.svc/ListName
       

    I think I figured out how to use Fiddler. Here's the information I captured-
    This is a Tunnel. Status: OPEN, Raw Bytes Out: 3,797; In: 7,604
    The selected session is a HTTP CONNECT Tunnel. This tunnel enables a client to send raw traffic (e.g. HTTPS-encrypted streams or WebSocket messages) through a HTTP Proxy Server (like Fiddler).
    To enable Fiddler's HTTPS-decryption feature and view decrypted traffic, click Tools > Fiddler Options > HTTPS.
    Request Count:   1
    Bytes Sent:      107  (headers:107; body:0)
    Bytes Received:  107  (headers:107; body:0)
    Tunnel Sent:     3,797
    Tunnel Received: 7,604
    ACTUAL PERFORMANCE
    ClientConnected: 11:06:11.389
    ClientBeginRequest: 11:06:11.395
    GotRequestHeaders: 11:06:11.395
    ClientDoneRequest: 11:06:11.395
    Determine Gateway: 0ms
    DNS Lookup:   176ms
    TCP/IP Connect: 77ms
    HTTPS Handshake: 0ms
    ServerConnected: 11:06:11.649
    FiddlerBeginRequest: 11:06:11.649
    ServerGotRequest: 11:06:11.649
    ServerBeginResponse: 00:00:00.000
    GotResponseHeaders: 00:00:00.000
    ServerDoneResponse: 00:00:00.000
    ClientBeginResponse: 11:06:11.649
    ClientDoneResponse: 11:06:11.649
     Overall Elapsed: 0:00:00.254
    -= Fiddler Event Log =-
    See http://fiddler2.com/r/?FiddlerLog for details.
    10:33:33:8092 Fiddler Running...
    10:33:33:8118 Fiddler.Network.AutoProxy> AutoProxy Detection failed.
    10:33:33:8118 AutoProxy failed. Disabling for this network.
    10:33:33:8118 Windows 8+ AppContainer isolation feature detected.
    11:01:21:4125 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4145 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4185 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4258 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4268 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4298 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4398 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4398 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4518 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4518 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4528 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:4828 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:5789 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:5820 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:5879 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:6179 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:6530 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
    11:01:21:6924 HTTPSLint> Warning: ClientHello record was 382 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance

Maybe you are looking for

  • Another: a serious error has occurred that requires Adobe Premiere Pro to shut down

    I know a few people have had the same notification: sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down. We will attempt to save your current project I have tried a whole series of things to fix it and no luck. Here are

  • Mass Maintenance of freight rates

    Hi, How do I mass maintain the freight rates (TK 11, 12, 13) We presently have rates ( about 2000) from one carrier X -Y 01/01/2010 - 01/31/2039 I want to expire the rates by the end 02/27/2011 Is there any transaction for mass expiring of rates inst

  • Web part throwing exception at run time but not in debug mode

    The below code is throwing exception at run time but does not throw exception while debugging in Visual Studio. This is really causing difficulty for me to detect the cause of exception. Below I have also placed the exception image for reference. nam

  • Saving Photo's from MMS

    My girlfriend sent me pictures from her Blackberry and when i opened them they were fine. However after saving these images and looking at them in my photo album, the phone had modified the pictures to be stretched and not as good as when they were i

  • How do I get the keyboard back to the bottom?

    Since ios 7.0.2 installed, the keyboard has moved to center of screen. How do I move it back to where it belongs? Several issues since this download!