Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Accessing image/csv files located in WRR in PortalComponent


I am building a Portal application where I need to read image, csv type files located in WRR of Portal programmatically.

I know that I have to use  IResourceRepositoryService

But how exactly to use it I am trying to figure out.

1. There's a image tag in my portal component, src property of which I need to fill up from an image in WRR

2. There's a CSV file located in WRR, which I want to read and get values in it.

Kindly help.

Thanks & Regards,


Former Member replied

Hi Amey,

Please refer to the following documentation which has code snippet for examples on how to read and access resources in WRR.

The first example can be used for your requirement 1.

The second example will be useful for your second requirement.

Let me know in case you need more details...

Best Regards,

Rohit Singhal

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question