Queryable property in xml

Hi,
<table name="dcs_prd_media" type="auxiliary" id-column-name="product_id">
<property name="template" xml-combine="remove"/>
<property name="template_en" item-type="media" column-name="template_id"
queryable="true" category-resource="categoryPresentation"
display-name-resource="template">
<attribute name="propertySortPriority" value="-5"/>
<attribute name="locale" value="en"/>
</property>
</table>
what does queryable="true" and readable="true" wats the difference between them..
Thanks in Advance
Regards
Kumaresh Babu A

When you have readable="true" for an item property then you can invoke getPropertyValue() for that property on the corresponding RepositoryItem objects and you will get the property value. In case readable="false" and you try invoking getPropertyValue() it will throw runtime exception. Similar logic is valid for the writable attribute with respect to setPropertyValue() method.
Now queryable signifies whether the property (and hence the underlying column in the item's database table) can be queried using RQL (which eventually would translate to SQL). So if you have a property with readable as false but queryable as true then you can't access its value using getPropertyValue() but you can execute RQL against it. Also considering the case of transient properties then they are always going to be not queryable since no column will be there but can be readable/writable so that you can read/write their values through getPropertyValue() and setPropertyValue().
Hope it helps.

Similar Messages

  • System property org.xml.sax.driver not specified

    I'm getting the error:
    System property org.xml.sax.driver not specified
    How do I set this property? Why doesn't it find the default?
    I'm using WL6.0
    Imports:
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import org.xml.sax.InputSource;
    import org.xml.sax.XMLReader;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    Code Snippet:
    try
    File stylesheet = new File("LaborDistHours.xsl");
    LaborDistHours ldh = new LaborDistHours("1041410011",
    "01-feb-2000", "30-mar-2000");
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    StringReader reportXML = new StringReader( ldh.getReportXML() );
    document = builder.parse(new InputSource( reportXML ));
    TransformerFactory tFactory = TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(stylesheet);
    Transformer transformer = tFactory.newTransformer(stylesource);
    //error occurs here
    DOMSource source = new DOMSource(document);
    StringWriter reportXLST = new StringWriter();
    StreamResult result = new StreamResult(reportXLST);
    transformer.transform(source, result);
    Steven Ford ([email protected])
    "...That we here highly resolve that these dead shall not have died in
    vain - that this nation, under God, shall have a new birth of Freedom - and
    that Government of the people, by the people and for the people shall not
    perish from the earth." Abraham Lincoln

    try to look on xml.apache.org for this error. There should be some pages describing how and why setup this property.
    Basically, these properties defines factories for javax extensions. javax defines interfaces and providers than supply implementations, so for example you can use different XML parsers implementations (we use Xalan for one OC4J container and original ORACLE parser for other). To bind this together they use some defined mechanism like setting system property of including special manifest file etc. (I don't know about details)
    Myrra

  • List transaction property with XML value type

    Hi,
    Can we pass values to a "List" transaction property containing XML structures? If yes, what would be the XPATH expression?
    Regards,
    V M.

    Hi VM,
    Although you can access the value of a list item using the list name and and index, where the index is contained in curly braces, for example myList, there is no way to build an xpath expression to point to a location in the XML document.  The only suggestion I have is to write the list item to a local property, make the modifications, and then reassign back to the list, overwriting the current value.
    Kind Regards,
    Diana Hoppe

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • Org.xml.sax.SAXException: System property org.xml.sax.driver not specified

    Hi,
    I am running Jdeveloper 9.0.3.1 and using embedded OC4J.
    Getting following error when trying to run the application. Please help me if you can.
    Thanks
    Tareq
    at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:90)
         at net.sundog.struts.ActionFinderPlugIn.parseHtmlFiles(ActionFinderPlugIn.java:76)
         at net.sundog.struts.ActionFinderPlugIn.searchDirectory(ActionFinderPlugIn.java:64)
         at net.sundog.struts.ActionFinderPlugIn.init(ActionFinderPlugIn.java:50)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1156)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2750)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    try to look on xml.apache.org for this error. There should be some pages describing how and why setup this property.
    Basically, these properties defines factories for javax extensions. javax defines interfaces and providers than supply implementations, so for example you can use different XML parsers implementations (we use Xalan for one OC4J container and original ORACLE parser for other). To bind this together they use some defined mechanism like setting system property of including special manifest file etc. (I don't know about details)
    Myrra

  • Promoting a property after XML debatching - Is this possible?

    Hi,
    I have a schema (please see below) which I'm currently debatching - this works perfectly! I would like to add a promoted property to the debatched message so that I can then use this for port level routing. This is where I'm currently having some difficulties.
    Thus far, I've only been able to get it working against the last debatched message rather than each one. Is this possible within BizTalk?
    What I would like to achieve:
    Map inbound message to canonical schema on inbound port
    De-batch messages on repeating nodes (SpaceUsage)
    Use promoted property (SpaceUsageMasterData) within send port to provide message routing.
    Schema:
      <ns0:SpaceCanonical xmlns:ns0="http://uol.external.schemas">
      <ns0:SpaceSysID>SpaceSysID_0</ns0:SpaceSysID>
      <ns0:SpaceSysCode>SpaceSysCode_0</ns0:SpaceSysCode>
      <ns0:SpaceName>SpaceName_0</ns0:SpaceName>
      <ns0:SpaceDescription>SpaceDescription_0</ns0:SpaceDescription>
      <ns0:SpaceNetArea>SpaceNetArea_0</ns0:SpaceNetArea>
      <ns0:PropertyCode>PropertyCode_0</ns0:PropertyCode>
      <ns0:FloorCode>FloorCode_0</ns0:FloorCode>
      <ns0:ShowInCMIS>ShowInCMIS_0</ns0:ShowInCMIS>
      <ns0:SpaceModDateTime>1999-05-31T13:20:00.000-05:00</ns0:SpaceModDateTime>
      <ns0:SpaceMasterData>False</ns0:SpaceMasterData>
      <ns0:TodaysDate>1999-05-31T13:20:00.000-05:00</ns0:TodaysDate>
      <ns0:SpaceUsages>
        <ns0:SpaceUsage>
          <ns0:SpaceUsageCode>SpaceUsageCode_0</ns0:SpaceUsageCode>
          <ns0:SpaceParentSysID>SpaceParentSysID_0</ns0:SpaceParentSysID>
          <ns0:SpaceTypeCode>SpaceTypeCode_0</ns0:SpaceTypeCode>
          <ns0:SpaceTypeDescription>SpaceTypeDescription_0</ns0:SpaceTypeDescription>
          <ns0:EMSCode>EMSCode_0</ns0:EMSCode>
          <ns0:EMSDescription>EMSDescription_0</ns0:EMSDescription>
          <ns0:TRACCode>TRACCode_0</ns0:TRACCode>
          <ns0:TRACDescription>TRACDescription_0</ns0:TRACDescription>
          <ns0:DepartmentCode>DepartmentCode_0</ns0:DepartmentCode>
          <ns0:SpaceUsageNetArea>SpaceUsageNetArea_0</ns0:SpaceUsageNetArea>
          <ns0:StartDate>1999-05-31</ns0:StartDate>
          <ns0:EndDate>1999-05-31</ns0:EndDate>
          <ns0:Capacity>Capacity_0</ns0:Capacity>
          <ns0:CostBandCode>CostBandCode_0</ns0:CostBandCode>
          <ns0:CostBandDescription>CostBandDescription_0</ns0:CostBandDescription>
          <ns0:CostRate>CostRate_0</ns0:CostRate>
          <ns0:FunctionalSuitability>FunctionalSuitability_0</ns0:FunctionalSuitability>
          <ns0:SpaceUsageModDateTime>1999-05-31T13:20:00.000-05:00</ns0:SpaceUsageModDateTime>
          <ns0:SpaceUsageMasterData>False</ns0:SpaceUsageMasterData>
        </ns0:SpaceUsage>
     <ns0:SpaceUsage>
          <ns0:SpaceUsageCode>SpaceUsageCode_1</ns0:SpaceUsageCode>
          <ns0:SpaceParentSysID>SpaceParentSysID_0</ns0:SpaceParentSysID>
          <ns0:SpaceTypeCode>SpaceTypeCode_0</ns0:SpaceTypeCode>
          <ns0:SpaceTypeDescription>SpaceTypeDescription_0</ns0:SpaceTypeDescription>
          <ns0:EMSCode>EMSCode_0</ns0:EMSCode>
          <ns0:EMSDescription>EMSDescription_0</ns0:EMSDescription>
          <ns0:TRACCode>TRACCode_0</ns0:TRACCode>
          <ns0:TRACDescription>TRACDescription_0</ns0:TRACDescription>
          <ns0:DepartmentCode>DepartmentCode_0</ns0:DepartmentCode>
          <ns0:SpaceUsageNetArea>SpaceUsageNetArea_0</ns0:SpaceUsageNetArea>
          <ns0:StartDate>1999-05-31</ns0:StartDate>
          <ns0:EndDate>1999-05-31</ns0:EndDate>
          <ns0:Capacity>Capacity_0</ns0:Capacity>
          <ns0:CostBandCode>CostBandCode_0</ns0:CostBandCode>
          <ns0:CostBandDescription>CostBandDescription_0</ns0:CostBandDescription>
          <ns0:CostRate>CostRate_0</ns0:CostRate>
          <ns0:FunctionalSuitability>FunctionalSuitability_0</ns0:FunctionalSuitability>
          <ns0:SpaceUsageModDateTime>1999-05-31T13:20:00.000-05:00</ns0:SpaceUsageModDateTime>
          <ns0:SpaceUsageMasterData>False</ns0:SpaceUsageMasterData>
        </ns0:SpaceUsage>
      </ns0:SpaceUsages>
    </ns0:SpaceCanonical>
    Thanks,
    Steven.

    Hi all,
    Thanks for the advise regarding my challenges with BizTalk de-batching! I don't think that I was particularly clear in my first post that both the "Space" node and "Space Usage" node have a one to many relationship:
    IE. a space can have multiple usages below it in the schema. It should also be noted that the original XML fie received will have a large number of spaces within it and isn't limited to just one.
    XML file format:
    Header - static
    Space - multiple spaces in the file (essentially the rooms within a building)
    SpaceUsage - multiple space usages within the file (layout of rooms according to date/usage)
    I now believe that what I really needed to do was to de-batch the "space node" and also the "space usage" node which I don't believe is possible as I can find no information on de-batching one file into multiple message
    types where there are repeating nodes throughout. Please correct me if I'm wrong. The only part of the message which is static throughout it the header. Moving forward I'll be clearer with our suppliers that we need specific files for each message type rather
    than generating large XML files with all the message types in one place.
    Kind regards,
    Steven.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Add element or property to XML header (from property set)

    I would like to add an element or property to an outbound XML message.
    I saw references to Tech Note 304, but I can no longer find it.
    Can anyone remember what was in Tech Note 304, or knows how I can do this?

    Scratch my previous post.
    I just got it working, but with Siebel 8.0.0.12 I had to change the sequence.
    In Tech Note 304 they have the example that you should have the Siebel Message in sequence before the SiebelMessage.SessionId input property.
    But for some reason that gives an error for me, but it is working for me when the Siebel Message property set comes after the SiebelMessage.SessionId input property.
    Edited by: jiyong on Mar 13, 2013 5:30 PM Make it work with a different sequence.

  • Multiselect Metadata Property in XML Form

    I have created an xml form to create news items for our company. The basics of the form can be found on http://service.sap.com/nw-howtoguides at Portal>KM and Collaboration>KM. I would like to add a custom metadata property that i have created that is multiselect. However i can't seem to figure out how to add the multiple checkboxes.
    Anyhelp would be appreciated.

    Hi Carsten,
    I think you might be able to help me out in this.
    I have created a multi valued property named “sls_region” with allowed values All, America, Europe. I have assigned this property in custom parameter section of Editxsl file of xml form.
    I have created a filter with “sls_region “property with all allowed values for property available in dropdown.
    While uploading news whatever value is selected in dropdown of filter gets assigned to custom property of the form.
    To make it more clear
    sls_region has value All, America, Europe
    If in filter dropdown America is selected …..custom property has value set as America
    If in filter dropdown Europe is selected …..Custom property has value set as Europe
    If in filter dropdown All is selected …..Custom property has value set as All
    This is working fine .Code which I am using for this is
    <xsl:param name="ext_mars:sls_region" />(Defined in custom parameters section)
    <input size="30" type="hidden"> 
    <xsl:attribute name="name">wcmprop.mars:sls_region</xsl:attribute>
    <xsl:if test="$ext_mars:sls_region=' '">
                     <xsl:attribute name="value" /> </xsl:attribute>
                </xsl:if>
                 <xsl:if test="$ext_mars:sls_region!=' '">
                   <xsl:attribute name="value">
    <xsl:value-of select="$ext_mars:sls_region"/></xsl:attribute>
                </xsl:if>
    </input>
    But I need to change functionality like when user select All in dropdown of filter, all available values for that custom property get sets in form.
    If in filter dropdown All is selected …..Custom property should have value set as All, America, Europe
    Please guide me how to modify above code to achieve this.
    Regards,
    Madhvika

  • Property in XML Form

    Hallo,
    I have a problem with a property in the xml forms builder.
    The property should show the parent folder of the xml file. So I developed a property renderer.
    In the details page the property is displayed correctly.
    But when in the RenderListItem, the property is empty.
    Any idea?
    Regards,
    Gerhard

    Hi Gerhard,
    unfortunately your (any) property renderer will not be used in XMLForms. Its only
    possible to use basic property types in XMLForms (e.g. date, string, ...) and ONLY the values stored inside.
    Maybe you can combine the RenderListItem in you custom FlexUI LayoutSet (e.g. you can display your PropertyRenderer beside the XMLFormsItem)
    with kind regards
    --Matthias

  • Multivalued system property in XML

    Hello,
    We currently want to use a multi-valued system property in a XML form. In the Edit form we created checkboxes with the values 1 to 5. In the Show form a control selector with five labels is created in order to display only the selected values. However the display in the show form is incorrect.
    If we created a xml form with only the values 1,3,5 selected the show form only displays value 5. Does anyone know how we can fix this problem? All the conditions in the XML are in line with the system property value.
    Looking forward to your reply.
    Kind regards,
    Joost Christenhusz

    Hi Federico,
    I haven't fixed it yet, but the problem is that the control selector doesn't work yet in XML. You can only display the properties using a normal label. The results will be displayed in the same row. This is not the most optimal layout, but the only one that works.
    Kind regards,
    Joost Christenhusz

  • Name property of XML forms

    Dear All,
    I need to display a fixed name (which cannot be edited by the end-user) on my Edit and Show Xml forms.
    The Name property available allows the Name to be entered on in text field and carries the same perfectly when rendering the Show form.
    However being in a text field allows the user to edit the name.
    Is there any way by which I could display the name property on a label or a locked control?
    Thanks

    Hi,
    I have tried placing a label and getting the Name Property to refer to the same but the system does not pick up the text on the label.
    I have also tried to replace the text field with a label but that didn't work either.
    It only seems to picks up the text as 'Name' when placed in a text field.
    Best

  • Placement of application specific property and xml files

    I have multiple .jars inside a .ear file. These jars need to values pulled
    from a xml file or a properties file. I need this file to reside in one
    place and not inside each jar. What is the recommended way of doing so.
    thx for any help.

    Should the shared jar just contain the xml files or should they also contain
    the classes to parse the data and return the results to the call ejb. Also
    should I make class-path modifications to this manifest or just the manifest
    of the calling ejbs.
    thx
    b smith
    "Seth White" <[email protected]> wrote in message
    news:[email protected]..
    >
    Have you tried putting the XML file in a shared .jar? And referencing
    the jar using the Class-path entry in the manifest of each EJB's jar.
    You should then be able to load the file as a resource.
    Seth
    "b. smith" wrote:
    I have multiple .jars inside a .ear file. These jars need to values
    pulled
    from a xml file or a properties file. I need this file to reside in one
    place and not inside each jar. What is the recommended way of doing so.
    thx for any help.

  • What is default value of the javax.xml.transform.Transformer sys property?

    Hi all
    In my other thread "javax.xml.transform." last replied to on 17/04/05, I described that having & in my xml was causing TransformerExceptions when I attempted to apply a stylesheet to the xml.
    I've now deployed exactly the same xml, xsl and java on a completely different environment and have found that the error does NOT occur.
    This completely baffled me at first, but then I read the following in the API documentation for TransformerFactory: -
    "A TransformerFactory instance can be used to create Transformer and Templates objects.
    The system property that determines which Factory implementation to create is named "javax.xml.transform.TransformerFactory". This property names a concrete subclass of the TransformerFactory abstract class. If the property is not defined, a platform default is be used.
    I think that the key must lie in the system property "javax.xml.transform.TransformerFactory". The two environments must be using a different value for this - one representing a class that objects to & and one that doesn't. In neither case do I actually set this property, so my main question is what does it default to and how can I find out what each environment is using for this?
    I'm really baffled here guys, any help would be massively appreciated.
    Thank you
    Jon

    javax.xml.transform.TransformerFactory is a real class implemented by someone. It looks at the system property to figure out what actual implementation to use. It the property doesn't exist, it uses the class that came bundled with the javax.xml.transform.TransformerFactory class you are using.
    Here, for instance, is the javax.xml.transform.TransformerFactory that comes with jdk1.4.2
        public static TransformerFactory newInstance()
            throws TransformerFactoryConfigurationError
            try {
                return (TransformerFactory) FactoryFinder.find(
                    /* The default property name according to the JAXP spec */
                    "javax.xml.transform.TransformerFactory",
                    /* The fallback implementation class name */
                    "org.apache.xalan.processor.TransformerFactoryImpl");
            } catch (FactoryFinder.ConfigurationError e) {
                throw new TransformerFactoryConfigurationError(e.getException(),
                                                               e.getMessage());
        }

  • In XML view, how to set sap.ui.core.CSSSize array for property "widths" of MatrixLayout Control?

    As SAPUI5 prefer XML views, I'm rewriting JS view into XML views.
    When I translate the statements below, I can not set sap.ui.core.CSSSize array for property "widths" of Control MatrixLayout.
    JS version:
    var oLayout = new sap.ui.commons.layout.MatrixLayout({
        id : 'matrix3'
        columns : 3,
        width : '600px',
        widths : ['100px', '200px', '300px']
    XML version:
    <l:MatrixLayout
        id="matrix3"
        columns="3"
        width="600px"
        widths="['100px', '200px', '300px']">
    <l:MatrixLayout>
    The error says: Uncaught Error: "[100px, 200px, 300px]" is of type object, expected sap.ui.core.CSSSize[] for property "widths" of Element sap.ui.commons.layout.MatrixLayout.
    Same problem with property `backgroundDesign` of MatrixLayoutCell, I can only use a workaround to use String "Fill1" not the Class "sap.ui.commons.layout.BackgroundDesign.Fill1".
    When we meet a property which need a Class object as value, we can not set it in String Format for XML views. That's a pity or I did not find the right way to set NON-String values as property for XML Controls.

    Hi,
    any settings that are not possible in the XML, need to be set in the controller instead.
    Using the string value of an enum is fine, though.
    Regards
    Andreas

  • How to access System properties in xml file

    hi,
    i want to read system properties in my xml file using ${} .
    I tried it but did not find any way.But when i use log4j if i set some variable in
    System properties that properties is read by the log4j.properties .
    I am writing a simple program that read a xml properties file file
    try {
                props   = new Properties();
                fis     = new FileInputStream(xmlFile);
                props.loadFromXML(fis);
    }before reading this file i set some properties and accessing this properties from that xml .but i cant.
    Thanks

    sabre150 wrote:
    fun_with_java wrote:
    can you give some example?Not really - I would have to write the code for you and I'm not getting paid for writing your code.Thanks for your kindness.
    I dont ask you to write the code.Need some help to start it .Actually i dont have knowledge that
    whether xml file automatically read it or i have prase the system property manually. Now i got the way to
    access system property in xml..
    Ok thanks again..
    Thanks & Regards

Maybe you are looking for