on 03-27-2008 1:45 PM
I'm trying to get this XML Path stuff working and I'm not having a lot of luck. Can anyone tell me what might be wrong with this example? I'm just trying to output the name of the query in a text item.
I have the XML being generated for DP_1. The error message is no help at all. "Error during command processing"
<bi:TEXT_ITEM name="TEXT_ITEM_1" designheight="70" designwidth="200" >
<bi:WITH_TRAY type="CHOICE" value="X" text="" >
<bi:TRAY_SETTINGS type="COMPOSITE" >
<bi:CAPTION path="DATA_PROVIDER:DP_1?/BICS_VIEW/QUERY/@text"></bi:CAPTION>
</bi:TRAY_SETTINGS>
</bi:WITH_TRAY>
</bi:TEXT_ITEM>
abandoned using XML Path Replacement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Which command did u try to get this done? I think you need to do the following:
1. Add a data provider information item for DP_1.Set it property "Output Display" to on(the checkbox in the web item parameters for the 'data provider information item').
2. Create a command at 'web template' level--Set_Web_Item_Parameters command, for the web item involved.
3. In this command give a hard coded text value say 'Label1'.
4. Execute the report and right click-> View source. Search for the term 'Label1'.
5. Follow the path in the starting from BICS_VIEW till the word 'Label'. Copy this.
6. In the HTML tab in the WAD replace the part value = 'Label1' with path = <result from step5>
Thanks,
Balaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.