Updating a custom field in ItemCheckingIn event of pages library of publishing portal.

I have Pages Library of publishing web. In this pages library I have a content type that has a  few custom fields.
When ever a page is created and checked in in this library I want to send out  an update email to users.  The function that sends the email returns an Id to track the mails sent.
I want to store this id to the one of the custom  fields of the content type attached to this pages library. 
If I use item checkingIn event then list item is available but when i update it gives  error probably due to the fact that in synchronous item the item is not yet created.
If i use  CheckedIn  event then it executes after the file is checked in , in that case it  gives error asking me to check  out the file first and the update the custom field.
Please  suggest the best way to update a  field in document library in synchronous event handlers or in asynchronous event handlers in the simplest of ways.
I do not want to check out the file in asynchronous event programatically for just one field and then re check it in.

 
Hi,
According to your post, my understanding is that you want to update list item in ItemCheckedIn method in Event Receiver.
The following code snippet for your reference:
/// <summary>
/// List Item Events
/// </summary>
public class EventReceiver1 : SPItemEventReceiver
/// <summary>
/// An item was checked in.
/// </summary>
public override void ItemCheckedIn(SPItemEventProperties properties)
SPListItem item = properties.ListItem;
item["Title"] = "Test1";
item.Update();
If the issue still exists, I suggest you debug your code or provide your code for further research.
http://sharepoint-kings.blogspot.com/2013/02/debugging-event-receivers-in-sharepoint.html
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • How to update a custom field of MARC table using BAPI_MATERIAL_SAVEREPLICA

    Hi,
    I want to update a custom field (Appended field) of MARC table using  BAPI_MATERIAL_SAVEREPLICA. Please help me in this issue. I cannot use BAPI_MATERIAL_SAVEDATA as this updated the MARC table record by record. I have to update bulk records at a time.
    Thanks
    Rahul.

    Hi,
    Use the Documentation given for struture in BAPI docuemntation...
    For loading data into custom fields of MARC use the structure - BAPI_TE_MARC.
    First, structures BAPI_TE_<NAME> (<NAME> = MARA, MARC, MARD, MBEW, MLGN, MLGT, MVKE, MARM, MAKT) and the appropriate check structures BAPI_TE_<NAME> (<NAME> = MARAX, for example) have to be extended by the customer to include the required fields. The structures that are delivered as standard only contain the relevant key fields. When new fields are added to this structure, you should ensure that a field has the same name as the field in the database table. Furthermore, the fields in the structures BAPI_TE_<NAME> can only be CHARACTER fields. Data element BAPIUPDATE is to be used for the fields in the check structure (exception to this: key fields.)
    Parameters EXTENSIONIN and EXTENSIONINX are used for transferring data to the method. Field STRUCTURE contains the name of the structure (for example, BAPI_TE_MARA or BAPI_TE_MARAX). This names is used to identify the work area (for example,  WA_BAPI_TE_MARA or WA_BAPI_TE_MARAX) to which the data is transferred. The remaining fields in parameters EXTENSIONIN or EXTENSIONINX contain data for the key fields (for example, the material number) and the data for customer-specific fields. The number of characters reserved in both parameters for the contents of the customer-specific fields must match the number of characters for the relevant field in the work area. If the number of required characters is less, the remaining characters are left blank. Only when all characters have been filled can the contact for an additional field be transferred. Bear in mind that only data for which an appropriate indicator has been set in the work area can be updated to the database.
    Regards,
    Bhargava

  • How to update a custom field in declarative workflow with VS 2013

    Hello,
    How to update a custom field in declarative workflow with VS 2013
    any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    Dear all,
    I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
    for creating PR via ME51N.
    I found an EXIT_SAPLEBND_001 and tried to implement it,
    but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
    thanks very much.
    Regards,
    Billy

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • Update Equipment Custom fields

    Hi Experts,
    I have a custom fields ZZOUTDT(Start date) in table EQUI.
    I want to update this custom field for Equipment.
    Is there any Bapi where I can pass this field value to update in Equipment?
    Please suggets.
    Helpful answers will be rewarded.
    Thanks
    Anukool

    hi,
    generally any standard programa will not contain the custom fields.
    did u create tht field in any transaction.
    if not then u have to write a program to update tht table.
    or u identify the exits which trigger for that table and try to populate that fields using that exit.

  • Custom field in Account Partners Edit page

    Need to display a new custom field in Account Partners Edit page. We are not able to find the object definition of "Account Partners" which we can edit. Is option of adding a custom field in Account Partners Edit available in CRMOD? Will enabling "Partner Relationship Management" help in this regard?

    At this time it is not possible to add a custom field in the Account Partners Edit. I would recommend submitting a enhancement request to CRM On Demand customer care.

  • 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.

  • Updating ERDK custom field

    I have a custom field zbill_type in ERDK table and based on the custom field of the same name in table ERCH,i need to update the bill key date(billing_period) and custom field bill type in table ERDK.
    I would like to know if there is any exit/badi/fqeevent/function module to achieve the same.
    Thanks,
    Shreeraj

    Thanks for your replies.I used event R436 and it worked fine.I would like to now update the bill type for aggregated invoices in ERDK using my consumer invoice's bill type.The process is that for the aggregated post document find the document nos for this aggregated post doc in DFKKTHi.Based on the document nos retrieved,i will put these document nos in DFKKKO's reference doc field and get the print document nos.Using these print documents obtained,i will get my bill type and bill key date from ERDK table.Using these bill types and bill key date,i will update it for aggregated invoice doc which is identified by the field RF(Aggregated bill) in ERDK.Is it ok if i code this logic in R436 event itself, i am not too sure about it since the above mentioned process is carried out after completing EASIBI.
    Thanks,
    Shreeraj

  • Using Power Query to Update Project Custom Fields

    Is Power Query in Excel 2013 able to do Bi-directional updates for updating Enterprise Custom Project fields in PWA 2013?

    So to update data you would need to either use one of the following APIs:
    PSI
    CSOM
    JSOM
    JSOM REST
    Always try and use one of the client side API's if possible (PSI is a server side API). I'm not sure you will be able to do this via Excel though, I would look at a custom app , web part etc.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Updation of Custom fields in MBEWH from MBEW

    Hi ABAPpers,
    Can anyone give me any clarity  if I append same structure in both MBEW and MBEWH, then during the update will these custom fields also gets updated? Or do we have any other procedure to do this?
    Edited by: VKUPPILI on Dec 9, 2011 1:17 PM

    Hi,
    The append field will be  the ZFILEDS that you add. Those will not get updated automatically but proper enhancements has be written to pass values to that field. The include where you can start to have a look is LMBMMF20 (FORM MBEW_UPDATE)..
    Hope that Helps
    Anirban M.

  • Updation of Custom Fields in AFRU table Using Customerexit

    Hi all,
    I added two fields in CO11n Tcode using SCREEN EXIT - CONFPP07 and iam trying to update these two fields in AFRU table
    using CONFPP05.  But iam unable to update these two field .
    see this code in CONFPP05
      LOOP AT afrud_tab.
        afrud_tab-zzshift = wa_afrud-zzshift1 .
        afrud_tab-zzoperator = wa_afrud-zzoperator1 .
        MODIFY afrud_tab.
      ENDLOOP.
    Plz help me regarding this..

    Thanks for reply
    Ya i added two fields in confpp07 .
    see the code :
    *&  Include           ZXCOFTOP
    tables : afrud.
    DATA : WA_AFRUD TYPE AFRUD,
            IT_AFRUD TYPE TABLE OF AFRUD.
    Include           ZXCOFU24
    MOVE afrud-zzshift1 TO wa_afrud-zzshift1.
    MOVE afrud-zzoperator1 TO wa_afrud-zzoperator1.
    Even though it is not updating . except these two fields.
    Regards,
    Srinivas

  • PSI Bulk Project update on Custom Field lookup tables.

    Using PSI Is it possible to update project custom filed which has a lookup table. I tried but it throws the following exception
    An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll
    Additional information: ProjectServerError(s) LastError=CICOCheckedOutInOtherSession Instructions: Pass this into PSClientError constructor to access all error information
    Any Idea on this.
    VIKRAM

    Hello,
    If you are trying to update the lookup table values, see this PowerShell example:
    https://gallery.technet.microsoft.com/Update-Server-Lookup-table-bb1ae14f
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Master Datasource Update for custom fields

    I have a standard master data source for 0customer, I need some custom fields that are enhanced in the same SoURCE TABLE KNA1. please let me know if
    1.  i can create the generic data source Z_DS_CUSTOMER for custom fields only from KNA1
    2. Create transformation 1 to Map the data source Z_DS_CUSTOMER to Ocustomer to load the custom fields only and set no transformation for other standard fields
    3. Create transformation 2 to Map the data source 0customer_attr to same Ocustomer to load the standard fields.set no transformation for other custom fields
    4. Then Load via DTP Standard fields first via transformation 2
    5. Then Load via DTP custom fields first via transformation 1
    Will the above will work fine, and I can avoid any enhancement to master datasource 0customer_attr
    please help me with solution.
    Regards
    Soniya
    null

    Hi all my dear friends,
    I have seen the recommendation by my SAP collegue and Anil
    1. infoobject as Target and
    2. in between Standard DSO
    1 transformations as you mentioned from 1 IS
    3. Common Info source
    2 transformations as you mentioned from 2DS
    4. Datasources (2no's ) as source to splly to data to DSO
    <b>Please tell me what is the need to do all the above why can't I feed directly the Infoobject with the below PLEASE tell me what will be the bad impact on design if I do the below</b>.since my client is asking<b> justification for build of each BI object</b>
    1. infoobject as Target and
    1 transformations as  mentioned from 1 IS
    2. Common Info source
    2 transformations as mentioned from 2DS
    3. Datasources (2no's ) as source to splly to data to DSO
    I am not going for enhancement since it is not populating the datasource in rsa3. if you can correct that it would be great.
    I have the same code for all custom fields none of them is working no records are pulled in RSA3 For custom field ZZSTAT.
    Please help me with this
    Thanks
    Soniya Kapoor
    *data: l_BIW_KNA1_S like BIW_KNA1_S
    *case i_datasource.
    *WHEN ' 0CUSTOMER_ATTR'.
    *loop at C_t_data into l_BIW_KNA1_S
    *l_tabix = sy-tabix.
    *clear  I_KNA1.
    *select single * from KNA1 into i_KNA1 where kunnr = l_BIW_KNA1_S-kunnr.
    *if sy-subrc = 0.
    *l_BIW_KNA1-ZZSTAT = I_KNA1-ZINSTAT.
    *modify C_t_data from l_BIW_KNA1 index l_tabix.
    *endif.
    *endloop.
    *endcase.

  • Adding Custom fields to SRM 5.0 & placing them in the portal (SC)

    Hi,
    I am having some trouble with adding custom fields to the SRM 5.0 portal Shopping Cart.
    I know that in order to have the custom fields appear, you first need to add them to the INCL_EEW_PD_ITEM_CSF & INCL_EEW_PD_ITEM_CSF_SC tables.
    However, how do you control where the fields appear in the SC portal? I know that BADI bbp_cuf_badi_2 exists, but it doesn't allow you to place the fields where you want them to appear. Can you use screen variants for custom fields?
    Please help.
    Thanks You.

    Bump!

  • Updating the CUstomer fields in mARC table using BAPI_MATERIAL_SAVEREPLICA

    Hi friends,
    I want to update the Zfields in MARC table .Please provide me the details for updating these fields (Extension in bapi) Using the  BAPI_MATERIAL_SAVEREPLICA
    Thanks in advance

    Hi Varsha,
    There is documentation provided for this funtion module:
    If long texts (for example, basic data texts, internal notes, purchasing info texts, material notes or sales and distribution texts) or customer-specific fields have to be created for a material, some specific characteristics have to be taken into consideration. These characteristics are detailed in the documentation for parameters MATERIALLONGTEXT and EXTENSIONIN.
    Documentation is present for the parameters by clicking on EXTENSIONIN, EXTENSIONINX
    Regards,
    Swarna Munukoti

Maybe you are looking for

  • How to call webservices in BSP and ABAP

    I am new to use webservices.Please help me to call a ABAP Webservice in ABAP program and How to call a other Webservice like Java Webservice in ABAP.  Please give me steps to follow. Thanks, Suneetha.

  • PM - Restric IQ02 to level of plant

    HI, I need restrict teh access to transaction IQ02 (with role) to level of "Plant" (SerData), but this transaction only restrict maintenance plant and planning plant. 1) A new authorization object has been created, for this field name (B_WERK) 2) The

  • How to use 1-Year Limited Warranty on defective earphones with Remote and Mic?

    Hi everyone. I am wondering how I get my pair of earphones I bought last week at Best Buy "serviced" because the left side is not working correctly - it makes a strange humming sound when used on all devices I own while the right lacks the sound. I h

  • OWB Error: Connection lost when assign a schedule to a process flow

    I have: - OWB 11Gr2 - Oracle DB 10Gr2 Source/Target I have created a schedule module and set the location to be one of the target DB locations. Create a one of schedule and scheduled for daily execution. Open configuration of a process flow and assig

  • Calling labview executable from teststand

    I have a labview VI that I build into an exe, and I'd like to call it from my teststand sequence in the setup - other test steps need to use its capabilities in the remainder of the sequence (main).  If it were just a VI, then no problem, the inputs