SharePointCommunity
Die deutschsprachige Community für SharePoint, Microsoft 365, Teams, Yammer und mit Azure

Sponsored by

Willkommen im Forum Archiv.
Einträge sind hier nicht mehr möglich, aber der Bestand von 12 Jahren SharePoint-Wissen ist hier recherchierbar.




Visual Studio - SharePoint 2010 Felder in der Custom Newform werden nicht angezeigt

Unbeantwortet Dieser Beitrag hat 3 Antworten

Ohne Rang
302 Beiträge
Ardenda erstellt 4 Juni 2014 23:45
SchlechtSchlechtIn OrdnungIn OrdnungDurchschnittDurchschnittGutGutSehr gutSehr gut

Hallo zusammen,

 

ich habe ein DataFormwebpart für meine NewForm. Die Newform hat mehrere Tabs.

Wenn ich nun ein standard Feld wie ein Titel oder Author etc. anzeigen möchte dann geht das. Wenn ich aber eines meines eigens erstellten Felder aus der Solution verwenden möchte geht das nicht. 

Beispiel:

Feld wird nicht angezeigt

<SharePoint:FormField runat="server" id="ReportYear" ControlMode="New" FieldName="ReportYear"__designer:bind="{ddwrt:DataBind('i',concat('ReportYear','$Pos'),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@ReportYear')}"/>

Feld wird angezeigt

<SharePoint:FormField runat="server" id="ReportYear" ControlMode="New" FieldName="title"/>

Hinweis:

Wenn ich die Felder außerhalb des DataFormWebparts setze und mit Fieldset arbeite werden die Felder angezeigt. Weiß da einer einen Rat? Ich komme da wirklich nicht weiter?  

Oder wenn ich aus dem SharePoint:Formfield ein ASP:Dropdown mache wird das Feld auch angezeigt (halt ohne Inhalt).

 

Danke schon mal ;-)

 

Hier ein Auszug

 

<WebPartPages:DataFormWebPart runat="server" Description="" PartOrder="2" Default="FALSE" HelpLink="" AllowRemove="True" IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True" ExportControlledProperties="True" DataSourceID="" Title="Product Portfolio Dataset" ViewFlag="8" NoDefaultStyle="TRUE" AllowConnect="True" DisplayName="Product Portfolio Dataset" PageType="PAGE_NEWFORM" FrameState="Normal" PageSize="-1" PartImageLarge="" AsyncRefresh="False" ExportMode="All" Dir="Default" DetailLink="" ShowWithSampleData="False" ListId="fdf95bc4-321e-4f2f-aff2-68c482e0db5b" ListName="{fdf95bc4-321e-4f2f-aff2-68c482e0db5b}" FrameType="Default" PartImageSmall="" IsIncluded="True" SuppressWebPartChrome="False" AllowEdit="True" ManualRefresh="False" AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="True" ViewContentTypeId="" InitialAsyncDataFetch="False" MissingAssembly="Cannot import this Web Part." HelpMode="Modeless" ID="g_0558dd7b_1dfb_4607_8422_4170c3da7965" ConnectionID="00000000-0000-0000-0000-000000000000" AllowZoneChange="True" IsIncludedFilter="" __MarkupType="vsattributemarkup" __WebPartId="{0558DD7B-1DFB-4607-8422-4170C3DA7965}" __AllowXSLTEditing="true" WebPart="true" Height="" Width=""><ParameterBindings>

 

<ParameterBinding Name="ListItemId" Location="QueryString(ID)" DefaultValue="0"/>

 

<ParameterBinding Name="ListID" Location="None" DefaultValue="{fdf95bc4-321e-4f2f-aff2-68c482e0db5b}"/>

 

