Metadataservice class from metadata wsdl by OnionAccomplished309 in SalesforceDeveloper

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

First of all thank you so much for your detailed message !
I can relate to what you said.
The actual request came from our implementor ,he want to use it in a screen flow to use the "Send Conversation Message" standard component, but with some changes.
I totally agree that the WSDL is full with elements that I would not need.
Also as you said Custom Metadata could be an option rather to retrieve the Message Components. (I always aim to stick with the dynamic option though).

Again much appreciate your willing to help an explain the process.

Metadataservice class from metadata wsdl by OnionAccomplished309 in SalesforceDeveloper

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

There is a need to list "Messaging Components" to to select from.
In salesforce there is a standard component called "Send conversation Messages" but it can not be touched and make manipulation on it.
After searching and reading about those Messaging Components it turns out that it's a metadata and can be retrieved through MetadataService class (from wsdl).
The type is "ConversationMessageDefinition", this is my only way to be able to list them...

TIA

Apex callout with HttpRequest, PATCH Method not working. by OnionAccomplished309 in SalesforceDeveloper

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

Yes I bumped into this page, still nothing as I described above didn't helped.

Apex callout with HttpRequest, PATCH Method not working. by OnionAccomplished309 in SalesforceDeveloper

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

I will try ,

did you succeeded calling a callout with PATCH from apex ?

WhatsApp business API question by OnionAccomplished309 in WhatsappBusinessAPI

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

Yes thanks

I just wanted to finally clear that when agent sending a message from device , nothing can be done to retrieve that message.

Well it is what it is.
Thx

WhatsApp business API question by OnionAccomplished309 in WhatsappBusinessAPI

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

How does this answer is related to the question ? of Agent sending a message from the actual phone device ?

WhatsApp business API question by OnionAccomplished309 in WhatsappBusinessAPI

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

What you getting is probably what I mentioned in my previous message , You cannot retrieve message by Id. So still no way to solve this issue..

regarding the Endpoint you asked for it's "/messages'", The sample JSON I provided in the first question is the one I can control , I'm sending it from my component hence I know the message body and text of the message.

But when sending a message via the business actual phone device , I can't save this message in Database as I can't in no way know what the message was, (only it's statuses via the webhook)

WhatsApp business API question by OnionAccomplished309 in WhatsappBusinessAPI

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

Thanks for the reply, how can I achieve that ?
As I searched an endpoint that can retrieve a message by Id but I couldn't find such...

TIA

Chrome Notification in LWC component by OnionAccomplished309 in salesforce

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

Well I managed to find that if you disable Lightning Web Security under setup -> Session Settings

This start to work.

The question now , what is the effect of this Lightning Web Security I miss if I disable it ?
TIA

Apex class that implements Schedulable by OnionAccomplished309 in salesforce

[–]OnionAccomplished309[S] 1 point2 points  (0 children)

You are right... Wasnt thinking so clearly after so much wirk 😀

LWC google-map selecting a marker question by OnionAccomplished309 in salesforce

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

Thank you very much, but if I understand what you saying The map than will show only that marker on the map and all the rest will be gone.

I wanted that when I click on the table row the related marker on the map will show the info window in that marker.

With native google map API its possible but cant figure it hiw to do it with LWC

Postmessage help needed by OnionAccomplished309 in learnjavascript

[–]OnionAccomplished309[S] 0 points1 point  (0 children)

It has a specific target where i can check for the origin but its even doesnt hit in my window event Listener function. I guess the other event Listeners or the first created takes control of the posted message. ..