Skip to Content
0

Convert image path of an image from the Attachment Folder

Feb 24 at 07:12 AM

78

avatar image
Former Member

Can we generate an image path of an image in the Attachment Folder and the same URL we can pass in to the custom field to display in the custom BO?

The business requirement is we have the product with multiple variant. Our end user wants to upload the custom image in to the sales quote screen.

As in standard sales quote we do not have this option. So we are going for custom.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Lewis Peters Feb 26 at 10:56 AM
0

Deepak,

How are the product variants set up? If you have a different product ID per variant then I suppose it could be simple enough to copy the product image from the Material BO's attachments folder and dump the data into the quote's.

Lewis

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Lewis,

Yes i have different Product ID per variant.

Can you please tell me,What i need to copy.Do i need to copy the path and pass the same path in my custom field?

I have tried the same and it is not working.Because the path which accept by custom field is only Web URL.Do you have any example ?

Regards

Deepak Das

0

Deepark,

I've not got any examples, no. I wouldn't do it via URL, I'd dig into the attachments folder of the material using ABSL and retrieve the binary data, if that's at all possible.

Lewis

0
Former Member

yes even i have tried to convert the binary file.But the image binary file is not accepted.

Regards

Deepak Das

0

Deepak,

You might be out of luck then I'm afraid, if you can't get this particular way to work.

Lewis

0