• Arthur Santos Almeida
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 1
    Likes Given
  • 3
    Questions
  • 4
    Replies
I need to run a query but do not must return account id duplicated.

I followed these articles:
  • https://developer.salesforce.com/forums/?id=906F00000008yzrIAA
  • https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_groupby.htm
and this is my query: 
SELECT Id, AccountId FROM Asset GROUP BY AccountId

but this gives an error: 
[MALFORMED_QUERY] Field must be grouped or aggregated: Id

what do I need to change in my query to she works?
in my sandbox, the Campaign Member object has a field AccountId, and this field does not is custom, he does not have "__c", he is standard!
 
and in my production, the Campaign Member object does not has a field AccountId
 
So, I need to deploy this field to my production, how to deploy the standard field?
 
Via SFDX does not work:
Error  CampaignMember.AccountId     fullName must end with: __c or __kav or __x or __b or __e or __p or __mdt or __dll or __dlm

And via Change Set does not work too: https://developer.salesforce.com/forums/?id=9060G000000I24dQAC (http://And via Change Set does not work too: https://developer.salesforce.com/forums/?id=9060G000000I24dQAC)
As much as I put the header as blue
User-added image

When the web page load, the header show black, why?
User-added image

in this documentation https://help.salesforce.com/s/articleView?id=sf.snapins_chat_branding.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.snapins_chat_branding.htm&type=5) don't say anything about this... before talk with bot this header black is default?
As much as I put the header as blue
User-added image

When the web page load, the header show black, why?
User-added image

in this documentation https://help.salesforce.com/s/articleView?id=sf.snapins_chat_branding.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.snapins_chat_branding.htm&type=5) don't say anything about this... before talk with bot this header black is default?
I need to run a query but do not must return account id duplicated.

I followed these articles:
  • https://developer.salesforce.com/forums/?id=906F00000008yzrIAA
  • https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_groupby.htm
and this is my query: 
SELECT Id, AccountId FROM Asset GROUP BY AccountId

but this gives an error: 
[MALFORMED_QUERY] Field must be grouped or aggregated: Id

what do I need to change in my query to she works?
in my sandbox, the Campaign Member object has a field AccountId, and this field does not is custom, he does not have "__c", he is standard!
 
and in my production, the Campaign Member object does not has a field AccountId
 
So, I need to deploy this field to my production, how to deploy the standard field?
 
Via SFDX does not work:
Error  CampaignMember.AccountId     fullName must end with: __c or __kav or __x or __b or __e or __p or __mdt or __dll or __dlm

And via Change Set does not work too: https://developer.salesforce.com/forums/?id=9060G000000I24dQAC (http://And via Change Set does not work too: https://developer.salesforce.com/forums/?id=9060G000000I24dQAC)
Hi everyone,
I would be very grateful if someone can help me.

I are trying to re use the selected value from a dynamic menu to use as an input to call other apex class.

I store values here (img 1), after I output this with success (img2).
I want to use the values as a input for call in next apex class(img3), but I get plain text "{!Matched_Order.OrderNumber}" on apex side and the Id is not passing.
Is it the correct way to pass the value or what am I missing?

Please help me finding the solution to make it work.
User-added imageUser-added imageUser-added image
Best regards,
Andre Chambel
Hello!

User-added image


User-added image

I recently began experimenting with the Einstein Bot Builder, and connected my bot to the Live Agent Chat Button. My Live Agent chat sessions work fine without the bot, but once I connect the bot, I receive the error "There is a connection issue."

Does anyone know how to fix this?
I appreciate any help!
Hi everyone,
I would be very grateful if someone can help me.

I are trying to re use the selected value from a dynamic menu to use as an input to call other apex class.

I store values here (img 1), after I output this with success (img2).
I want to use the values as a input for call in next apex class(img3), but I get plain text "{!Matched_Order.OrderNumber}" on apex side and the Id is not passing.
Is it the correct way to pass the value or what am I missing?

Please help me finding the solution to make it work.
User-added imageUser-added imageUser-added image
Best regards,
Andre Chambel