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.
Thanks & Regards,
Rohit Singhal replied
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...