cancel
Showing results for 
Search instead for 
Did you mean: 

XML Files inside a Webdynpro UI

Former Member
0 Kudos

Hi all,

I need to display a XML file inside a Webdynpro UI. Say for eg i need to display the XML file in the same view on button click as the display should be in some Webdynpro UI element in the same view. Can any one help me how to use formattedtext UI in Webdynpro

Thank you

Philip Thayil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Philip,

What i suggest is you can use LinkToUrl UI element.

Specify the path of the fiel as value of reference property of UI element.

On click it will open the file.

Former Member
0 Kudos

Hi Sriram,

What i need to is to display xml file inside the view. It should be displayed in the XML fromat itself. In my need i don't want to go out of the view.

Thank you

Philip Thayil

Former Member
0 Kudos

Hi Shriram,

Can you please some more elaborate on what you have told. About the link to URL. I had tried it by binding the reference and text to a path of the file.But the result is error.

Thank you

Philip Thayil

Former Member
0 Kudos

Hai Philip,

You may use Depicated UI element Iframe to dislay Xml file as a formatted text.

Please follow the blog:

/people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java

Regards,

Naga

Former Member
0 Kudos

Hi Philip,

Bind the file path to the <b>reference</b> property.

Note :This will open the file in a new internet explorer and not the same view.

One more thing file path should be a URL.