cancel
Showing results for 
Search instead for 
Did you mean: 

What's the difference between IResource & IWDResource?

victorpale
Participant
0 Kudos

Hello SAP's gurus.

I'm reviewing a code and find two declarations:

IResource resource = null;

IWDResource = null;

I don't understand in what cases I use IResource or IWDResource?

Best regards,

Victor Carmona.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Victor,

I assume, the full qualified type of the variable "resource" is com.sapportals.wcm.repository.IResource, isn't? This class represents a KM resource, for example an image or pdf file.

The IWDResource represents the resource of your Web Dynpro application, which you use in your user interface, for example an attachment or preview image etc.

Please see i.e. here:  for an example of using these classes together

Regards,

Artem

Answers (0)