Forum Discussion

FICO's avatar
FICO
Community Manager
17 years ago

reg: Display of values fetched from the imported BOM

reg: Display of values fetched from the imported BOM

Hi,

I have created an BOM whose Xsd is as follows:

<Descriptor>

      <element>

           <Name>  ---------Sam

            <Number>    -----1000

      </element>

</Descriptor>

This will be repeated multiple times.

Now when this gets imported in the Blaze using XML BOM we can just see the Class and Properties. (Descriptor and Name/Number)

Now using SRL editor we can get the Value of attributes.

But now the Query is how to display that value on the RMA screen.

kindly help.

Regards,

Archu  

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    What I understand from your post, is that you are asking how to display property/element values from an XML  document in the RMA.

    XML documents, unlike XML Schema definitions, are not in any way used in the RMA. The documents you send to the rule service are parameters to the rules engine runtime. The RMA is concerned with the static aspects of the rules/rule service, i.e. rules definitions, variable definitions, the classes that are a result of importing a schema definition using an XML BOM, etc.

    If you want to display values from XML documents (i.e. schema instances) in the RMA, and your purpose is to use the values you get in these documents to author/maintain rules, you need to implement a custom provider (using the custom provider API) that understands those documents and can provide the correct values for you (should be doable in a generic fashion using for example xpath?).

    If I misunderstood your question, please let me know, so that we can try to find a solution

    Regards,

    Jostein

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    thanks for ur response..but is there any other way where we dont have to use custom providers.

    Please reply.

    Regards,

    Archu