<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>@Title,Title;@ReportYear,Report Year;@Region,Region;@Country,Country;@CoreProduct,Core Product;@SubProduct,Sub Product;@InsurancePartner,Insurance Partner;@NewUsed,New/Used;@PremiumType,PremiumType;@Branding,Branding;@Bundling,Bundling;@LocalActivities,Local Activities;@VehicleSegments,Vehicle Segments;@CustomerSegments,Customer Segments;@DistributionChannels,Distribution Channels;@PortfolioComments,Portfolio Comments;@AcquisitionRenewal,Acquisition/Renewal;@GrossCommissionFromInsurer,Commission From Insurer;@LocalInsuranceUnit,therof Local Insurance Unit;@FIManager,thereof F&amp;I Manager;@Dealer,thereof Dealer;@Salesman,thereof Salesman;@ExternalBroker,thereof External Broker;@ProfitShareFromInsurer,Additional commission from Insurer;@MarketingContributionOrBonus,Marketing Contribution Or Bonus;@InsurerCommissionPayments,Insurer Commission Payments;@LocalUnitCommissionsPayments,Local Unit Commissions Payments;@ExternalComplianceRequirements,External Compliance Requirements regarding Commissions;@CompliancePerson,Who monitors the compliance of existing commission schemes?;@InternalExternal,Are compliance schemes monitored internally or externally?;@CommissionComments,Commission Comments;@InsurerBroker,Insurer/Broker;@OngoingRunoff,Ongoing/Run-off;@RetailEmployee,Business Lines;@ExpiryRenewalDate,Fixed Expiry/Renewal Date;@SignedContract,Signed Contract in place?;@NoticePeriod,Notice Period of contract termination;@AntiBriberyClause,Exists an Anti-Bribery Clause?;@ImplementAntiBriberyClause,If NO: When do you plan to implement an Anti-Bribery Clause?;@RelationshipComments,Relationship Comments;@InboundOutbound,Inbound/Outbound;@CallCenter,Call Center;@AntiBriberyClause1,Anti-Bribery Clause?;@TESTCommissionGuideline,TEST Commission Guideline;@WrittenCooperationAgreement,Written Cooperation Agreement;@IncentiveScheme,IncentiveScheme;@Beneficiary,Beneficiary;@TESTIncentiveProgramCriteria,TEST Incentive Program Criteria;@ComplianceResults,Compliance Results;@InsuranceIntermediaryLicence,Insurance Intermediary Licence;@KeyDistroChannelComments,Additional Information;@TypefDiscount,Type of Discount;@FromMPC,From MPC;@FromLocalImporter,From Local Importer;@FromDealers,From Dealers;@InsurerDiscountComments,Comments;@Amount,Amount;@FinancialTransactionType,Financial Transaction Type;@CoverageFormat,CoverageFormat;@FiscalYear,Fiscal Year;@SelfInsuranceReason,Reason for Self Insurance?;@SelfInsuranceRisk,Risks of Self Insurance;@DeductibleValue,Agreed Deductible on current stop loss level;@SelfInsuranceAdvantages,Self-Insurance Advantages;@SelfInsuranceDisadvantages,Self-Insurance Disadvantages;@IsSelfInsuranceApplicable,Is Self-Insurance applicable?;@InsurerDiscountsApplicable,Are Insurer Discounts Applicable?;@LAMarketResearch,LAMarketResearch;@LAProductDevelopment,LAProductDevelopment;@LAMarketCommunication,LAMarketCommunication;@LASales,LASales;@LAContractHandling,LAContractHandling;@LACustomerQuotation,LACustomerQuotation;@LAApplicationCompletion,LAApplicationCompletion;@LAContractActivation,LAContractActivation;@LAHandlingOfContractRelatedReque,LAHandlingOfContractRelatedRequests;@LABilling,LABilling;@LAPolicyRenewalTermination,LAPolicyRenewalTermination;@LAClaimsRegistration,LAClaimsRegistration;@LAClaimsVerificationSettlement,LAClaimsVerificationSettlement;@FormCompleteness,Status;@Target_x0020_Audiences,Target Audiences;@ItemKeyColumn,ItemKeyColumn;@DateOfContractSigned,Date of contract signed;@AutomaticallyRenewal,Automatically renewal;@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;</DataFields>

 

<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/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"/><table border="0" width="100%" />

 

</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="ProductPortfolio">

 

<table border="0" width="100%">

 

<xsl:call-template name="dvt_1.body">

 

<xsl:with-param name="Rows" select="$Rows"/>

 

</xsl:call-template>

 

</table>

 

</span>

 

 

</div>

 

</xsl:template>

 

<xsl:template name="dvt_1.body">

 

<xsl:param name="Pos" select="position()" />

 

 

<xsl:param name="Rows"/>

 

<tr>

 

<td class="ms-toolbar" nowrap="nowrap">

 

<table>

 

<tr>

 

<td colspan="4">

 

<div id="Status"><SharePoint:FormField runat="server" id="ff85{$Pos}" ControlMode="New" FieldName="FormCompleteness" __designer:bind="{ddwrt:DataBind('i',concat('ff85',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@FormCompleteness')}"/>

 

</div>

 

</td>

 

</tr>

 

<tr>

 

<td width="99%" class="ms-toolbar" nowrap="nowrap"><span id="GlobalErrorMessage"><img src="http://sp2010/sites/Dev/d01/css/exclamation.png"></img> Please check the fields on the marked sections!</span><IMG SRC="/_layouts/images/blank.gif" width="1" height="18"/></td>

 

<td class="ms-toolbar" nowrap="nowrap"><span id="SaveButton1"><SharePoint:SaveButton runat="server" ControlMode="New" id="savebutton1" RedirectUrl="~sitecollection" /></span>

 

