You need to sign in to do that
Don't have an account?

lwc action buttons to open modal
I've got a custom request object and I'd like to create an action button with LWC that prompts the user to add a note and a file then posts the note and file to the chatter feed and changes the status of the record. I do not want to use Aura if possible. I'm not sure how to open a modal from an action button (something like the below)
Lastly, I'm not sure how to modify the record without using the lightning-record-form. Is Apex method the only option?
<lightning-button label="Submit" slot="actions" onclick={handleSubmitClick}></lightning-button>I'm not sure how to add an entry to the feed. Is this even possible with LWC?
Lastly, I'm not sure how to modify the record without using the lightning-record-form. Is Apex method the only option?
You asked:
More details regarding #1, action button for an LWC: Per https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.get_started_supported_experiences:
However, your Lightning [Aura] component can be very lightweight. It does not need much more than the following:
In this paradigm, the actual GUI layout for a popup modal leaves much to be desired. You may need to do quite a lot of tweaking the css and interplay between the Lightning [Aura] Component and your "myLwcForAnAction" Lightning Web Component to get the look and feel that you desire.