Creating new Faceting Property

Hi everybody,
I have created new types of SKUs, and now I would like to refine my search results with the new attributes of the new SKUs types.
I want to create new facets to show my attributes, but I don't know how to set the new attributes on the list of Faceting Property on Search Merchandising.
Does anyone can help me?
Thanks

Hi,
I have already created what you suggest in PCOC, but it isn't working. My new property is not being shown in the faceting property in Facets.
My code is this:
<item item-descriptor-name="product">
     <item property-name="childSKUs">
          <meta-properties>
               <property name="hd" data-type="String" sub-type="computer-sku" />
          </meta-properties>
     </item>
</item>Is there any error in my code?
Thanks a lot
Edited by: Grando on 01/03/2012 06:53

Similar Messages

  • Correct term for the Safe attribute in creating New Managed Property

    Hi,
    I'm creating a new managed property through Powershell and XML. I need to set the Safe attribute to true. Do you know the correct term for the Safe attribute? I have tried "Safe" and "SafeForAnonymous" but still didn't worked.
    <Property ManagedName="ArticleStartDateOWSDATE" CrawlName="ows_q_DATE_ArticleStartDate">
          <Crawl Category="SharePoint" PropSet="ed280121-b677-4e2a-8fbc-0d9e2325b0a2"  Variant="31" IsEnum="false" />
          <Managed Type="1" Queryable="true" Refinable="false" Retrieve="true" FullText="false" RemoveDup="false" Respect="false" Multi="false" sortable="true"
    WordBreaker="false" SafeForAnonymous="true"/>
        </Property>
    Regards,
    Napster

    Hi Napster,
    How do you create managed metadata with PowerShell?
    If you use PowerShell cmdlet New-SPEnterpriseSearchMetadataManagedProperty to create a new custom Managed Property, both parameters
    -Safe $true and
    -SafeForAnonymous $true could work, and ManagedPropertyInfo has property SafeForAnonymous, so it should be better to use SafeForAnonymous.
    Please try to get the correct attribute name and value from XML file, then pass it to the PowerShell cmdlet  New-SPEnterpriseSearchMetadataManagedProperty parameter -SafeForAnonymous, then check results again.
    Here are some useful articles about this topic you can take a look.
    http://blog.kuppens-switsers.net/sharepoint/creating-managed-crawled-properties-using-powershell/
    http://sadomovalex.blogspot.com/2014/02/powershell-script-for-creating-and.html
    http://technet.microsoft.com/en-us/library/ff608089(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.administration.managedpropertyinfo_properties(v=office.15).aspx
    Thanks,
    Daniel Yang
    Forum 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] 
    Daniel Yang
    TechNet Community Support

  • Creating new versions and file size?

    Hello. My understanding is creating new versions in Aperture consumes very little file space (i.e., for adjustments, etc). I'm finding I like to have the "create new version" property enabled so I can have multiple choices in a stack per image in my projects.
    Can someone please confirm this? I don't want to waste a bunch of space if I don't have to.
    Thanks!

    all that is done when creating a new version is a "sidecar" file that gives aperture instructions on what and how to convert ...
    so, it consumes very little space ... go ahead and version away ... this is really a key feature to aperture ... with iphoto, every new version was an actual new file as well ...

  • Creating new VM ends with Error code 3430 and 3040 in Hyper-V log. Does anyone have any insight into what might cause this?

    The new VM is being created via a P2V process run from SCVVM. It reaches a completion of 60% and dies. I asked about this in another question detail of the VVM can be seen at this link:
    http://social.technet.microsoft.com/Forums/en-US/virtualmachinemgrp2vv2v/thread/71aae7dc-13b5-46f1-b794-cc1b8085541f
    Running Win2008 R2 w/ Hyper-V role enabled & SCVVM 2008R2
    In any event I checked the Hyper-V logs to see if they might shead any light on the problem and there were two error messages associated with the attempted conversion. The first Event ID 3430
    Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin
    Source:        Microsoft-Windows-Hyper-V-Worker
    Date:          5/23/2011 4:51:25 PM
    Event ID:      3430
    Task Category: None
    Level:         Error
    Keywords:     
    User:          NETWORK SERVICE
    Computer:      Virtual-Mgt.amrinc-corp.local
    Description:
    'test1' failed to set/change partition property: The system cannot find message text for message number 0xtest1 in the message file for 18568CA2-82E9-4A9F-B462-701D8FB4C447. '0x8007013D'.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
        <EventID>3430</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2011-05-23T21:51:25.956775200Z" />
        <EventRecordID>1</EventRecordID>
        <Correlation />
        <Execution ProcessID="3316" ThreadID="2716" />
        <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
        <Computer>Virtual-Mgt.amrinc-corp.local</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <UserData>
        <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
          <VmName>test1</VmName>
          <VmId>18568CA2-82E9-4A9F-B462-701D8FB4C447</VmId>
          <ErrorCodeString>%%2147942717</ErrorCodeString>
          <ErrorCode>0x8007013D</ErrorCode>
        </VmlEventLog>
      </UserData>
    </Event>
    And the second Event ID 3040
    Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin
    Source:        Microsoft-Windows-Hyper-V-Worker
    Date:          5/23/2011 4:51:25 PM
    Event ID:      3040
    Task Category: None
    Level:         Error
    Keywords:     
    User:          NETWORK SERVICE
    Computer:      Virtual-Mgt.amrinc-corp.local
    Description:
    'test1' could not initialize. (Virtual machine ID 18568CA2-82E9-4A9F-B462-701D8FB4C447)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
        <EventID>3040</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2011-05-23T21:51:25.956775200Z" />
        <EventRecordID>2</EventRecordID>
        <Correlation />
        <Execution ProcessID="3316" ThreadID="2716" />
        <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
        <Computer>Virtual-Mgt.amrinc-corp.local</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <UserData>
        <VmInitialize xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
          <VmName>test1</VmName>
          <VmId>18568CA2-82E9-4A9F-B462-701D8FB4C447</VmId>
        </VmInitialize>
      </UserData>
    </Event>
    I have blownout the server and reinstalled the operating system and SCVVM and applied all the current updates to no avail. I have the exact same issue again. The problem seem to be at least on the serface an authority problem because I have no problem creating
    new VM via the P2V process on an old Virtual Server running on Win2003R2.
    Oh yes I can create new virtual machines on the system in question and move them to the library as was suggested to verify in a Blog post so I am really wondering what the problem is?
    Configuration Analyzer Just gave me a warning about reporting not being setup on the VVM which it isn't so no suprise there?
    Any information that might help me figure this would be greatly appreciated

    I've looked at both threads, and there simply isn't enough information for me to tell you what is wrong.  Please collect a trace (instructions in General forum) and open a case with CSS.  CSS can provide more in depth analysis than what a forum
    post allows. 
    As a shot in the dark, I have seen the issue outlined in the following KB article cause this exact same error message and symptom,
    http://support.microsoft.com/kb/967902
    Best Regards, Mike Briggs [MSFT] -- posting provided "AS IS" with no warranties and confers no rights

  • How to add a (new) Predefined Property in Search

    Hello All,
    I have created new Predefined Properties called as ReqNo and it holds an integer value.
    <b>I wanted to know how can I make this field available in the Search Functionality?</b>
    There is an option in Search wherein one may search using Predefined Properties like Size, Created, Created By, Name, Modified and Modified By.
    I would like my new property to be listed under this section.
    I have read few help pages but they explain how can I change the orientation or narrow the different Search Options but now what I want.
    Please help me solve this query.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi Johan,
    I tried it again (twice) but <b>the newly created Predefined Property did not add in the Filter by Predefined Properties.</b>
    Is is possible you may send me your email-id such that I can forward few snapshots showing how am I doing this job.
    There may be a minute point which Im missing and not able to catch it.
    Please help.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

  • Error in creating new layout controller.

    I have decompile the SimpleLayoutController, and duplicate the class and rename to TestLayoutController.
    Here is how I do it (I follow the KMC Developer Guide):
    1) Create new portal application struture.
    2) Create java class: TestLayoutController in src.api.
    3) Create a portal service ; create RFServiceWrapper.
    4) Configure portalapp.xml
    5) Deploy te par.
    6) Configure the new TestLayoutController in the System Admi. (Same steps as stated in KMC Guide)
    Here is the detail for my codes:
    TestLayoutController class:
    package com.sap.km.flex.ui.layout;
    import com.sapportals.htmlb.Component;
    import com.sapportals.htmlb.GridLayout;
    import com.sapportals.wcm.rendering.control.cm.NeutralControl;
    import com.sapportals.wcm.rendering.layout.AbstractLayoutController;
    import com.sapportals.wcm.rendering.layout.ILayoutController;
    import com.sapportals.wdf.WdfException;
    import com.sapportals.wdf.stack.Control;
    Created on Jan 10, 2006
    To change the template for this generated file go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    @author Administrator
    To change the template for this generated type comment go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class TestLayoutController extends AbstractLayoutController {
         public TestLayoutController() {
         /* (non-Javadoc)
    @see com.sapportals.wcm.rendering.layout.ILayoutController#getNewInstance()
         public ILayoutController getNewInstance() {
              // TODO Auto-generated method stub
              return new TestLayoutController();
         /* (non-Javadoc)
    @see com.sapportals.wcm.rendering.layout.ILayoutController#render()
         public Component render() throws WdfException {
              writeDebugInformation();
           return super.controls[0].render();
         /* (non-Javadoc)
    @see com.sapportals.wcm.rendering.layout.ILayoutController#getControls()
         public Control[] getControls() {
              if(super.controls == null)
                 createControls();
            return super.controls;
         private void createControls() {
              super.controls = new Control[1];
            super.controls[0] = new NeutralControl(getProxy(), null);
    portalapp.xml :
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
      </application-config>
      <components/>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.km.flex.ui.RFServiceWrapper"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    RFServiceWrapper class:
    package com.sap.km.flex.ui;
      import com.sapportals.portal.prt.service.IServiceContext;
    import com.sapportals.wcm.crt.CrtClassLoaderRegistry;
      public class RFServiceWrapper implements IRFServiceWrapper{
      private IServiceContext mm_serviceContext;
    Generic init method of the service. Will be called by the portal runtime.
    @param serviceContext
      public void init(IServiceContext serviceContext)
        mm_serviceContext = serviceContext;
         CrtClassLoaderRegistry.addClassLoader(this.getClass().getClassLoader());
    This method is called after all services in the portal runtime
    have already been initialized.
      public void afterInit()
    configure the service
    @param configuration
    @deprecated
      public void configure(com.sapportals.portal.prt.service.IServiceConfiguration configuration)
    This method is called by the portal runtime
    when the service is destroyed.
      public void destroy()
    This method is called by the portal runtime
    when the service is released.
    @deprecated
      public void release()
    @return the context of the service, which was previously set
    by the portal runtime
      public IServiceContext getContext()
        return mm_serviceContext;
    This method should return a string that is unique to this service amongst all
    other services deployed in the portal runtime.
    @return a unique key of the service
      public String getKey()
        return KEY;
    IRFServiceWrapper interface:
    package com.sap.km.flex.ui;
    import com.sapportals.portal.prt.service.IService;
    public interface IRFServiceWrapper extends IService
        public static final String KEY = "TestLayoutController";
    Here is the error that I got:
    com.sapportals.wdf.WdfError
         at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:678)
         at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:32)
         at com.sapportals.htmlb.Container.preRender(Container.java:118)
         at com.sapportals.htmlb.Container.preRender(Container.java:118)
         at com.sapportals.htmlb.Container.preRender(Container.java:118)
         at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:936)
         at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
         at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
         at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:100)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:321)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    --- Nested WDF Error -
    java.lang.NullPointerException
         at com.sapportals.wcm.rendering.layout.LayoutControllerFactory.getLayoutController(LayoutControllerFactory.java:165)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.createLayoutController(WdfProxy.java:1926)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.prepareNestedControls(WdfProxy.java:1313)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.createNestedControls(WdfProxy.java:1209)
         at com.sapportals.wdf.stack.Control.create(Control.java:291)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.create(WdfProxy.java:1280)
         at com.sapportals.wdf.stack.Pane.createControls(Pane.java:464)
         at com.sapportals.wdf.stack.PaneStack.createControls(PaneStack.java:479)
         at com.sapportals.wdf.stack.Pane.createControls(Pane.java:458)
         at com.sapportals.wdf.stack.PaneStack.createControls(PaneStack.java:479)
         at com.sapportals.wdf.stack.Pane.createControls(Pane.java:458)
         at com.sapportals.wdf.stack.PaneStack.createControls(PaneStack.java:479)
         at com.sapportals.wdf.stack.Pane.createControls(Pane.java:458)
         at com.sapportals.wdf.stack.PaneStack.createControls(PaneStack.java:479)
         at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:268)
         at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:659)
         at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:32)
         at com.sapportals.htmlb.Container.preRender(Container.java:118)
         at com.sapportals.htmlb.Container.preRender(Container.java:118)
         at com.sapportals.htmlb.Container.preRender(Container.java:118)
         at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:936)
         at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
         at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
         at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:100)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:321)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I truly appreciate your constructive suggestions. (Points will be rewarded).
    Thanks.
    Kent

    Some remark:
    I think the problem is the LayoutControllerFactory cannot get this new customized TestLayoutController.
    Referring to the following error message:
    --- Nested WDF Error -
    java.lang.NullPointerException
         at com.sapportals.wcm.rendering.layout.LayoutControllerFactory.getLayoutController(LayoutControllerFactory.java:165)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.createLayoutController(WdfProxy.java:1926)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.prepareNestedControls(WdfProxy.java:1313)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.createNestedControls(WdfProxy.java:1209)
    Question:
    1) Is that because the new customized TestLayoutController is not registered in the portal yet in the runtime?
    But I thought this code in RFServiceWrapper did that:
    public void init(IServiceContext serviceContext)
        mm_serviceContext = serviceContext;
         CrtClassLoaderRegistry.addClassLoader(this.getClass().getClassLoader());
    Thanks.
    Kent

  • ** Create New Transaction Check Box in BPM

    Hi Friends,
    I have ticked the check box 'Create New Transaction' for every step in BPM. In Block I have mentioned 'Block Start' & 'Block End' property as 'New Transaction'.
    I have gone through SAP Help Transactional Behaviour of BPM. Somewhere it is mentioned by check this to increase system performance, database hit time will be reduced. Somewhere 'No New Transaction' is recommened.
    I am confusing on this.
    Could you kindly help me to understand this clearly ? (Like, what is the advantage of 'Create new Transaction'?, If untick what will happen ? ...)
    Kind regards,
    Jegathees P.

    it depends on how you decide to use the property.
    in help it mentions;
    Transactional Behavior for Specific Step Types
    At runtime, the system normally creates a separate transaction for each step. The transaction then covers this step only. However, you can influence the transactional behavior of particular step types. In the step properties, you can define that the system is not to start a new transaction when the step is executed. The system then executes the step in the transaction that was started at the time of execution. Consequently, no background work item is created for the step and the database does not need to be accessed. In this way you can improve system performance.
    by defining to not use a new transaction at the right place you can improve performance.
    It also depends on step types. For example in case of a sync send this is what help says;
    No New Transaction: You can expect better system performance if the system does not create a new transaction for the send step. However, only select this setting if by repeating the send step the result is not changed (idempotency). This is the case, for example, with lookup operations.
    Note
    If you have selected this setting and an error occurs, synchronous sending can also cause problems in the pipeline and the receiver system following the rollback. Messages with an error status can also remain in the pipeline.
    New Transaction: If the result is changed when the step is repeated, choose Create New Transaction. Otherwise the following error situation can occur: The system successfully executes a synchronous send step but an error occurs in the subsequent step. The system rolls back processing and executes all steps in the transaction - including the send step - again. If the send step results in a write-to operation in the receiver system, for example, creating a purchase order, this is also repeated. This can result in semantic errors. 
    Mainly transaction processing helps to have a roll back implemented.

  • Creating new records while querying existing record

    Hi,
    I have one master - detail form.
    First i created 1 record. Request ID is the primary key. Now request id generated. For ex.: 10
    Request Id, date, requestor , location, status fields are in header block.
    In lines block, i hv some other fields.. and one field called 'Activity'.
    While creating first record, the activity will be 'New'.
    Then i'll query the record '10'.
    when i'm changing the activity 'New' into 'Upgrade', it should create new record with new request ID.
    How to do this?
    I hv written procedure that, i'm taking field values to local variables. Then assigning the local variable values to field values.
    It is not creating as new record. It overwriting the existing record with new values. Existing record is missing.
    Pl. give steps.
    Thanks
    Kavi

    Hi,
    Okk, you will have to do two things. Create two trigger on block level on which you want to do your changes.
    1. First trigger. (PRE-UPDATE)
    In pre-update trigger u will have to write the complete insert statement into the same table with new req id. like
    DECLARE
    vReqNo DATA_TYPE;
    BEGIN
    SELECT MAX(REQ_ID)
    INTO vReqNo
    FROM your_table;
    INSERT INTO your_table
    (req_no, fields....)
    VALUES
    (vReqNo, :forms_values);
    END;
    2. Create 2nd trigger on block level (ON-UPDATE)
    write in this trigger
    NULL;
    for viewing the inserted record. What u have to do is in ON-UPDATE after null; create one timer NO_REAPEAT.
    and in timer u will have to set the block property to req_id = generated_req_id_from_pre_update_trigger and
    execute_query;
    hope it will work...
    -Ammad

  • Imported Form and sub-form from another database. Sub-form not creating new records tied to parent form's data.

    I have imported all objects from an old access db (.adp file) into a new db (.accdb).  All of my data lives in sql server so I have added all the tables and views to the .accdb as linked tables.  My forms all connect to data, but I am having issues
    with a sub form.  The sub form does not allow for creation of children records tied to the parent record the way the old db did/does.
    Correct - old format .adp file (notice the empty second record in sub-form with the defaulted date of today's date):
    Incorrect - new .accdb file (notice the lack of empty second record in sub-form like above):
    If I click the create new record icon in the bottom of the subform, it creates a completely blank record not tied to the parent record (fields blacked out in screen shots above).  When using this button all parent record fields are blank.  
    I have also verified the child table used in the sub-form has a valid Fky relationship to parent table used in the parent form.
     

    Have you checked each forms 'Filter' property (in Design view) to make sure they are blank and that each forms 'Filter On Load' property to make sure it is set to 'No'? Also, you might try inserting the following commands in each forms On
    Open event:
    DoCmd.RunCommand acCmdRemoveAllFilters
    DoCmd.ShowAllRecords
    If you can open each forms Record Source and they are showing that new records are able to be entered (the new record * is showing at the bottom of the recordset), then check each forms On Load and On Open events to make sure there is no filtering.
    In addition, check any macro or VBA commands behind the button that opens the main form to make sure there is no SQL filtering in the DoCmd.OpenForm command.
    If one of the forms Record Source does NOT allow new records, then you will need to change that Record Source so the new record * indicator shows.
    Out of ideas at this point.

  • How to create a dynamic property in JavaFX

    public class Person() {
    private SimpleStringProperty _Name = new SimpleStringProperty();
    public final String NameGet() {
    return this._Name.getValue();
    public final void NameSet(String Name) {
    this._Name.setValue(ColumnName);
    public StringProperty NameProperty() {
    return this._Name;
    private SimpleStringProperty _SurName = new SimpleStringProperty();
    public final String SurNameGet() {
    return this._SurName.getValue();
    public final void SurNameSet(String SurName) {
    this._Name.setValue(ColumnName);
    public StringProperty SurNameProperty() {
    return this._SurName;
    How to create a dynamic property in JavaFX ?
    ObservableMap, ObservableMapValue, MapPropertyBase, MapProperty
    Which one should I use. Can you give an example?

    I'm not sure what you mean by "dynamic property"; can you be more explicit?
    Your code creates two properties that can be read, written, and observed for changes, though it's probably better to use the standard naming scheme for the methods (e.g they should be getName(), setName(...) and nameProperty()).
    An ObservableMap is an extension of the java.util.Map interface that can be observed; i.e. you can register a listener that will be notified if a key-value pair is added or removed from the map.
    ObservableMapValue is an interface that defines an observable reference to an ObservableMap; i.e. it has a get() method returning an ObservableMap and a set(...) method taking an ObservableMap. You can register a ChangeListener which is notified when the set(...) method is called. It additionally functions as an ObservableMap, so you can also register listeners that get notified when key-value pairs are added or removed from the underlying observable map.
    MapProperty and MapPropertyBase are effectively partial implementations of ObservableMapValue. SimpleMapProperty is a full implementation.
    If you just need a single ObservableMap (i.e. not an observable reference to one), then the FXCollections.observableHashMap() factory method will provide one.

  • Problem when creating new resource in CMSXDB

    We installed the CMSXDB sample succesfully.
    We can create new users, create new folders; but when adding a documnt (resource) to a folder we get following error.
    For an external document:
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: IOException in FileUploadUitlsjava.io.IOException: java.sql.SQLException: Invalid argument(s) in call
         at oracle.otnsamples.cmsxdb.useraction.FileUploadUtils.(FileUploadUtils.java:89)
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.resource(DataUtils.java:885)
         at NewResource.jspService(_NewResource.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    If we try the other option (creation on the fly); we get following error:
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: SQLException in createresource in resource method of DataUtils : java.sql.SQLException: SQLException in getCLOB : java.sql.SQLException: Invalid argument(s) in call
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.resource(DataUtils.java:1109)
         at NewResource.jspService(_NewResource.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) ...
    Do you have any idea what can be the cause for this error?

    Hi Mark,
    The details of the properties that you have to set in Connection.properties file
    List of properties to be altered (Mandatory)
    DBWebURL=http://incq234a.idc.oracle.com:8080
    The HTTP url where the xdb servlet engine is running
    Format : http://<hostname_where_db_is_installed>:8080
    siteRootPath=/tmp/testsite
    The absolute path under which the files will be generated, once a file is sent for externalization and approved by cmsadmin.
    The file will be generated under ConnParams.siteRoot/<resource_path>.<content_type>
    example: /tmp/testsite/cmshome/news/headlines.html
    List of properties to be altered( Optional )
    [ we recommend that the default values be used and these properties not be altered ]
    DataSourceName=jdbc/CmsdbDS
    Name of the datasource, that was entered in J2EE_HOME/config/data-sources.xml
    DBUsername=cmsadmin
    DBPassword=cmsadmin
    [ if any of the below properties are modified, then the corresponding changes have to done in xdbconfig.xml ]
    CMSServletContextRoot=/OTNCMSServlet
    The context root where the OTNCMSServlet can be accessed. It will be appended with the DBWebURL.i.e
    http://localhost:8080/OTNCMSServlet
    Once the servlet is deployed to XDB and the xdbconfig.xml file updated with the servlet entry. The Servlet can be accessed from the above URL
    TransServletContextRoot =/transformservlet
    The context root where the TransformServlet can be accessed. It will be appended with the DBWebURL.i.e
    http://localhost:8080/transformservlet
    SearchServletContextRoot =/searchservlet
    The context root where the SearchServlet can be accessed. It will be appended with the DBWebURL.i.e
    http://localhost:8080/searchservlet
    We are looking into the resource creation issue, pls update us on wheather you are using the right values for these properties. If you were using any incorrect property values, update it and try deploying and running the app again.
    Regards
    Elango.

  • Creating a Dynamic Property LIst

    Hi everyone,
    How to make a dynamic Property list in lingo
    Actually the problem is I am fetching a list of Columns from
    the databse which may vary so I want to make a dynamic PropertyList
    in which I can Set the property and the values based on the number
    of colums in a Database
    For Example: In the DB, I have a Table which contains
    follwing columns
    FName, LName,CompName, Age, Address1, Address2, Email,
    website
    Now I will select specific colums based on some condition. So
    I will be storing the result which would come in a property list.
    So this List needs to be Dynamic i.e it should be getting created
    based on the colums returned from the query.
    Suppose for a specific condition i get Fname, Lname, Email as
    a result so my List should look some thing like This
    objRecord = objResult.rows[1] --Row Returned from the
    Database
    listQueryResult = [#FirstName : objRecord[1], #LastName :
    objRecord[2], #Email : objRecord[3] ]
    The Above List shoud be based on nos of colums returned from
    the Query
    Is there any way by which i can create such a Dynamic
    Property List.
    I hope the Question is Clear
    Hope to get the answer at the earliest
    -Thanks and Regards
    -Atul Saxena

    You can create a new empty property list like this:
    listQueryResult = [:]
    To add a property/value pair, you can use:
    listQueryResult[
    <propertyName>
    ] =
    <value>
    or:
    listQueryResult.setaProp(
    <propertyName>
    <value>
    The above two commands will add the property if it doesn't
    exist, or update a value if the property name is already present in
    the list.
    You may not be aware that you can use strings as property
    names instead of symbols if you like, which you might find easier.
    Couple of examples following your example:
    listQueryResult = [:]
    objRecord = objResult.rows[1] --Row Returned from the
    Database
    listQueryResult["FName"] = objRecord[1]
    listQueryResult["LName"] = objRecord[2]
    (etc)
    Or, if you also have a list of the fieldnames returned from
    the db:
    listQueryResult = [:]
    fieldNames = objResult.fieldNames --Field names for records
    returned from Database
    objRecord = objResult.rows[1] --Row Returned from the
    Database
    repeat with n=1 to fieldNames.count
    thisFieldName = fieldNames[n]
    thisFieldValue = objRecord[n]
    listQueryResult[thisFieldName] = thisFieldValue
    end repeat
    hope this helps!
    - Ben

  • ATG 10.1.2 Create new item discount type

    Hi all,
    We are using ATG 10.1.2, and created a new CommerceItem property called giftWrapItem. It is working fine, we can buy it with the CommerceItem in and order.
    We created calculators, customized PricingEngine to use our calculators, and it is working so well.
    So, we now want to create a new promotion type, that can give item and order discount based on giftWrapItem quantity on order.
    We created a GiftWrapItemDiscountCalculator class, that extends ItemDiscountCalculator, and we could add giftWrap in Offer Type at BCC Promotion creation panel.
    But we don't know how we can do it work, like Standard promotion Offer Type. The rules, like Standard rules, does not appear in Promotion panel.
    One example to explain what we want: a promotion that gives one free giftWrap item, if user buy one product named X.
    We read the Oracle ATG docs, but couldn't find more ways to do this.
    Any help?
    Thanks in advance

    You need to add/extend PMDL rules for new promotion type you have created. Not sure you have read the chapters for defining new promotion templates.
    http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGCommProgGuide/html/s1208addingnewpromotionstemplates01.html
    Another thought on this (might be out of context), why are you not considering the GiftWrapItem as another SKU type or something like that, and create promotion using ATG OOB promotion template, for example if the order contains X give 1 sku with type 'GiftwrapItem' free. This might reduce the customization effort and you just need to train the business users about how to use the GiftWrap promotion.
    Cheers
    R

  • SAPGUI iview from SAP Portal = create new session  results in empty screen

    we use ep700 sp10 and sapgui 6.40 compilation 5 . we have a sapgui iview which starts the login to the R/3 system and shows the user menu with some transactions.
    if the user now creates a new session  with the buttom "create new session" in the sapgui screen he gets a new but empty session  ==> i expected , that he gets the normal sap entry screen with the user and sap menu.
    does anybody now how to get that ?
    many thanks hannes toefferl

    Hi,
    Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
    In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
    Restart the portal for the change to take effect.
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • [svn] 4285: Exposed TLF' s new textJustify property on ParagraphElement as a CSS style for Gumbo components .

    Revision: 4285
    Author: [email protected]
    Date: 2008-12-10 16:08:28 -0800 (Wed, 10 Dec 2008)
    Log Message:
    Exposed TLF's new textJustify property on ParagraphElement as a CSS style for Gumbo components. It works with TextBox, TextGraphic, TextView, and components that use these primitives. When text is fully justified, this property determines whether the extra pixels are added between words or between any characters.
    QE Notes: Please add tests for this new functionality.
    Doc Notes: None
    Bugs: None
    Reviewer: Jason
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockCompose r.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicParagraphFormatTextS tyles.as

    Hello xhpx,
    In  your media queries your changing the .gridContainer but the #LayoutDiv1 is the same. The reason the color goes away is the media query for mobile sizes doesn't have the background color. Though I would remove #LayoutDiv1 from any media query since it doesn't need to change.
    http://jsfiddle.net/gCka7/
    hope this helps.
    Chad Smith - BCGurus.com
    also, creating a jsfiddle or just a link to the site could make it easier for debuging.

Maybe you are looking for

  • Instruments from jam packs are not there after new install

    hi, i ve been using all jam packs instruments in my GB2 last year on my imac without any problems. i have them all at my external FW drive since then, and never at my internal. ( i usually dont use "loops" at all, i prefer instruments ) so, i install

  • JBO-26080

    Hello everyone, We have built an application in JDeveloper 3.1 with BC4J. During an update of a row in the database we get the following error: DMLException: JBO-26080: Error while selecting entity for PfpUsers This error is generated at this line of

  • Firefox starts treating URLs with .exe in them as downloads instead of pages.

    I use an online database system which was written and compiled using CGI for VB. All of the URLs have .exe in them (e.g. http://www.website.com/record.exe?a=SMITH). I can work in Firefox for hours without a problem, but then seemingly at random Firef

  • (SOLVED) external hard drive

    when i try to delete files on my external hard drive i get error could not delete file. do i need any special permissions or what? Please help. Thanks! Last edited by Rician (2011-04-02 16:16:26)

  • Invalid characteristic combniation in WAD new row not re-read

    We have a really annoying problem entering new rows in an IP WAD. If an incorrect Characteristic Value (Gl account for example) is entered in a new row, then the system provides a nice message, and the cell with the characteristic is highlighted - pe