0

I had created a custom lightning component to send email(customized based on requirement) and I added the component in page.

But my component is not loaded when page is loaded instead of it is showing text box and button(named as add) once i click the text box or button then only my component is loading.(refer below Image)

enter image description here

Im trying to add some js to trigger the add button click

1 Answer 1

1

What you are looking at there is the standard feed publisher component. You cannot manipulate it with JavaScript; Locker Service prohibits you from reaching across namespaces in your JavaScript code.

You can change the suite of Quick Actions shown in the default publisher component by editing the Case Page Layout's Lightning and Mobile Quick Actions section to remove those items you don't desire. Then, place your custom component on the page canvas - it looks like it has not been placed, by your screenshot.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .