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
sai 2004sai 2004 

Create record on image click

Hi all,

I need something like a clickable image. when I click the image in a page related record should be created.

Thanks in advance.
Best Answer chosen by sai 2004
sachinarorasfsachinarorasf
Hi Sai,

I have gone through your problem.

Please follow the below link:

https://developer.salesforce.com/forums/?id=9062I000000IGAzQAO

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Sachin Arora

All Answers

MagulanDuraipandianMagulanDuraipandian
If you have option for Quick Action instead of Image, then you can call a Lightning Component which can call apex to create related record.
--
Magulan Duraipandian
www.infallibletechie.com
sachinarorasfsachinarorasf
Hi Sai,

I have gone through your problem.

Please follow the below link:

https://developer.salesforce.com/forums/?id=9062I000000IGAzQAO

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Sachin Arora
This was selected as the best answer