</td>

 

<td class="ms-separator">

 

<xsl:text xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" ddwrt:nbsp-preserve="yes" disable-output-escaping="yes">&amp;nbsp;</xsl:text>

 

</td>

 

<td class="ms-toolbar" nowrap="nowrap" align="right">

 

<SharePoint:GoBackButton runat="server" ControlMode="New" id="gobackbutton1"/>

 

</td>

 

</tr>

 

</table>

 

</td>

 

</tr>

 

 

<tr>

 

<td>

 

<div id="page-wrap">

 

<div id="wait">

 

<p class="msg">The form is being loaded.</p>

 

<p><img src="http://sp2010/sites/Dev/d01/css/hourglass.png" alt="Wait"></img></p>

 

</div>

 

<div id="tabs">

 

    <ul>

 

        <li><a href="#tab-1"><span>Product Portfolio</span></a></li>

 

        <li><a href="#tab-2"><span>Commissions</span></a></li>

 

        <li><a href="#tab-3"><span>Relationships</span></a></li>

 

        <li><a href="#tab-4"><span>Operational Model</span></a></li>

 

        <li><a href="#tab-5"><span>Insurer Discounts</span></a></li>

 

        <li><a href="#tab-6"><span>Self-Insurance</span></a></li>

 

    </ul>

 

 

 

    <button class="previous-product">Previous Tab</button> <button class="next-product">

 

Next Tab</button>

 

<span id="ProductTitle"></span>

 

<xsl:call-template name="dvt_1.rowedit">

 

<xsl:with-param name="Pos" select="concat('_', position())" />

 

</xsl:call-template>

 

<xsl:call-template name="dvt_1.rowedit2">

 

<xsl:with-param name="Pos" select="concat('_', position())" />

 

</xsl:call-template>

 

<xsl:call-template name="dvt_1.rowedit3">

 

<xsl:with-param name="Pos" select="concat('_', position())" />

 

</xsl:call-template>

 

<xsl:call-template name="dvt_1.rowedit4">

 

<xsl:with-param name="Pos" select="concat('_', position())" />

 

</xsl:call-template>

 

<xsl:call-template name="dvt_1.rowedit5">

 

<xsl:with-param name="Pos" select="concat('_', position())" />

 

</xsl:call-template>

 

<xsl:call-template name="dvt_1.rowedit6">

 

<xsl:with-param name="Pos" select="concat('_', position())" />

 

</xsl:call-template>

 

</div>

 

  </div>  

 

</td>

</tr>

 

 

</xsl:template>

 

<!-- ++++++++++++++++++++++++++   TAB 1   ++++++++++++++++++++++++++++++++++++++++++-->

 

<xsl:template name="dvt_1.rowedit">

 

<xsl:param name="Pos" select="position()"/>

        <fieldset>

     <div id="tab-1">

 

<table border="0" cellspacing="0" width="100%">

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Report Year<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ReportYear" ControlMode="New" FieldName="ReportYear" __designer:bind="{ddwrt:DataBind('i',concat('ReportYear','$Pos'),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@ReportYear')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff1description{$Pos}" FieldName="ReportYear" ControlMode="New"/>--></td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Region<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="Reagion1" ControlMode="New" FieldName="Region" __designer:bind="{ddwrt:DataBind('i',concat('Reagion1',''),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Region')}"/>

 

