cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment functionality in WCEM 2.0

Former Member
0 Kudos

Hello,

our requirement is to upload a file in a custom WCEM page.

how the standard attachment functionality works in WCEM?

Any sample code of uploading an attachment would be very helpful for me.

Thanks in Advance

Subasissh

Accepted Solutions (1)

Accepted Solutions (1)

steffen_mueller3
Participant
0 Kudos

Hi Subassish,

I recommend that you search for an example in the WCEM standard. Start a "file search" in your IDE where you're looking for usage of 'multipart' string in xhtml files. You should find for example "attachmentTableWithFormView.xhtml".

You can drill down to the page "attachmentTableView" manually to find  the usage of the <wec:inputfile> tag. Or you trigger a new search looking for "inputfile" in xhtml files.

In the related view handlers you find the actions that are processed.

Best regards,

   Steffen

Former Member
0 Kudos

Thanks Steffen.

Could you please tell me the  names of standard files involved in attachment functionality.

steffen_mueller3
Participant
0 Kudos

Hi Subassish,

I did already. A java search will provide you other files.

BR,

  Steffen

Answers (0)