Custom view in onet.xml?

I'd like to create a custom view in my custom site definition, but I'd like to avoid unnecessary complexity. An extra feature that completely redefines an oob list in order to change a single default value to be used only once strikes me as, to not use
the phrase "extremely retarded", kind of silly. I'd much rather keep everything, I guess, still scattered all over the place, but slightly less so. Is it at all possible to define a custom view in onet.xml? The goal is to have a task
list without a timeline on the default page.

1. Save Site As Template can be basis for your solution, and in no means it should be left as-is. It should be cleaned up, IMO, anytime you import it to VS and create your own solution. Yes, 130 files and few thousand of XML is really too much.
2. Timeline is displayed as separate web part in custom sites (at least we used it that way). You can turn it of by simply using appropriate view in your ListViewWebPart, as the timeline is in fact "ProjectSummaryWebPart". Of course, you need to define that
view first in schema.xml for your list.
Dragan Panjkov [http://www.dragan-panjkov.com]

Similar Messages

  • How to Create a Configuration Manager Console Custom View

    I am trying to create an assembly per the SDK example here:
    https://msdn.microsoft.com/en-us/library/hh948614.aspx
    I have added the assemblies per this article:
    https://social.technet.microsoft.com/Forums/en-US/5d74d30d-295b-4c51-8518-abdabbad731b/console-extension-custom-view-development?forum=configmanagersdk
    Now most of my references resolve but at compile time I get:
    Error 1 'MyCustomView.MyViewDescription' does not implement interface member 'Microsoft.ConfigurationManagement.AdminConsole.IConsoleView.TypeOfView'. 'MyCustomView.MyViewDescription.TypeOfView' cannot implement an interface member because it is
    not public. \MyCustomView\Class2.cs 21 18 MyCustomView
    Error 2 'MyCustomView.MyViewDescription' does not implement interface member 'Microsoft.ConfigurationManagement.AdminConsole.IConsoleView2.TypeOfViewController'. 'MyCustomView.MyViewDescription.TypeOfViewController' cannot implement an interface
    member because it is not public. \MyCustomView\Class2.cs 21 18 MyCustomView
    Error 3 'MyCustomView.MyViewDescription.TypeOfViewController': no suitable method found to override MyCustomView\Class2.cs 23 33 MyCustomView
    Error 4 'MyCustomView.MyViewDescription.TypeOfView': no suitable method found to override MyCustomView\Class2.cs 24 33 MyCustomView
    Error 5 'MyCustomView.MyViewDescription.TryConfigure(ref System.Xml.XmlElement)': no suitable method found to override MyCustomView\Class2.cs 24 109 MyCustomView
    I have been hunting around with a couple of decompilers looking for missing references etc for a few hrs and just can't seem to see what I am missing...
    I have included the code block here - typically of course I would not include multiple classes in the same CS file but for this POC it should be fine...
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.ConfigurationManagement.AdminConsole;
    using Microsoft.ConfigurationManagement.AdminConsole.Views.Common;
    using Microsoft.ConfigurationManagement.AdminConsole.Schema;
    using System.Reflection;
    using System.Xml;
    using Microsoft.EnterpriseManagement.UI.WpfViews;
    using Microsoft.ConfigurationManagement.AdminConsole.ConsoleView;
    namespace MyCustomView
    public class MyViewController : OverviewControllerBase { public MyViewController() : base() { } public override void EndInit() { base.EndInit(); this.Content = new Label() { Content = "My Content" }; } }
    public class MyViewDescription : IConsoleView2
    override protected Type TypeOfViewController { get { return typeof(MyViewController); } }
    override protected Type TypeOfView { get { return typeof(Overview); } } public override bool TryConfigure(ref XmlElement persistedConfigurationData) { return false; }
    new public bool TryInitialize(ScopeNode scopeNode, AssemblyDescription resourceAssembly, ViewAssemblyDescription viewAssemblyDescription) { return true; }

    Hi Alfonso,
    I did eventually release the console extension (see screen shot at the bottom of the page
    here).
    It has been a while since I worked on this code but as I remember, once I got the references straightened out (see this thread), a lot of the confusion I had was just understanding that some of the programming that had to be done was in WPF (not WinForm).
     The sample code from Microsoft does work though.
    I never was able to figure out how to tie the "tree node menu item" functionality into the Ribbon (at the top of the SCCM console) so that is still on my TODO list.  
    So, my advice to you is to start with the Microsoft example code (which I did) from the SCCM SDK and if you get compile time errors, look first for the SCCM assembly references (Microsoft.[ConfigurationManagement, ConfigurationManagement.ManagementProvider,
    EnterpriseManagement.UI.Foundation, EnterpriseManagement.UI.WpfViews) and then at the WPF assembly references (PresentationCore, PresentationFramework) for missing class references.
    I hope this information can help you.  Good luck sir! 
    Anthony LaMark

  • How i hide a field of a custom view in OAF 11

    Hi, im a new developer of OAF11.
    What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
    What I did was modify the XML of the page to add the field and then extended the original AM.
    I added the extended view into the custom AM to prevent that fail with the field that i insert.
    I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
    I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
    I Try to customize the driver involved with the page, but nothing happened.
    First try it on the controller Father and after the son.
    The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
    The code that attempts to hide the field is:
    OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
    if (oaviewobject1 != null)
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String vCustomType = (String)row.getAttribute("TypeName");
    if (vCustomType.equals("Blanket Agreement"))
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    else
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    Can anyone help me?
    If im grong other solution that i think is:
    How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.
    Thanks!!!

    Hi Yichao,
    Chk these links
    https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
    thanks and regards
    srikanth.p

  • Built in viewer not displaying XML report

    we are working on a test system that was originally developed elsewhere, using TestStand 4.0. It is generating XML report files, but not using the default NI schema, instead using both it's own 'custom' schema and reportgen sequence file for the report formatting. When it was running in TS 4.0, it all appeared to operate correctly, i.e. once the execution had come to an end, the built in TS viewer showed the XML file formatted correctly as defined in the XSL file.
    For a variety of reasons, we have needed to upgrade to TS 4.2.1, and as a result, the built in report viewer no longer displays the XML report at teh end of an execution. Instead, it shows an error ...
    'The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'file:///C:/<file_path>/TempReport.xml'
    Looking in the <file_path>, there is a TempReport.xml file, which is empty, hence the error message, but there is also the correct xml file, with data in. Clicking on the 'Viewer' button in the built in report viewer kicks off IE, which correctly shows the saved report file, complete with the formatting as defined in the xsl file, so it would appear that the custom reportgen sequence is still doing it's job correctly, just that the built in viewer has a problem... (Incidentally, if you try to refresh the viewer, as suggested in the error message, it brings back the same error, but repetatively creates a new TempReport file, with a number appended...)
    I've traced through the sequence model (this is the default model) and the tempReport file is only created when the sequence model finishes, (In fact checking the value of the Locals.ReportFilePath variable right at the end of the sequence model shows the correct filename...) suggesting that it is not a sequence problem, but rather something built into TS? (I saw some comment on another forum entry suggesting that a temp file is created when using IE as an external viewer, to prevent a memory leak)
    Realistically this is not a major problem, but it has got to the level of annoying now, having to open an external viewer even though the built in one is loaded by default... I'm guessing that the built in viewer is just a simple browser? if so, why is it being passed the wrong file/creating an empty xml file. If I set the report back to standard xml, I see the report ok, but without the formatting.
    It seems odd that this breaks in TS 4.2.1 but works fine in 4.0, when TS is meant to be backwardsly compatible
    Any ideas would be gratefully received...

    Thanks for the suggestion Anand... As it turns out, you were very nearly right. It turned out that it wasn't actually the stylesheet path that was causing the error, but instead the original developers had over-ridden the use of the standard NI xml report handler sequence to use one of their own, by setting the ReportOptions.format to a different name from xml. In the Setup Reports Display sequence call (uses a sequence in the modelsupport.seq file) there was a pre-condition on the format name, and as it no longer contained just xml, the precondition failed, and the sequence call that sets up temporary paths etc. never ran. I added an additional precondition state, to check for either xml, or the format used in this case, and everything sprung back into action. I'm not sure whether something similar was done previously in TS 4.0...
    Is there a list of these known problems in TS 4.2.1? I did look around the NI site a bit before posting the initial question, and didn't see anything that seemed to detail this...
    Once again, thanks for your assistance

  • Console Extension Custom View development

    Hi,
    I am trying to get started on developing a SCCM 2012 SP1 Console Extension (Custom View) for a removable media security solution. 
    My goal is to mimic the "Assets and Compliance"->"Endpoint Protection"->"Antimalware Policies". 
    I have created the XML so that a tree-node displays correctly under the "Endpoint Protection" parent node by following "How to Create Node XML for a Configuration Manager
    Console Grid View" (yep, that is the easy part :-) ).
    Where I need some help is creating the corresponding assembly dll.  I thought following the SDK documentation "How to Create a Configuration Manager Console Custom View" would
    be a great start and thought there might be a related sample in the SDK but this page leaves me with the following questions (I hope someone can answer):
    1.  What Configuration Manager reference assembly contains IConsoleView2? 
         I have added Microsoft.ConfigurationManagement.ManagementProvider as a reference assembly and added a using (C#) for every namespace in the assembly but IConsoleView2 still does not resolve.
    2.  The documentation is saying to subclass OverviewControllerBase but I can find no documentation on what this class is.
    Thanks in advance,
    Tony
    Anthony LaMark

    Hi Alfonso,
    I did eventually release the console extension (see screen shot at the bottom of the page
    here).
    It has been a while since I worked on this code but as I remember, once I got the references straightened out (see this thread), a lot of the confusion I had was just understanding that some of the programming that had to be done was in WPF (not WinForm).
     The sample code from Microsoft does work though.
    I never was able to figure out how to tie the "tree node menu item" functionality into the Ribbon (at the top of the SCCM console) so that is still on my TODO list.  
    So, my advice to you is to start with the Microsoft example code (which I did) from the SCCM SDK and if you get compile time errors, look first for the SCCM assembly references (Microsoft.[ConfigurationManagement, ConfigurationManagement.ManagementProvider,
    EnterpriseManagement.UI.Foundation, EnterpriseManagement.UI.WpfViews) and then at the WPF assembly references (PresentationCore, PresentationFramework) for missing class references.
    I hope this information can help you.  Good luck sir! 
    Anthony LaMark

  • JTextPane custom views keyboard problem

    Hi,
    I am trying to implement a custom view in the JTextPane. The view is appearing fine but the keyboard cursor movements are not working. The cursor no longer moves from line to line as it used to when using the arrow keys. However Iam able to move from the end of 1 line to the start of next line. This is when I override section view with my custom view.
    In another case, when I override paragraph view, then the cursor size is equal to the paragraph height and I get a tall cursor the size of the paragraph. I can no longer navigate the lines in the paragraph.
    Could someone tell me why this is happening.
    cheers,
    Hugo
    My views are setup as follows:
         class XmlViewFactory implements ViewFactory {
              // Creates the XML View.
              public View create(Element elem) {
                     String kind = elem.getName();
                if (kind.equals(AbstractDocument.ContentElementName)) {
                                 return new LabelView(elem);
                         else if (kind.equals(AbstractDocument.ParagraphElementName)) {                     
                                   return new ParagraphView(elem);
                         } else if (kind.equals(AbstractDocument.SectionElementName)) {
                              return new ResponseView(elem);                         //  <-------     my custom view
              //                return new BoxView(elem, View.Y_AXIS);
                         } else if (kind.equals(StyleConstants.ComponentElementName)) {
                             return new ComponentView(elem);
                         } else if (kind.equals(StyleConstants.IconElementName)) {
                             return new IconView(elem);
                    return new LabelView(elem);             

    Hi,
    Here's an update to my earlier question.
    The problem happend to be not with any custom views as earlier mentioned. The following usage doesn't work.
      if (kind.equals(AbstractDocument.ContentElementName)) {
                      return new LabelView(context, elem);
                  else
                  if (kind.equals(AbstractDocument.ParagraphElementName)) {
                            return new ParagraphView(elem);
                  } else if (kind.equals(AbstractDocument.SectionElementName)) {
                       return new BoxView(elem, View.Y_AXIS);
                  } else if (kind.equals(StyleConstants.ComponentElementName)) {
                      return new ComponentView(elem);
                  } else if (kind.equals(StyleConstants.IconElementName)) {
                      return new IconView(elem);
               return new LabelView( context, elem);even when no custom view is involved. I get a blank JTextPane.
    cheers
    OV

  • UWL custom view

    I'm not an espert by any means in this area but I am trying to add a custom view to the UWL with approve and reject buttons so the user does not have to open each workitem to process them. I have managed to get the subview to appear on the UWL but no workitems are in the list despite there being some in the main view. I have put the XML code below, anyone have any ideas what is wrong with it?
    Thanks
    Rob
    Code:
    <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE UWLConfiguration (View Source for full doctype...)>
    - <UWLConfiguration version="1.0">
    - <ItemTypes>
    - <ItemType name="uwl.task.webflow.decision.TS92000003.Finance_and_HR" connector="WebFlowConnector" defaultView="myApprovalView" defaultAction="viewDetail" executionMode="default">
      <ItemTypeCriteria systemId="Finance_and_HR" externalType="TS92000003" connector="WebFlowConnector" />
    - <Actions>
    - <Action name="Approve" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no">
      <Descriptions default="Approve" />
      </Action>
    - <Action name="Reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no">
      <Descriptions default="Reject" />
      </Action>
      </Actions>
      </ItemType>
      </ItemTypes>
    - <Views>
    - <View name="myApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.TS92000003" columnOrder="statusIcon, subject, creatorID, createdDate, dueDate, priority, approveCol, rejectCol" sortby="createdDate:descend, priority:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="-1" dueDateSevere="0" dueDateWarning="0" emphasizedItems="unread" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" tableNavigationHeaderVisible="no">
    - <Descriptions default="Application Mass Approval">
    - <ShortDescriptions>
      <Description Language="en" Description="Application Approval" />
      </ShortDescriptions>
      </Descriptions>
    - <DisplayAttributes>
    - <DisplayAttribute name="rejectCol" type="checkbox" width="" sortable="no" format="default" actionRef="2" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes">
    - <Descriptions default="">
    - <ShortDescriptions>
      <Description Language="en" Description="Reject" />
      </ShortDescriptions>
    - <LongDescriptions>
      <Description Language="en" Description="Reject the request" />
      </LongDescriptions>
      </Descriptions>
      </DisplayAttribute>
    - <DisplayAttribute name="approveCol" type="checkbox" width="" sortable="no" format="default" actionRef="1" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes">
    - <Descriptions default="">
    - <ShortDescriptions>
      <Description Language="en" Description="Approve" />
      </ShortDescriptions>
    - <LongDescriptions>
      <Description Language="en" Description="Approve the request" />
      </LongDescriptions>
      </Descriptions>
      </DisplayAttribute>
      </DisplayAttributes>
    - <Actions>
    - <Action name="1" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no">
      <Descriptions default="1" />
      </Action>
    - <Action name="2" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no">
      <Descriptions default="2" />
      </Action>
      <Action reference="submitUserDecisions" defaultGroupAction="no" returnToDetailViewAllowed="yes" launchInNewWindow="no" />
      </Actions>
      </View>
      </Views>
      </UWLConfiguration>

    Hi,
    Check this blog may be usefull.
    Flashy UWL ...
    Complete customization of UWL UI.
    Thanks and Regards,
    gopal

  • Hide or Remove the Navigation "Heading" in ONET.XML

    Hello guys,
    I am creating a custom template (onet.xml) where I would like to Hide/Remove/Delete a particular Heading - in the below picture I wanna remove "Lists" so whenever my template will be provisioned there will no Heading "Lists".
    Help would be appreciated.
    Thanks.

    Here we are 
    private void DeleteHeading(SPWeb web)
    try
    foreach (SPWeb webs in web.Site.AllWebs)
    iterateWebs(webs);
    catch (Exception ex)
    WriteLog(ex);
    static void iterateWebs(SPWeb web)
    PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
    if (publishingWeb != null)
    if (publishingWeb.Navigation.CurrentNavigationNodes != null)
    SPNavigationNodeCollection nodeColl = publishingWeb.Navigation.CurrentNavigationNodes;
    int count = nodeColl.Count;
    while (count != 0)
    if (nodeColl[count - 1].Title == "Libraries" || nodeColl[count - 1].Title == "Lists")
    nodeColl[count - 1].Delete();
    count--;

  • How does one clear Custom Views (Administrative Events) in the Event Viewer?

    Windows Logs and Applications and Services Logs have a "clear log" option; however, I am puzzled how to edit/delete Administrative Events?Eighter from Decatur, county seat of Wise (of course it's in Texas)

    Ronnie Vernon said: Hi p010ne
    The Custom View / Administrative Events is a compilation of all the other event logs in the Event Viewer.
    Entries in this log will be removed when the log where the event originated from is cleared.
    Hope this helps.
    Ronnie Vernon MVP
    I thought that was the case; however, I cleared all the other logs! This is an example of an entry in this log: Log Name:      Microsoft-Windows-Dhcpv6-Client/AdminSource:        Microsoft-Windows-DHCPv6-Client
    Date:          1/17/2009 7:52:33 AM
    Event ID:      1001
    Task Category: Address Configuration State Event
    Level:         Error
    Keywords:      
    User:          LOCAL SERVICE
    Computer:      Windows7
    Description:
    Your computer was not assigned an address from the network (by the DHCP Server) for the Network Card with network address 0x000129F558C5.  The following error occurred: 0x79. Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DHCPv6-Client" Guid="{6A1F2B00-6A90-4C38-95A5-5CAB3B056778}" />
        <EventID>1001</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>74</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2009-01-17T13:52:33.858398400Z" />
        <EventRecordID>202</EventRecordID>
        <Correlation />
        <Execution ProcessID="1088" ThreadID="864" />
        <Channel>Microsoft-Windows-Dhcpv6-Client/Admin</Channel>
        <Computer>Windows7</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="HWLength">6</Data>
        <Data Name="HWAddress">000129F558C5</Data>
        <Data Name="StatusCode">121</Data>
      </EventData>
    </Event>
    When I search for "Microsoft-Windows-DHCPv6-Client" I do not find that file?
    OK, I found the entrys in the Microsoft section (DHCPv6-Client) and am able to clear them there! 
    Eighter from Decatur, county seat of Wise (of course it's in Texas)

  • Create SiteCollection and assign Property to be used in onet.xml

    Hi,
    I need to create a SiteCollection and I want o assign during a creation a propertybag value or something similar that can be used from SiteFeatures that fire during processing of the onet.XML.
    any idea?
    Sven

    Hi,
    You can achieve this using SharePoint Feature Stapling feature.  You can create your custom property using Feature stapling feature and attached the feature to the site template.
    Whenever you create a site collection, there will be custom property will be available.  You can set this property value using any one of the following options.
    PowerShell
    CSOM
    JavaScript
    Server-side code.
    Or use the CodePlex solution to set the property bag value.  The following is the link for codeplex solution
    SharePoint Property Bag Settings 2013
    The following two links will be helpful for your similar solution
    SharePoint Feature Stapling: Create the Feature
    SharePoint Feature Stapling: Staple the Feature
    Please mark it answered, if your problem resolved or helpful.

  • CRM 5.2 - Custom view error

    Hi all,
    In an earlier post i asked how to add a copy of a standard assignment block to a standard view.
    I succeeded in this. Now i am in the process of changing the data which is displayed. For this i created a custom model and added an additional context node to my custom view. During debugging it walks through my custom code for retrieving data, so i guess i customized it right.
    But.... in my IC webclient i now get the following exception:
    Cannot display view BP_BPBT/AccountActivitiesReportsOV
    An exception has occurred Exception Class  CX_BSP_INV_ATTR_NAME - BSP exception: An attribute with the name "ZBUILACTIVITYREPORTS" is not defined 
    Method:  CL_BSP_PAGE_BASE=>IF_BSP_PAGE~SET_ATTRIBUTE 
    Source Text Row: 16
    I guess i missed a step somewhere, but can't seem to pinpoint it out....
    Anyone who has experience with the same or has some helpfull input?
    Ps: My repository.xml looks okay.
    Kind regards,
    Martijn de Jong.

    Normally the wizard does all of this for you, but since you have some issues, the only way to fix this is via manual intervention.  If you really want to understand what the wizard is doing, then you need to read the following OSS note: 882476.
    Yes this is for CRM 4.0, but describes how to manually enhance an IC webclient view.  The wizards does most of the same steps, however not everything is going to be same.  You can then follow this and look at your custom piece to see if classes and views and controllers have been extended correctly.
    This note really is what made working with CRM 52 extensions easy, because once you have done one manual extension in CRM 40, you understand how the CRM webclient is structured from a mvc framework in 52/2007.  The workbench tools/wizard just make life easier and feasible.
    Take care,
    Stephen

  • To remove Personalize button from a Custom View

    Hi,
    I have created a Custom View, and in this view it is displaying two 'Personalize' buttons and 'export to spreadsheet' buttons.
    I have to remove one of them.
    Plz suggest something for this.
    As, i also tried to use "IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS " but this is of no help.
    Regards,
    Sharad

    Hi,
    In one of my views i have written this code in the view layout.
    <chtmlb:tableExtension tableId = "ResultList"
                           layout  = "FIXED" >
      <chtmlb:configTable xml                   = "<%= lv_xml %>"
                          id                    = "ResTable"
                          navigationMode        = "BYPAGE"
                          onRowSelection        = "select"
                          table                 = "//ZACC/TABLE"
                          width                 = "100%"
                          hasLeadSelection      = "TRUE"
                          visibleRowCount       = "<%= lv_lines %>"
                          actionsMaxInRow       = "4"
                          selectionMode         = "<%= ZACC->SELECTION_MODE %>"
                          selectedRowIndexTable = "<%= ZACC->SELECTION_TAB %>"
                          selectedRowIndex      = "<%= ZACC->SELECTED_INDEX %>"
                          visibleFirstRow       = "<%= ZACC->visible_first_row_index %>"
                          usage                 = "SEARCHRESULT"
                          showNoMatchText       = "FALSE" />
    </chtmlb:tableExtension>
    So, any one can help me out if these buttons can be removed from here.

  • Creating Custom Views

    Good Morning Experts,
    I'm having an issue creating custom views for my custom class. I exported the MP the incident class views are stored in (ServiceManager.IncidentManagement.Configuration.XML) and tried to mimic the code, but I seem to be having issues.
    I have an RMA class, but I only have one view for it. Basically when a user clicks on my RMA view it shows ALL RMA tickets created. I need some separate sub-views within RMA the way there are sub-views on the other OOB classes. The first one I tried copying
    was the "Active Tickets" view (show only tickets that do not have status set to "Resolved" or "Closed").
    I added a category as follows:
    <Category ID="Category.RMA.Subviews.OpenStatusView.Category" Target="RMA.Subviews.OpenStatusView" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.UI.Console.ViewTasks" />
    The view is defined as follows:
    <View ID="RMA.Subviews.OpenStatusView" Accessibility="Public" Enabled="true" Target="COMPANY.RMA.Class" TypeID="SMConsole!GridViewType" Visible="true">
    <Category>NotUsed</Category>
    <Data>
    <Adapters>
    <Adapter AdapterName="dataportal:EnterpriseManagementObjectAdapter">
    <AdapterAssembly>Microsoft.EnterpriseManagement.UI.SdkDataAccess</AdapterAssembly>
    <AdapterType>Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectAdapter</AdapterType>
    </Adapter>
    <Adapter AdapterName="viewframework://Adapters/AdvancedList">
    <AdapterAssembly>Microsoft.EnterpriseManagement.UI.ViewFramework</AdapterAssembly>
    <AdapterType>Microsoft.EnterpriseManagement.UI.ViewFramework.AdvancedListSupportAdapter</AdapterType>
    </Adapter>
    <Adapter AdapterName="omsdk://Adapters/Criteria">
    <AdapterAssembly>Microsoft.EnterpriseManagement.UI.SdkDataAccess</AdapterAssembly>
    <AdapterType>Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.SdkCriteriaAdapter</AdapterType>
    </Adapter>
    </Adapters>
    <ItemsSource>
    <AdvancedListSupportClass DataTypeName="" AdapterName="viewframework://Adapters/AdvancedList" FullUpdateAdapter="dataportal:EnterpriseManagementObjectAdapter" DataSource="mom:ManagementGroup" FullUpdateFrequency="1" Streaming="true" IsRecurring="true" RecurrenceFrequency="{x:Static s:Int32.MaxValue}" xmlns="clr-namespace:Microsoft.EnterpriseManagement.UI.ViewFramework;assembly=Microsoft.EnterpriseManagement.UI.ViewFramework" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib">
    <AdvancedListSupportClass.Parameters>
    <QueryParameter Parameter="TypeProjectionId" Value="$MPElement[Name='COMPANY.RMA.Class.Projection']$" />
    </AdvancedListSupportClass.Parameters>
    </AdvancedListSupportClass>
    </ItemsSource>
    <Criteria>
    <QueryCriteria Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd">
    <Criteria>
    <FreeformCriteria>
    <Freeform>
    <Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
    <Expression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='COMPANY.RMA.Class']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>NotEqual</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="WorkItem!IncidentStatusEnum.Resolved"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='COMPANY.RMA.Class']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>NotEqual</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="WorkItem!IncidentStatusEnum.Closed"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </And>
    </Expression>
    </Criteria>
    </Freeform>
    </FreeformCriteria>
    </Criteria>
    </QueryCriteria>
    </Criteria>
    </Data>
    <Presentation>
    <Columns>
    <mux:ColumnCollection xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mux="http://schemas.microsoft.com/SystemCenter/Common/UI/Views/GridView" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:datebinding="clr-namespace:Microsoft.EnterpriseManagement.UI.Extensions;assembly=Microsoft.EnterpriseManagement.UI.Extensions" xmlns:data="clr-namespace:Microsoft.EnterpriseManagement.UI.Extensions;assembly=Microsoft.EnterpriseManagement.UI.Extensions" xmlns:appCommon="clr-namespace:Microsoft.EnterpriseManagement.ServiceManager.Application.Common;assembly=Microsoft.EnterpriseManagement.ServiceManager.Application.Common" xmlns:toolbox="clr-namespace:Microsoft.EnterpriseManagement.UI.WpfToolbox;assembly=Microsoft.EnterpriseManagement.UI.FormsInfra" xmlns:slaBinding="clr-namespace:Microsoft.EnterpriseManagement.ServiceManager.SLA.Common;assembly=Microsoft.EnterpriseManagement.ServiceManager.SLA.Common">
    <mux:Column Name="DisplayName" DisplayMemberBinding="{Binding Path=DisplayName, Mode=OneWay}" Width="100" DisplayName="DisplayName.b5b3fbef168d40d785d95907d6b0944a" Property="DisplayName" DataType="s:String" />
    <mux:Column Name="Description" DisplayMemberBinding="{Binding Path=Description, Mode=OneWay}" Width="100" DisplayName="Description.9b1cd4850abe4bbeaa4446a29f9fa3dc" Property="Description" DataType="s:String" />
    <mux:Column Name="Backend_Case" DisplayMemberBinding="{Binding Path=Backend_Case, Mode=OneWay}" Width="100" DisplayName="Backend Case" Property="Backend_Case" DataType="s:Boolean" />
    <mux:Column Name="Old_Part_Num" DisplayMemberBinding="{Binding Path=Old_Part_Num, Mode=OneWay}" Width="100" DisplayName="Old Part #" Property="Old_Part_Num" DataType="s:String" />
    <mux:Column Name="Old_Serial_Num" DisplayMemberBinding="{Binding Path=Old_Serial_Num, Mode=OneWay}" Width="100" DisplayName="Old Serial #" Property="Old_Serial_Num" DataType="s:String" />
    <mux:Column Name="Vendor_RMA_Num" DisplayMemberBinding="{Binding Path=Vendor_RMA_Num, Mode=OneWay}" Width="100" DisplayName="Vendor RMA #" Property="Vendor_RMA_Num" DataType="s:String" />
    <mux:Column Name="Source" DisplayMemberBinding="{Binding Path=Source.DisplayName, Mode=OneWay}" Width="100" DisplayName="Source List" Property="Source.DisplayName" DataType="s:String" />
    <mux:Column Name="New_Serial_Num" DisplayMemberBinding="{Binding Path=New_Serial_Num, Mode=OneWay}" Width="100" DisplayName="New Serial Number" Property="New_Serial_Num" DataType="s:String" />
    <mux:Column Name="StartDate" DisplayMemberBinding="{Binding Path=StartDate, Mode=OneWay}" Width="150" DisplayName="RMA Start Date" Property="StartDate" DataType="s:DateTime" />
    <mux:Column Name="sDisplayName" DisplayMemberBinding="{Binding Path=Status.DisplayName, Mode=OneWay}" Width="100" DisplayName="Status" Property="Status.DisplayName" DataType="s:String" />
    <mux:Column Name="Customer_List.DisplayName" DisplayMemberBinding="{Binding Path=Customer_List.DisplayName, Mode=OneWay}" Width="100" DisplayName="Customer" Property="Customer_List.DisplayName" DataType="s:String" />
    <mux:Column Name="Destination_FSL_List" DisplayMemberBinding="{Binding Path=Target_FSL.DisplayName, Mode=OneWay}" Width="100" DisplayName="Destination FSL" Property="Target_FSL.DisplayName" DataType="s:String" />
    </mux:ColumnCollection>
    </Columns>
    <AdditonalProperties />
    <ViewStrings>
    <ViewString ID="Description.9b1cd4850abe4bbeaa4446a29f9fa3dc">$MPElement[Name="Description.9b1cd4850abe4bbeaa4446a29f9fa3dc"]$</ViewString>
    <ViewString ID="DisplayName.b5b3fbef168d40d785d95907d6b0944a">$MPElement[Name="DisplayName.b5b3fbef168d40d785d95907d6b0944a"]$</ViewString>
    </ViewStrings>
    </Presentation>
    I also added a FolderItem (not sure if this is needed):
    <FolderItem ElementID="RMA.Subviews.OpenStatusView" ID="FolderItem.OpenStatusView" Folder="WorkItem1!ServiceManager.Console.WorkItem.Root" />
    An image reference, and the appropriate DisplayString...
    What have I done wrong / missing?
    Thanks in advance!

    I doubt that the System.WorkItem base class has a Status enumeration.
    The Status enum of the Incident class is defined in the System.WorkItem.Incident class.
    If your RMA class is usig System.WorkItem as the base class as far as I know the Status enumeration can't be from the Syste.WirkItem.Incident class.
    How did you create the new RMA class?
    Andreas Baumgarten | H&D International Group

  • How to stop Jdeveloper to overwrite my customized view object impl

    Hi,
    Does anyone know how to stop Jdeveloper to overwrite my view object impl which extends from some customized view object impl ?
    Thank you.

    "modifying something on the view object".
    Do you mean, modifying the ViewObject from the Applications Navigator using the Edit Mode of JDeveloper on that ViewObject?
    (or)
    Directly modifying the Extended ViewObject Implementation class file in System Navigator?
    If you edit your ViewObject class file and if you set the ViewObject to extend it from a Customized View Object Impl, unfortunately the model project of Jdev do not recognize it, becoz certain changes are required in xml (viewobject's definition file).
    So, better extend the class from the customized impl in Edit mode of that ViewObject.

  • UWL Custom View Action

    Hi all,
    I try to implement a custom view action, i.e. an action that is assigned to a view (and not to an item type).
    I face the following problem: The UWL system gets my custom action handler by calling IProviderConnector.getActionHandler() and checks if it is a launcher by calling isLauncher(), yet, the performAction() method of the returned ActionHandler is not called.
    Thanks for your attention,
    --Stefan

    Hi all,
    I got the problem solved in the meantime. Yet, I am not sure if the solution is correct.
    I changed the method IProviderConnectorr.getAllActionsForItem(UWLContext aContext, Map aCurrentActions, Item anItem) to add the new custom action. For that means I instantiate an Action class with the same information I have already specified in the UWL XML configuration for the custom view action.
    I do not like this solution because
    1. In the program code I have to repeat the specifications already done in XML.
    2. The IProviderConnector.getAllActionsForItem() method has an Item as a parameter. What happens if there is no Item available? Does the UWL system call the getAllActionsForItem method anyway?
    Maybe someone can give me some insight???
    Thanks for your attention,
    --Stefan

Maybe you are looking for