Synchronize recursive tree with edit form

Hi,
I am trying to synchronize recursive tree with form, i have followed this post exactly Oracle ADF Developer: ADF - Synchronizing form with recursive tree
the first level of the tree works but the inner levels does not.
I am using JDEV 11.1.2.3

Try sample 83 here -
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples

Similar Messages

  • ALV Tree with editable checkbox

    Hi all,
    I have a ALV Tree with editable checkbox (for all the parent & leaf  nodes) , as one of the column.On clicking of a button in toolbar , i should get the nodes which are checked in checkbox.
    But the problem is i am not able to get the nodes which are checked through checkbox in the PAI of the screen,when the button is clicked.
    I tried using    
    CALL METHOD wf_tree->get_checked_items             
                           IMPORTING
                           et_checked_items = lint_selected_node.
    but the return table is not containing any entries , even if check boxes are checked in ALV tree.I tried the GET_CHECKED_ITEMS method in event handler method of AFTER_USER_COMMAND and also CHECKBOX_CHANGE , but no success.
    lfs_item_layout-fieldname = 'CHECK'.
      lfs_item_layout-class = cl_gui_column_tree=>item_class_checkbox.
      lfs_item_layout-editable = 'X'.
      lfs_item_layout-CHOSEN = 'X'.
      APPEND lfs_item_layout TO lint_item_layout.
    CALL METHOD wf_tree->add_node
        EXPORTING
          i_relat_node_key = p_lfs_final_key
          i_relationship   = cl_gui_column_tree=>relat_last_child
          i_node_text      = l_node_text
          is_outtab_line   = p_gfs_final
          is_node_layout   = lfs_node
          it_item_layout   = lint_item_layout
        IMPORTING
          e_new_node_key   = p_loc_qmnum_key.
    Friends ,if you can suggest something.
    Thanks
    Abhijeet

    hi ,
    i have written below code for registering the CHECKBOX_CHANGE event of CL_GUI_ALV_TREE.
    APPEND lfs_event TO lint_events.
        lfs_event-eventid = cl_gui_column_tree=>eventid_CHECKBOX_CHANGE.
      APPEND lfs_event TO lint_events.
      CALL METHOD wf_tree->set_registered_events
        EXPORTING
          events                    = lint_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3.
      IF sy-subrc EQ 0.
    *    MESSAGE X208(00) WITH 'ERROR'.                          "#EC NOTEXT
      ENDIF.
          SET HANDLER lo_event_receiver->handle_checkbox_change FOR wf_tree.
    *      SET HANDLER lo_event_receiver->handle_button_click FOR wf_tree.
        ENDIF.
    Also according to below code , i have put a break point in the event handler method of CHECKBOX_CHANGE event , so that control shall come here when check box is checked on ALV tree ...
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
    *      handle_checkbox_change FOR EVENT checkbox_change OF cl_gui_alv_tree,
    *              importing fcode.
    *      handle_button_click FOR EVENT AFTER_USER_COMMAND OF cl_gui_alv_tree
    *        IMPORTING ucomm,
          handle_CHECKBOX_CHANGE for event checkbox_change of cl_gui_alv_tree
            importing CHECKED
                      FIELDNAME
                      NODE_KEY.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    *       CLASS lcl_event_receiver IMPLEMENTATION
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_checkbox_change.
        data : lint_selected_node TYPE LVC_T_CHIT.
        BREAK abhijeetg.
    *   CHECKED
    *   FIELDNAME
    *   NODE_KEY
    *    case fcode.
    *      when 'SELALL'.
    *        perform select_all.
    *    CALL METHOD WF_TREE->GET_OUTTAB_LINE
    *      EXPORTING
    *        I_NODE_KEY     =
    **      IMPORTING
    **        e_outtab_line  =
    **        e_node_text    =
    **        et_item_layout =
    **        es_node_layout =
    **      EXCEPTIONS
    **        node_not_found = 1
    **        others         = 2
    *    IF SY-SUBRC <> 0.
    **     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *    ENDIF.
    *    call method cl_gui_cfw=>dispatch.
        CALL METHOD wf_tree->get_checked_items
          IMPORTING
            et_checked_items = lint_selected_node.
        break abhijeetg.
      ENDMETHOD.         
    ENDCLASS.
    So according to you , I should get the control in the break point , but its not happening with this .. any thing missing ???
    Edited by: abhijeet_7013 on Jun 21, 2011 10:31 PM

  • CLOSED- Recursive Tree with Recursive Table and seperate Relationship table

    Hi All,
    I am trying to achieve a adf recursive tree with recursive table but relationships are stored in separate table like
    Table A:
    id name
    1 Val1
    2 Val2
    3 Val3
    4 Val4
    5 Val5
    Table B:
    fromid rel_type toid
    1 Parent-of 2
    2 Parent-of 3
    3 Parent-of 4
    1 Parent-of 5
    I did lots of reading from forum and various posts but couldn't make it work.
    Any suggestion what would be best approach and/or sample code for this ?
    Thanks

    I think that you can get this done by defining a VO that fetches all the top level nodes and have a view link to a VO that has all the details with a self recursive viewlink
    Query for the top level
    Select A.id, A.name
    from A
    Where A.id not in (select disctinct toid from B)
    Query for the detail level
    Select A.id, A.name, B.from, B.to
    from A,b
    where a.id = b.toid;
    ViewLink is going to be:
    detail.from=master.id
    and another viewlink for the recursive relationship
    detail.from=detail.to

  • What is the best method of making revisions to a PDF document with editable form fields?

    I created several documents/forms in Microsoft Word in order to use tables for formatting, then turned them into PDFs using Acrobat X Pro.  The auto form field recognition feature in Acrobat doesn't always recognize every field in the document, so I had to manually create some of them and alter their properties for correct font size, scroll long text, etc.  I now need to revise / add more information to the documents.  The only thing I know to do is to make these revisions to the original Word document, save as PDF, and redo all editable form fields again.  Is there an easier way to edit these documents while keeping the current editable fields and their properties?  Thanks.

    Thank you!  That seems to work fine and keeps my old editable form fields.

  • I need to substitute the default font (times roman) in my editable form fields with a san serif...

    I am making a PDF with editable form fields out of InDesign CS6. When I make the interactive PDF, the font, Helvetica Neue  is being substituted with the default font, Times Roman. The client has provided me with last years PDF which has a nice San Serif for the editable fields. I need to change the font either to Helvetica Neue, or at least to a nice San Serif common system font. I have Acrobat X.
    Thanks in advance!!

    I called a friend of mine who walked me through this so I will post the instructions for anyone else who may be having this problem...
    1. Open the PDF with the form fields in a recent version of Acrobat.
    2. Click on the Toolls tab.
    3. Under Forms, click Edit.
    4. Now you will see your fields listed under "Field" > "Sort by"...  "Text Field 1"...  etc.
    5. Holding "control" click where it says "Text Field 1" and some options will pop up.
    6. Click on "Properties".
    7. A "Text Fields Properties" window will pop up.
    8. Click on the "Appearance" tab.
    9. Here you can change your fonts and font sizes.
    Good luck!

  • How-to synchronize edit forms for a single View Object tree node entrie

    Hi all,
    I created a tree from a single View Object,
    follow this [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/32-tree-table-from-single-vo-169174.pdf]
    then i want to create and synchronize edit forms for tree node entries,
    follow this [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/50-synchromize-form-treeselection-169192.pdf]
    but it not working when i click child node!!
    i found the latter tree from many View Object ,but the former tree from single View Object.
    what should i do?
    Thanks in advance

    Hi,
    say the tree is built from ViewObject1. In the AM model, create a second View Object instance for this. Say ViewObject2. Create the form from ViewObject2 and the tree from ViewObject1. When creating the tree, use the"Target Data Source" option at the bottom to reference the iterator of ViewObject2. Then create a PartialTrigger on the paneFormLayout that holds the synch form. In the partial trigger property, reference the tree so that when the tree selection changes, the form is updated. Then create a PartialTrigger property on the tree and point it to the submit button of the form so you can show updated values in the tree.
    Frank

  • How to build a BIG TREE with Tree-Form layout

    Hi,
    I do have a self-referenced table with our org structure - 15 000 positions.
    I do want to create a tree with this structure.
    Requirements :
    a, to have a tree-form layout
    b, to have search capabilities
    I have tried to use several combinations (maybe all)
    - from using only one View object and create recursive tree - doesn't even run
    - to use two View objects, first as top level nodes, the other as the rest - it runs
    but I can search only top level, and what is worse, by clicking on the node for showing additional information (tree-form layout) I'm waiting for ages for seeing the info
    (it seems that all records are loaded one by one into AS)
    Could you provide some ideas how to deal with this ?
    Thanks.

    I am sorry, this is beyond the scope of this forum.
    As with any functionality not directly provided by JHeadstart, you can build it yourself using the ADF design time tools in JDeveloper. Please use the JDeveloper forum for help on this first step.
    Then, to keep your pages generatable you can move these customizations to custom templates. We are happy to help you with this last step, should you have problems there.
    Steven Davelaar,
    JHeadstart Team.

  • Editable Recursive Tree

    hi evreyone
    I need to create an editable tree based on (one table called Locations)
    this is the structure of this table
    LocationNo
    LocationName
    ParentLocationNo
    LocationNo and ParentLocationNo are Forign keys
    according to what I've red I should use a recursive tree (Self-Reference forign key)
    using a view that represent the tree (nodes & branches)
    how can I create this tree (with Details Steps) ?
    I am using
    Jdeveloper 11.1.1.2.0
    JHeadstart 11.1.1.2.29
    thanks

    hi
    According to chapter 5 "Creating Tree Layouts", 5.7.4 "Variation: Recursive Tree"
    I've created a Recursive Tree based on table call (Location)
    but the problem is how can I refresh the data ... I mean .. How can I See the new record that I've
    created in the same tree without moving in it (to make a refresh)
    thanks

  • Create a tree with recursive call for sub-rows

    Hello,
    I would like to create a generated menu dynamically created from values returned by sql.
    Structure is as follow :
    Menu
      |
      +-- MenuItem <--+
             |        |
             +--------+I can't know the maximum depth of the menu.
    How can I create a dynamic tree for ADF to display a tree or a hierarchical view properly without having to define a ViewLink / level ? (i.e. without hardcoding the maximum depth)
    I created a simple Application Module with VO:
    MenuVO
      + MenuItemVO (using VL1 between MenuItem and Menu)
          + SubMenuItemVO (using VL2 between MenuItem and MenuItem, father / child link)Using the Oracle BC Navigator to test this, I can see that a dynamic tree is available, how can I have it in a JSP page ?
    Using the hierarchy viewer component it's possible, but how can I do this with an ADF Tree ?

    You can easily create a recursive tree level rule on the MenuItemVO via a parent/child view link (get rid of SubMenuItemVO). Look at this example http://www.oracle.com/technetwork/developer-tools/adf/learnmore/32-tree-table-from-single-vo-169174.pdf
    The only difference is your recursion is going to be at MenuItemVO level.
    Edited by: 948181 on 2012/07/31 4:07 PM

  • Error with Provider Hosted App on Edit Form of a list item

    We have an error on the Edit Form of one of our pages.
    We have developed a SharePoint Online Provider Hosted app which replaces the standard edit form of a list item and has some further events behind the save button. Since this is rather new territory for us, we're using a roundabout way of achieving this by
    using a script editor web part to display an iFrame of our app. That way we can pass the Url through to our app and retrieve query strings from them.
    Our issue comes quite intermittently in that we sometimes get a "web page cannot be found" error or sometimes a "resource cannot be found" error, however, when we load another app on the site (from the same app project, but using an app
    part), then go back to the Edit Form, the information in the iFrame suddenly renders.
    Any ideas on what might be causing this issue at all? Ideally, we should be rendering the app to the Edit Form is the proper manner, rather than scripting an iFrame that points to out app in Azure. Would this be the cause of the problem?
    Thanks
    Tom

    Hi thumper, if you have access to InfoPath, you can add the form to a page using the InfoPath web part. Otherwise, use SP Designer with instructions below:
    http://sharepoint.stackexchange.com/questions/70287/display-new-form-of-a-list-in-a-web-part-page
    cameron rautmann

  • Issues with editing in Acrobat 5 with Form and link tool

    In my version of Acrobat 5, I used to be able to edit with the form and link tools. Now for example if I try to add an action in the execute menu item in the Field Properties (Form tool or Link mode), it brings up a splash window saying 'Please select the menu item you want to execute from the menu bar' and that is it, It does not bring up a list so I  can not add an executable item.
    PowerBook G4 (ti) - Mac OS X 10.4.11
    Any ideas, as it is really frustrating.

    Ok... so I have created a file in InDesign and exported it as a .pdf to create an interative document.
    I am trying to add next page from page 1 and so on, and also hyperlinks to e-mail addresses.
    I create a box by dragging using Form Tool (F) whereby Field properties window pops up.
    I Name the item and choose what type of button I require, and modify the settings in Appearance.
    When I then go to choose an Action... I choose mouse up, then Add... which brings up the Add an Action window.
    I choose 'Execute Menu Item' from the drop down list and then try to 'Edit Menu Item' this brings up a further window 'Menu Item' with the message "Please select the menu item you want to execute from the menu bar" and here I try to choose the type of item I need to execute.
    I have tried clicking on the item on the menu bar, but it makes a faint sound when I click with my mouse... but no no item is executed.
    I have done this before with previous documents, but not for a while... but it does not seem to want to do it this time around.
    However, I can execute the following in the same window 'Edit Menu Item'
    Import Form Data
    JavaScript
    Movie
    Open File
    Read Article
    Reset Form
    Show/Hide Field
    Sound
    Submit Form
    World Wide Web Link
    Any thoughts?

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

  • Editable column in tree with columns

    Hello,
    I’m constructing a tree with columns with CL_GUI_COLUMN_TREE class and I want to set one of the columns as text type and editable.
    ¿Do you know how? If I could do it with another class I would also be glad to try it.
    Thanks.

    Hi,
    Please refer the links,
    Tree element: How to make nodes editable
    CL_GUI_COLUMN_TREE editable?
    Regards,
    Hema.
    Reward points if it is useful.

  • Change Linked to Document with Edit Menu Column in Forms Library

    Hi!
        I am using a Forms Library, which I have associated with a Infopath Form, and there is that column "Name" which is linked Edit Menu... I do not want to use this column "Name" which is basically a FileName, so if I hide this "Name" column, how can I use an other column like ID (for eg) to link to document with edit menu...
        I'll appreciate any advice on this... Thanks in Advance

    Steve - Open the page in SP designer and in design mode hover over an item in the column a little '>' should show, click it and you can choose the options, however in SP2013 the design mode is gone so here is how it looks in the code of the page for adding
    a menu to the 'ActiveSite' column, note you need to do this in every location the column is used, which may make this not workable?
    <ViewFields>
    <FieldRef
    Name="Attachments"/>
    <FieldRef
    Name="LinkTitle"/>
    <FieldRef
    Name="SiteURL"
    />
    <FieldRef
    Name="ActiveSite"LinkToItem="TRUE"
    ListItemMenu="TRUE"/>
    </ViewFields>
    http://sharepointsurfer.wordpress.com/.

  • Load Dropdownlist with share point groups in Edit Form of workflow List

    Hi ,
      I have created a created a workflow for template approval process  when i edit the workflow task ,i would need to show 
    two drop down list 
    Memeber Group :Load sharepoint groups
    Assigned to :Display members from selected group.
    Could you tell  me how to implement this.
    Regards,
    .Net User

    Hi .Net User,
    Based on your description, do you mean that you want to show two drop down lists in the workflow tasks list’s edit form?
    And, do you want to display all the SharePoint Groups and all the members in the specific SharePoint Group that you select from the Group drop down list?
    Per my knowledge, we can add two new Task Form Fields to display the “Assigned To” column’s value of the current task, and the Approval Task Process’s Participant Groups, however, we cannot get all the SharePoint Groups in the workflow tasks list’s edit
    form using SharePoint Designer 2010.
    To implement it, please follow the steps as below.
    Click on the “Approval” of the action in the workflow, add two new Task Form Fields named “Assigned To Member”, “Member Group” with “Single line of text” type.
    Click on “Change the behavior of a single task” in the “Customization”, add two “Set Task Field” actions in “Before a Task is Assigned” section as below:
          Set Task Field ““Assigned To Member” to “Current Task: Assigned To” with “Display Name”, Set Task Field “Member Group” to “Task Process: Participant List” with “Display Names, Semicolon Delimited”.
      3.  Publish the workflow and test if it works in your environment.
    Then, the result is shown as below:
    Best Regards,
    Yumi Fu

