Dots In Managed Property Name

Hello,
What is the correct syntax for searching using managed property which has the "." symbol in its name?
For example if I have a managed property: "namespace.childnamespace.propertyname"
and try to search using:
"namespace.childnamespace.propertyname:searchtext"
No results are returned.  If I create an alias without the dots it is working.
So the question is if there is a way to query by the property without creating an alias?
Thanks

Hi Nikolay,
When we create a managed property in SharePoint, it will check for the special characters in the name of the managed property.
Even though we can name the managed property by using other special characters, e.g. a hyphen, a dot, they cannot be used in search when querying for items.
And Microsoft only uses the underscore in the name of Managed Properties.
So to be able to use the managed property, you need to re-name it without the dots.
More reference:
http://olafd.wordpress.com/2012/11/01/naming-of-managed-properties-in-sharepoint-search/
Thanks,
Victoria
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]
Victoria Xia
TechNet Community Support

Similar Messages

  • Custom Manage Property does not pick up the value from mapping crawl property

    Hi All,
    I have created a custom list with the column name that's called "category".
    Then I ran full crawl and I saw the "ows_category" crawl property is created.
    Then I create the manage property names as "Category" and map with the "ows_category" and run the full crawl again. (Retrivable, Searchable, Refinable options are checked)
    After full crawl, I searched Category:keyword but it returned 0 result. 
    But when I search keyword, that list item is retuned
    I tried to debug with the spsearch2013 tool and there is no "Category" manage property in the return XML.
    It seems the Manage Property does not pick up value from the crawl property. (Something might be wrong with the index schema)
    Do you have any suggestion?
    Do I need to reset the index?
    Best Regards,
    Andy

    Hi Andy,
    When you search ‘category’ in crawled properties(Central Administration->Search Service Application->Search Schema), you will see ows_Category is mapped to DiscussionCategory, like the screenshot:
    So, I suggest you create a new column using another name, then test again, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Managed property value is not returned in item template for ArticleStartDateOWSDATE

    Environment: SharePoint 2013 online
    Related parts: Search Result web part (OOB), Display template for search result items
    Base type: article page
    I have a search result page, it has a search result web part on it, for the display template, it is using a default for list, using  "single template to display items" option to point to a custom item template.
    The search returns list of articles, just title and abstract, it works fine. 
    We need to add "Article Date" to be displayed. "Article Date" is a OOB site column under "Publishing Columns".
    I found its field name is ArticleStartDate, then from search schema, I found the corresponding managed property name is "ArticleStartDateOWSDATE", the mapped crawled property is "ows_q_DATE_ArticleStartDate".
    In order to display it, I added managed property mapping to the item template to map to ArticleStartDateOWSDATE.
    The code is like,
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Title&#39;:&#39;Title&#39;,&#39;,&#39;MyArticleStartDate&#39;:&#39;ArticleStartDateOWSDATE&#39;</mso:ManagedPropertyMapping>
    var ArticleDate = $getItemValue(ctx, "MyArticleStartDate");
    The value of variable (ArticleDate) is empty when try to display it.
    Please let me know if you re-create this issue or have a solution to display the value. 
    BTW, on "Content search" web part, I can map ArticleStartDateOWSDATE to "Line 3", and display its value. So I know the managed property itself should be fine.
    Thanks in advance,
    John
    John Architect

    I think your input value is wrong,, when I did HTML decode of your Managed properties :
    &#39;Title&#39;:&#39;Title&#39;,&#39;,&#39;MyArticleStartDate&#39;:&#39;ArticleStartDateOWSDATE&#39;
    It gives :
    'Title':'Title',','MyArticleStartDate':'ArticleStartDateOWSDATE'
    i.e. wrong, if you see there is extra comma in between.
    try giving :
    &#39;Title&#39;:&#39;Title&#39;,&#39;MyArticleStartDate&#39;:&#39;ArticleStartDateOWSDATE&#39;
    or directly 'Title':'Title','MyArticleStartDate':'ArticleStartDateOWSDATE'
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Managed property in a site collection (powershell - SharePoint online)

    Link to my site collection -> https://web.domain.com/sites/SC/_layouts/15/listmanagedproperties.aspx?level=sitecol
    when opening an url similar to this one and filter on a property name refinablestring00
    What I need is to is to add a mapping to do is to add a mapping
    Mappings to crawled properties
    With powershell.
    Assume that a full crawl has finished. That all crawled properties exist.
    I want to add "ows_GoPro_x0020_Code" and I also want to change the Alias to "ProjectNumber"
    What is the best way to do this via powershell for SharePoint 2013 online?
    Do I need to build a sandboxed solution for this?

    HI,i would recommend  run the PowerShell cmdlet to check if this website exists. Here are the detailed steps:
    1. Set up the SharePoint Online Management Shell Windows PowerShell environment
    http://technet.microsoft.com/en-us/library/fp161372.aspx
    2. Run the command Get-SPOSite, it will return all site collections.
    3. Check if the problematic public site collection is shown in the result. If it shows up, run another command to remove it. For example:
    Remove-SPOSite -Identity https://expertsharepoint/sites/site1 -NoWait
    This will remove the site collection named https://expertsharepoint/sites/site1 from the site collections list and moves it to the Recycle Bin.
    4. Delete the site from the Recycle Bin:
    Remove-SPODeletedSite -Identity https://expertsharepoint/sites/site1
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Problem with Path Managed property in alternate zones - also we have identified problem with Product catalog in alt zones

    Hi All,
    I'll start "one step back". Note we have resolved this issue but it is worth mentioning:
    Yesterday we set up the product catalog. We were having a lot of inexplicable problems with it initially. After much troubleshooting, we found that it was because we were browsing the SharePoint site via the "Internet Zone" rather than the "Default
    Zone" when we "Connected" our site to the product catalog. Issues experienced:
    1) "Catalog Item URL Format" displayed error "Properties <Managed Property> specified by the shared catalog could not be found in the search schema" when attempting to connect to the catalog, despite that managed property being
    configured correctly. The catalog would connect despite the error, and the navigation worked fine.
    2) The search Result Source for the catalog would not return any results. Configuring the query and selecting "Advanced Mode" would show SPSiteURL:http://externalURL.domain.com. Changing SPSiteURL manually to
    http://InternalURL resulted in results being returned as expected.
    After much troubleshooting, we found that if were browsing SharePoint using the default zone (http://InternalURL) when we connected the Product Catalog, the result source then worked properly (internally and externally).
    Ok, so now onto our current problem:
    The Product Catalog appeared to be working properly (internally and externally) after figuring out that we needed to connect it from the Default Zone. However, we have found a remaining glitch, which doesn't appear to be Product-Catalog-specific. Consider
    the following scenario:
    1) We click a category in our Product Catalog, such as Electronics
    2) A list of our electronic devices are presented via the "Category" display page
    3) If we click on a specific item, a different URL is returned internally vs externally. We only get the friendly managed navigation URL when browsing via the Default zone. And of course totally different pages load based on which URL you get.
    Internal (when browsing via Default zone):
    http://InternalURL/catalog/PRODUCT-CATEGORY/PRODUCT-NAME
    External (when browsing via Internet zone):
    http://ExternalURL.domain.com/catalog/Lists/Products/DispForm.aspx?ID=1
    We have reviewed the display template, and the "Path" managed property is simply being used to render the link. Furthermore, we have configured the Content Search web part's "Property Mappings" to show the "Path" MP, and it
    displays the same (wrong) result externally.
    This tells us that the Path MP is not correctly rendering "Friendly URLs" when using managed navigation.
    Any help/ideas?
    Our environment:
    SharePoint Version: 15.0.4667.1000
    Default Zone: http://InternalURL
    Internet Zone: http://ExternalURL.domain.com
    We are NOT using host named site collections
    We ARE crawling the Default zone URL in our content source
    Thanks,
    Tommy

    Hi,
    We have now also observed the same issue with a Managed Property of type “Hyperlink/Picture”. The picture returns the wrong URL externally.
    This post describes the same issue, however the poster found that setting UseAAMMapping=True doesn’t work in 2013:
    http://sharepoint.stackexchange.com/questions/104806/set-the-useaammapping-property-of-a-managedproperty-object-map-an-url-of-a-h
    We checked, and our Picture MP had UseAAMMapping=False. We set it to True, did a full crawl, and see no change in behavior. Path already had UseAAMMapping=True.
    More info:
    http://macslui.blogspot.com/2013/02/sharepoint-2010-problem-in-image-result.html
    https://camerondwyer.wordpress.com/2014/08/04/beware-sharepoint-2013-search-results-and-the-listurl-property/#comment-2606
    Thanks,
    Tommy

  • Crawled Property OFFICE:7 (document template) is not crawled and thus not mapped to managed property

    Hi,
    our customer (SharePoint Enterprise 2013) wants to crawl the information which Office template was used for creation of a Word/Excel/PowerPoint file for refining in his searchcenter.
    We did some research on that topic and found out, that this information should be crawled in the buildin crawled category OFFICE in the crawled porperty 7. But so far any attempts to get any mapping working on this crawled property have been insufficient/frustrating...
    What we did:
    Map the crawled property to the RefinableString00 Refiner, add this refiner to the refiner web Panel and then do a full crawl. So far the refiner does not show up, and when using the "Query tool" we see that the managed property is empty and not
    filled. For Debugging I tried to map nother crawled property to this refiner OFFICE:2 => Title of OFFICE:4 => Author which worked out just fine. So the refiner configuration seems to work but the crawler somehow does not seem to get the template Information
    out of my documents. I even opened the uploaded word documents in Word to control if the template Information is correctly readable and you can see in the properties of the file, that normal.dot is filled out.
    We even controlled the properties of the crawled property, it´s "isMappedToContents" is set to true.
    with Kind regards, I really Do hope someone has a clue
    David

    All the content which is crawled will be part of search results by default including all the data in the list and documents. Mapping crawl property with Managed property helps if you want to execute a keyword query : Title(column)=SharePoint or
    Title;SharePoint
    You will typically need to do this kindda mapping if you want to
    1. filter data based on column in Advanced Search Web Part
    2. Add your custom column as part of search results on result page.
    3. Add column based FILTER on Search result page.
    ********* Please mark as ANSWERED if you find this useful.************  

  • Query with an integer managed property

    Hello everyone,
    A (I hope) simple question. How to do search with a managed property of type Integer (or non-text type in general)?
    Here is what I am doing and fail to make function so far.
    Create a column of type Number with a Document Library; name it LocalNumColumn.
    Crawl once to have it as a crawled property: ows_LocalNumColumn.
    Map it to one of the out-of-box predefined managed property: RefinableInt00.
    Re-crawl to populate the managed property, though not sure if necessary.
    It works with the Refinement web part. I am able to refine a search result, choosing a defined threshold.
    But that's it. I cannot use it in any other way, such as with the Content Search web part.
    A query like "path:"..."  (IsDocument:"True" OR contentclass:"STS_ListItem") RefinableInt00>1000" returns with "We didn't understand your search terms. Make sure you're using the proper syntax".
    The same response from /searchcenter/Pages/results.aspx?k=RefinableInt00%3E1000.
    I do not know whether this is a syntax issue or the way I prepare the numeric property.
    Any insight?
    Thank you, Kazu

    Hi,
    The problem is with RefinaableInt00, which is just the retrieve and refine as shown in the below screenshot.
    You need to make this refinable property to include search as well then only you are able to search in the search results.
    Edit the property and select search option and then do the full crawl.  The results will appear as per your expectation.
    The best practice in my opinion is to create the custom Managed Property with all settings set like Queryable, Search, Refinable etc and map your crawl property.
    Please mark it answered, if your problem resolved or helpful.

  • JSF/Spring integration - managed-property problem

    I am using JSF 1.1_01 (MyFaces 1.1), Spring 1.2, Ajax4Jsf.
    The JSF application has h:selectOneMenu .
    On change event of h:selectOneMenu sets "selectedValue" into backing bean as shown below:
    page.jsp
    <h:selectOneMenu value="#{test.selectedDevice}" >
    <f:selectItem itemValue="0" itemLabel="--New--"/>
    <f:selectItem itemValue="1" itemLabel="WorkStation"/>
    <f:selectItem itemValue="2" itemLabel="Router"/>
    <f:selectItem itemValue="3" itemLabel="Switch"/>
    <ajax:support action="#{test.loadDevice}" event="onchange" reRender="t2,t3,t4,t5"/>
    </h:selectOneMenu>
    TestBean.java (Backing Bean)
    public String getSelectedDevice() {
    logger.info(" *** In getSelectedDevice *** ");
    if (selectedDevice == null) {
    selectedDevice = "0"; // This will be the default selected item.
    return selectedDevice;
    public void setSelectedDevice(String selectedDevice) {
    logger.info(" *** In setSelectedDevice *** ");
    this.selectedDevice = selectedDevice;
    Here are the configuration file snippets for integrating JSF Spring
    web.xml
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
    faces-config.xml
    <application>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>
    <managed-bean>
    <managed-bean-name>test</managed-bean-name>
    <managed-bean-class>test.TestBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>deviceManager</property-name>
    <property-class> test.DeviceTypeManager </property-class>
    <value>#{deviceManager}</value>
    </managed-property>
    </managed-bean>
    The above code results in the following error
    javax.faces.FacesException: Cannot get value for expression '#{test.selectedDevice}'
    The error occurs only if i include <managed-property> inside the <managed-bean> in faces-config.xml.
    The moment i remove <managed-property> from face-config.xml the error disappears & page gets rendered properly.
    The purpose in having <managed-property> inside managed-bean is to call Spring's Manager class (i.e. deviceManager) from JSF application
    Any pointers/suggestions in resolving the error will be highly appreciated
    Regards
    Bansi

    The TestBean have a property for DeviceManager along with setter/getter methods as shown below. Sorry for not including in earlier posting
    TestBean.java (Backing Bean)
    private DeviceTypeManager deviceManager;
    public DeviceTypeManager getDeviceManager() {
         return deviceManager;
    public void setDeviceManager(DeviceTypeManager deviceManager) {
         this.deviceManager = deviceManager;
    Here are the two scenarios
    Scenario 1 : without <managed-property> the code works fine
    Scenario 2 : with <managed-property> the code results in following error
    javax.faces.FacesException: Cannot get value for expression '#{test.selectedDevice}'
    Scenario 1 has only JSF whereas Scenario 2 has JSF-Spring integration
    The Scenario 1 works absolutely fine as the expression '#{test.selectedDevice}' gets its value from setter/getter method in the backing bean(TestBean.java) . This is expected behaviour & wondering why it doesn't work similarly in Scenario 2 instead it complains
    Cannot get value for expression '#{test.selectedDevice}'
    I am willing to upload the war file. Any pointers/suggestions in resolving the error will be highly appreciated
    Regards
    Bansi

  • F:selectItems and List Managed Property

    I am trying to use a managed property list-entries to initialize a List that an f:selectItems is bound to.
    <f:selectItems value="#{RowsPerPage.rows}"/>
    Here is the managed bean from faces-config
            <managed-bean>
                <managed-bean-name>RowsPerPage</managed-bean-name>
                <managed-bean-class>com.stlouiscity.jsf.util.RowsPerPage</managed-bean-class>
                <managed-bean-scope>none</managed-bean-scope>
                <managed-property>
                    <property-name>rows</property-name>
                    <property-class>java.util.ArrayList</property-class>
                    <list-entries>
                        <value-class>java.lang.Integer</value-class>
                        <value>1</value>
                        <value>5</value>
                        <value>10</value>
                        <value>25</value>
                        <value>50</value>
                        <value>100</value>           
                    </list-entries>
                </managed-property>
            </managed-bean>Here is the class
        package com.stlouiscity.jsf.util;
        import java.util.List;
        public class RowsPerPage {
            private List rows;
            public RowsPerPage() {
            public List getRows() {
                return rows;
            public void setRows(List rows) {
                this.rows = rows;
        }Here is the stack trace
        ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/BudgetApplicationADF].[jsp]] Servlet.service() for servlet jsp threw exception
        java.lang.ClassCastException: java.lang.Integer
             at oracle.adfinternal.view.faces.renderkit.uix.SelectItemSupport.addSelectItems(SelectItemSupport.java:280)
             at oracle.adfinternal.view.faces.renderkit.uix.SelectItemSupport.getSelectItems(SelectItemSupport.java:81)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.encodeAllAsElement(SimpleSelectOneRenderer.java:235)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:48)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:271)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.renderFieldCellContents(InputLabelAndMessageRenderer.java:115)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:293)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:163)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
             at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:236)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderControlBar(DesktopTableRenderer.java:601)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer._renderControlBar(TableRenderer.java:582)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.renderNavigationHeaderBars(TableRenderer.java:530)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:232)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
             at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
             at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
             at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)
             at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
             at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
             at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
             at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
             at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.HeaderRenderer.renderContent(HeaderRenderer.java:482)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
             at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
             at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(BorderLayoutRenderer.java:42)
             at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(BorderLayoutRenderer.java:71)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
             at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
             at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
             at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
             at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
             at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
             at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
             at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)
             at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
             at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
             at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
             at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
             at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
             at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
             at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
             at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349)
             at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253)
             at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
             at org.apache.jsp.AccountList_jsp._jspx_meth_afh_body_0(AccountList_jsp.java:266)
             at org.apache.jsp.AccountList_jsp._jspx_meth_f_view_0(AccountList_jsp.java:165)
             at org.apache.jsp.AccountList_jsp._jspService(AccountList_jsp.java:123)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
             at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
             at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
             at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
             at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
             at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
             at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
             at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:595)
        2006-10-04 08:52:43,656 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/BudgetApplicationADF].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
        javax.faces.FacesException: java.lang.Integer
             at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
             at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
             at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
             at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
             at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
             at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
             at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:595)
        Caused by: org.apache.jasper.JasperException: java.lang.Integer
             at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
             at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
             ... 28 more

    Looks like I and BalusC interpreted your questions differently.
    The way I have implemented this case is to have get and set methods for the selectedProperty in my bean.
    I also have the change propertyChanged method that sets the session attribute whenever the user changes the selection.
           public String getSelectedPropertyType() {
                return this.selectedPropertyType;
           public void setSelectedPropertyType(String selectedPropertyType) {
                this.selectedPropertyType = selectedPropertyType;
                HttpServletRequest request = getHttpRequest();
                request.getSession().setAttribute("selectedPropertyType", selectedPropertyType);
           public void propertyTypeSelectionChanged(ValueChangeEvent event) {
                if (event.getNewValue() == null) return;
                String newValue = (String) event.getNewValue();
                setSelectedPropertyType(newValue);
           }Whenever you need the currently selected property, you would just need to get the #(myBean.selectedProperty).
    If you find a simpler solution than this, please let me know.

  • Managed-property enum

    Hi,
    I would like to use a member of Java 5 enum as the value of a managed-property but I can't seem to get it to work. I have tried the following configurations in faces-config.xml
    <managed-property>
    <property-name>fieldName</property-name>
    <property-class>com.foo.MyEnum</property-class>
    <value>enumValue</value>
    </managed-property>
    Which produces the error:
    Can't instantiate class: 'enumValue'. I presume therefore that enums are not beans and don't have a default constructor. I sort of expected the valueOf method to be called but perhaps I was expecting to much.
    <managed-property>
    <property-name>fieldName</property-name>
    <property-class>com.foo.MyEnum.enumValue</property-class>
    <value>enumValue</value>
    </managed-property>
    Which claims it can't set the value of fieldName
    The enum is correct as I already use it elsewhere
    TIA
    Graham

    I found a solution.
    I needed to implement a PropertyEditor for my custom enum.
    Basically I had to create a class in the same package and have the same name as my enum with "Editor" suffixed.

  • Managed-property Syntax

    Hello,
    If I am trying to inject a managed bean with a managed-property of another object I've created in my system that is NOT another managed bean, what is the syntax for the value tag? I know that if my SummaryBO object were another managed-bean with a name of summaryBO, I'd say #{summaryBO}, but this is just a POJO. How do I tell the container to simply instantiate a new object and inject it into SummaryBB?
    For example:
         <managed-bean>
              <description>Summary Backing Bean</description>
              <managed-bean-name>summaryBB</managed-bean-name>
              <managed-bean-class>com.app.client.SummaryBB</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
              <managed-property>   
                   <property-name>summaryBO</property-name>               
                   <property-class>com.app.business.SummaryBO</property-class>
                   <value>?????</value>
              </managed-property>
         </managed-bean>

    Make summaryBO a managed bean with scope set to none. A new instance will be created every time it is injected into another bean.

  • 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

  • Wiring managed beans - managed-property not updated.

    I have a search page with a text field for entering a substring search.
    Upon clicking submit, a list will be displayed below based on the given substring.
    I wired two managed beans together: one was a substring of type String,
    the other a facade that has a getSubstring and setSubstring method.
    The Facade also has a getList method that returns a list.
    Session:<h:outputText value="#{substring}"/>
    List: <h:outputText value="#{Facade.list}"/>
    What happens is that the session variable is being updated everytime I submit the form
    but the list is the one that was displayed the very first time the form was submitted.
    Subsequent changes to the substring has no effect on the list.
    I tried this because I read somewhere that this is an alternative to putting the
    properties of the form together with the facade.
    However, upon reading the documentation of the struts-config,xml,
    The managed-property will only be set at the creation of the managed bean.
    and not everytime the tag referencing the bean is evaluated.
    Any workaround to making this work?
    Given the scenario above, what is the best design for it?
    I'm thinking of putting an action field in the commandButton
    and then set the list as a session variable,
    which will be accessed by the jsp after the action forwards to the page.
    Is this strategy any good?

    Sure... here it is...
    <faces-config>
    <managed-bean>
    <managed-bean-name>substring</managed-bean-name>
    <managed-bean-class>java.lang.String</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>Facade</managed-bean-name>
    <managed-bean-class>com.Facade</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
         <property-name>substring</property-name>
         <value>#{substring}</value>
    </managed-property>
    </managed-bean>
    </faces-config>
    public class GroupingFacade {
         private String substring;
         public void setSubstring(String substring;
              this.substring=substring;
         public String getSubstring(){
              return substring;
         public List getList(){
              ArrayList list=new ArrayList();
              //Get list from DAO
              //DAO.getList(substring);
              return list;
    }

  • How to handle repeat managed-property in faces-config.xml?

    Hi guys,
    My configuration is like below:
        <managed-bean>
            <managed-bean-name>updateAudioSystemForm</managed-bean-name>
            <managed-bean-class>com.stufftolet.webapp.action.posting.update.consumerElectronic.UpdateAudioSystemForm</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>postingManager</property-name>
                <value>#{postingManager}</value>
            </managed-property>
            <managed-property>
              <property-name>postId</property-name>
              <value>#{param.postId}</value>
            </managed-property>     
            <managed-property>
              <property-name>categoryId</property-name>
              <value>#{param.categoryId}</value>
            </managed-property>
            <managed-property>
              <property-name>parentCategoryId</property-name>
              <value>#{param.parentCategoryId}</value>
            </managed-property>          
            <managed-property>
              <property-name>rootCategoryId</property-name>
              <value>#{param.rootCategoryId}</value>
            </managed-property>                    
        </managed-bean>
        <managed-bean>
            <managed-bean-name>updateCamcorderForm</managed-bean-name>
            <managed-bean-class>com.stufftolet.webapp.action.posting.update.consumerElectronic.UpdateCamcorderForm</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>postingManager</property-name>
                <value>#{postingManager}</value>
            </managed-property>
            <managed-property>
              <property-name>postId</property-name>
              <value>#{param.postId}</value>
            </managed-property>     
            <managed-property>
              <property-name>categoryId</property-name>
              <value>#{param.categoryId}</value>
            </managed-property>
            <managed-property>
              <property-name>parentCategoryId</property-name>
              <value>#{param.parentCategoryId}</value>
            </managed-property>          
            <managed-property>
              <property-name>rootCategoryId</property-name>
              <value>#{param.rootCategoryId}</value>
            </managed-property>                    
        </managed-bean>
        <managed-bean>
            <managed-bean-name>updateDigitalCameraForm</managed-bean-name>
            <managed-bean-class>com.stufftolet.webapp.action.posting.update.consumerElectronic.UpdateDigitalCameraForm</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>postingManager</property-name>
                <value>#{postingManager}</value>
            </managed-property>
            <managed-property>
              <property-name>postId</property-name>
              <value>#{param.postId}</value>
            </managed-property>     
            <managed-property>
              <property-name>categoryId</property-name>
              <value>#{param.categoryId}</value>
            </managed-property>
            <managed-property>
              <property-name>parentCategoryId</property-name>
              <value>#{param.parentCategoryId}</value>
            </managed-property>          
            <managed-property>
              <property-name>rootCategoryId</property-name>
              <value>#{param.rootCategoryId}</value>
            </managed-property>                    
        </managed-bean> as u see, all the managed-bean-class contain the same child managed-property. So is there anyway I can shortern this ? Thanks in advance !
    cheers,
    Mark

    As you see I don't really understand what have you seen so can you pls show me in detail, thanks !

  • How to get all property names and values of an bean instance at runtime?

    How can I get all property names and values of an bean instance at runtime?
    (The class of the bean instance is dynamic and I can not know before I write the code .)

    Look at Class. It has a way to get at all public methods and attributes.
    If you need to get to private attributes you can do what the Introspector does and expect the methods to follow the Bean pattern and pull the attributes out based upon that. Privates are all hidden from direct access but through the Bean Pattern they can be figured out.

Maybe you are looking for

  • How do I get my App icon back on my iPad

    How do I get my App icon back onto my iPad?

  • ISync won't even launch- MacBook

    I just got a lovely Macbook 17" It's perfect but for one thing- I can't get my Palm Zire 31 to sync with the macbook, and I suspect this has something to do with the fact that iSync won't even launch. It bounces a few times, and then nothing when I a

  • How can I determine what my sensor is calibrated at?

    I sucessfully calibrated my Ipod with my Nike+ sensor, however, I do not know what a mile is calibrated at. I am getting ready to run a 1/2 Marathon this weekend, and I want it to be as accurate as possible. I typically run a 10 minute mile, but want

  • How do I find/open an alternate library?

    my PC has upgraded apple software and started a new music library. What do I do? All my old library has gone, although it does exist on my iPhone. My co will not let me mess with iTunes files

  • Error Code -8003 while emptying trash

    I have deleted some Time Machine backups.backupdb folders from my backup volume into my trash and now I can't empty the trash. The volume with the backups.backupdb data was getting full and I wanted to give it more space. Now when I attempt to empty