cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload a image from desktop or c:drive to an image attribute in form view

Former Member
0 Kudos

Hi Experts,

I am trying to set an image to an image attribute for my business scenario in UI Designer but I did not find any option to upload a image from Desktop or C drive in UI Designer.

Can you please help me here.


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivasa,

Here is what you need to do (however I haven't done this myself, so no guarantee):

  1. Add an attachment folder
    [DependentObject(AttachmentFolder)] node ImageFolder
  2. Add the following Embedded Component to your Floorplan:
    • For editable images:
      /SAP_BYD_APPLICATION_UI/Reuse/Attachments/imagepane.EC.uicomponent
    • for display only images:
      /SAP_BYD_APPLICATION_UI/Reuse/Attachments/imagepane.EC.uicomponent
  3. Now bind these embedded components to the parent node containing the ImageFolder node using NodeReference Bindind

Enjoy.

Hope to help,

Ludger

--

Custom development with All4Cloud.de

Former Member
0 Kudos

Hi Ludger,

Thank you for your help.

As you suggested I have added embedded component in my form. I did the binding with NodeReference Bindind.But add button is in disable mode because of this I am not able to upload my custom image from desktop.

Could you please help here to enable add button in the image pane. Kindly refer attached images what I did.

Thank you,

Srinivasa Rao.