Maybe you are looking for

  • Adapt my 2007 13" white Macbook to connect to TV.

    I just bought a Mini DVI to HDMI adapter cable so I could use my 37" Samsung TV as a display. The Mini DVI connector does not fit the display connecter on my Macbook. My Macbook manual says it has a Mini Display Port. Do I need a Mini Display to HDMI

  • CALL_FUNCTION_NOT_FOUND dump on RFC eventhough it exists and is active.

    Hi, From SRM system in a BAdi, I am calling a custom function module (RFC) which exists in remote ECC system to make certain checks. The problem is that when the system calls the customer function module, it gives dump in ST22 as : Runtime Errors : C

  • Can't run fingerprint software, after installation ( and a few format c:... )

    Hi, maybe somebody has similarly problem... After fresh windows ( XP prof) on a t61 all of windows updates, I was trying to install fingerprint reader software. Installation was OK, but first running show license agreement, that's the end - software

  • Cant hear ringer tone when calling others nor can hear who im calling

    okay so everytime i make a call for the frist time i cant hear the ringer tone nor can hear the person im calling. they say they can hear me perfectly but the only thing i hear is my own voice, i see the call outgoes the iphone because the call timer

  • Problem in comparing Two String

    Hi friends I have a strange Problem, i am able to find out the Reason for this problem. In my Program i use a JTextField with implements the FocusListener. i just get the Text of this JTextField and retrive a record from DataBase which is Equal to th