<!-- <SharePoint:FieldDescription runat="server" id="ff2description{$Pos}" FieldName="Region" ControlMode="New"/>--></td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Country<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="Country" ControlMode="New" FieldName="Country" __designer:bind="{ddwrt:DataBind('i',concat('ff3',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Country')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff3description{$Pos}" FieldName="Country" ControlMode="New"/>--></td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Core Product<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" FieldName="CoreProduct" __designer:bind="{ddwrt:DataBind('i',concat('ff4',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@CoreProduct')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff4description{$Pos}" FieldName="CoreProduct" ControlMode="New"/>--></td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Sub Product<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff5{$Pos}" ControlMode="New" FieldName="SubProduct" __designer:bind="{ddwrt:DataBind('i',concat('ff5',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@SubProduct')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff5description{$Pos}" FieldName="SubProduct" ControlMode="New"/>--></td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Insurance Partner<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="New" FieldName="InsurancePartner" __designer:bind="{ddwrt:DataBind('i',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@InsurancePartner')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff6description{$Pos}" FieldName="InsurancePartner" ControlMode="New"/>-->

 

<span class="s4-clust" style="position: relative; width: 10px; display: inline-block; height: 10px; overflow: hidden;"><br></br>

 

<img style="position: absolute; top: -128px !important; left: 0px !important;" alt="" src="/_layouts/images/fgimg.png" complete="complete"/></span><a class="ms-addnew" id="idHomePageNewItem" onclick="AddInsurancePartnerValue()"> Add New Insurance Partner Value</a>

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>New/Used<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff7{$Pos}" ControlMode="New" FieldName="NewUsed" __designer:bind="{ddwrt:DataBind('i',concat('ff7',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@NewUsed')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff7description{$Pos}" FieldName="NewUsed" ControlMode="New"/>-->

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Premium Type<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff8{$Pos}" ControlMode="New" FieldName="PremiumType" __designer:bind="{ddwrt:DataBind('i',concat('ff8',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PremiumType')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff8description{$Pos}" FieldName="PremiumType" ControlMode="New"/>-->

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Branding<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff9{$Pos}" ControlMode="New" FieldName="Branding" __designer:bind="{ddwrt:DataBind('i',concat('ff9',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Branding')}"/>

 

<SharePoint:FieldDescription runat="server" id="ff9description{$Pos}" FieldName="Branding" ControlMode="New"/>

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Bundling<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff10{$Pos}" ControlMode="New" FieldName="Bundling" __designer:bind="{ddwrt:DataBind('i',concat('ff10',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Bundling')}"/>

 

<SharePoint:FieldDescription runat="server" id="ff10description{$Pos}" FieldName="Bundling" ControlMode="New"/>

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Vehicle Segments<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody ">

 

<SharePoint:FormField runat="server" id="ff12{$Pos}" ControlMode="New" FieldName="VehicleSegments" __designer:bind="{ddwrt:DataBind('i',concat('ff12',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@VehicleSegments')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff12description{$Pos}" FieldName="VehicleSegments" ControlMode="New"/>-->

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Customer Segments<span class="ms-formvalidation"> *</span>

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody ">

 

<SharePoint:FormField runat="server" id="ff13{$Pos}" ControlMode="New" FieldName="CustomerSegments" __designer:bind="{ddwrt:DataBind('i',concat('ff13',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@CustomerSegments')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff13description{$Pos}" FieldName="CustomerSegments" ControlMode="New"/>-->

 

</td>

 

</tr>

 

<tr>

 

<td  valign="top" class="ms-formlabel">

 

<H3 class="ms-standardheader">

 

<nobr>Portfolio Comments

 

</nobr>

 

</H3>

 

</td>

 

<td  valign="top" class="ms-formbody">

 

<SharePoint:FormField runat="server" id="ff15{$Pos}" ControlMode="New" FieldName="PortfolioComments" __designer:bind="{ddwrt:DataBind('i',concat('ff15',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PortfolioComments')}"/>

 

<!--<SharePoint:FieldDescription runat="server" id="ff15description{$Pos}" FieldName="PortfolioComments" ControlMode="New"/>-->

 

</td>

 

</tr>

 

</table>

 

</div>

                </fieldset>

 

</xsl:template>

Alle Antworten

Ohne Rang
19231 Beiträge
Andi Fandrich Als Antwort am 5 Juni 2014 08:20
SchlechtSchlechtIn OrdnungIn OrdnungDurchschnittDurchschnittGutGutSehr gutSehr gut

[quote user="Ardenda"]Feld wird angezeigt

<SharePoint:FormField runat="server" id="ReportYear" ControlMode="New" FieldName="title"/>[/quote]

Baue Deine Felder einfach so ein, alles andere ist nur irgendwelcher Krempel für SharePoint Designer. Bei FieldName="" mußt Du den exakten internen Feldnamen angeben, dann funktioniert das.

PS: bitte nicht solche Mengen Code posten - das liest kein Mensch durch.

Viele Grüße
Andi
af @ evocom de
Blog
Ohne Rang
302 Beiträge
Ardenda Als Antwort am 5 Juni 2014 09:03
SchlechtSchlechtIn OrdnungIn OrdnungDurchschnittDurchschnittGutGutSehr gutSehr gut

Hi Andi,

das hatte ich schon probiert. Das geht nicht.

Wie gesagt wenn ich es als Fieldset mache geht es. Benötige aber das XSLT zeugs.

Ohne Rang
19231 Beiträge
Andi Fandrich Als Antwort am 5 Juni 2014 09:25
SchlechtSchlechtIn OrdnungIn OrdnungDurchschnittDurchschnittGutGutSehr gutSehr gut

Dann hast Du irgendwo einen Fehler. Der kann auch im XSLT sein und damit verhindern, daß das Feld gerendert wird. Über ein FormField mit korrekt angegebenem InternalName geht es auf jeden Fall.

Viele Grüße
Andi
af @ evocom de
Blog