function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jagjitsingh@indivar.comjagjitsingh@indivar.com 

Image

Hi

 

   How to add Image to Products when a new product is created.

 

Thanks

Ankit AroraAnkit Arora

Have some questions for you :

 

Where you want to add image? In any field of product?

From where you are expecting this image? Entered manually from user or from any text?

You want to display the image or just want to keep the link for reference?

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

jagjitsingh@indivar.comjagjitsingh@indivar.com

Hi

 

    If we create a Custom Button in Product Form , and when user click on this Button he should upload image related to this product.

I am not sure whether i am right or not.

 

Thanks

Ankit AroraAnkit Arora

You can do this in multiple ways :

 

1) You can create a custom "Detail Page Button" and on click of that you can save the image URL in nay of the field in product, but don't think you want to do this. You want to browse the image URL from desktop.

 

2) So you can create a visualforce page which will get open on click of the above button and there you can provide inputfile which will allow you to browse the image from desktop.

 

After you click save on that visualforce page you can update that url in field of product.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

jagjitsingh@indivar.comjagjitsingh@indivar.com

Hi Ankit

 

    Can u pls help me with Code . I have created Customised Button in Detail Page .

 I will be very thankful to u

 

Regards

Jagjit Saini