Closed bartyzelm closed 3 years ago
Hi @bartyzelm. I did the following steps and it works :
const parentOrigin = document.referrer; parent.postMessage( { message: 'lwc:hide:' + JSON.stringify(outputVariables), type: 'flow.finished' }, parentOrigin);
@mauricioruizintellect thank you very much :) we will try that :)
Hi @mauricioruizintellect Is there any reason why this component was written in aura?
Hi @mauricioruizintellect Is there any reason why this component was written in aura? I think the aura component has the "lightning:flow" property and lwc does not.
@mauricioruizintellect Yeah, you are right. I'm trying to understand how did you managed to make aura collaborate with LWC. If LWC is main component how do you want to run aura component in chat? Only LWC has possibility to override 'original chat messages' (extends BaseChatMessage).
My organization is not using community, and chat is exposed on company website. Is there a way to use Screen flow in chat in this setup ? I'm asking as in the documentation there is an information: "Ensure that you followed the community page steps above to have your flowcomponent page setup prior to using the flow component." which is not an option.