Skip to main content Unisciti a noi al TDX, a San Francisco o su Salesforce+, il 5-6 marzo per la conferenza degli sviluppatori sull'era degli Agenti IA. Registrati ora.

#Ask An Expert21 utenti parlano di questo argomento

Resources from the Salesforce Developers Ask Me Anything on Building Headless Agents with Agentforce

 

I hope you joined us for the fantastic #SFDevsAMA on Wednesday 26 February 2025 featuring @Mohith Shrivastava with product expert @Kamil Szybalski. They loved answering your questions about Building Headless Agents with #Agentforce. If you missed it, don't worry - we recorded the series and our experts have provided some great resources that our experts for you to continue your learning!  

 

Still have questions? Post them in this thread for our experts! 

 

#Ask An Expert

0/9000
I am getting the error "Line 8, Column: 16 Unexpected token '['." when I attempt to execute the code below in the anonymous window. It doesn't matter if I put the line in question as the only line in the execute anonymous window (removing the references to "contacts" and "setNotAllowedStatus"; it returns the same error except it becomes line 1, Column 16. It apparently doesn't like the AggregateResult[].

 

Any suggestions on how to make it work?

 

 

List<Contact> contacts = [ SELECT Id,Name

FROM Contact

WHERE CreatedDate > 2018-10-01T00:00:00Z

];

Set<String> setNotAllowedStatus = new Set<String>{'Closed - Cancelled','Closed_Cancelled', 'Closed - Declined', 'Closed_Declined'};

AggregateResult[] groupedResults = [ SELECT Contact__c conId, SUM(Estimated_Amount__c) sumEstAmt

From Application__c

Where Estimated_Amount__c !=: Null

AND Estimated_Amount__c !=: 0

AND Received_Date__c >=: 2018-10-01

AND Status__c not in:( setNotAllowedStatus )

AND Contact__c in: contacts

Group BY Contact__c];

 

 
3 risposte
  1. 2 gen 2019, 19:51
    You do not need the colon(:) for the NULL check, zero check, Date check etc in your Aggregate SOQL.

     

    Do it like this = 

    AggregateResult[] groupedResults = [ SELECT Contact__c conId, SUM(Estimated_Amount__c) sumEstAmt

    From Application__c

    Where Estimated_Amount__c != NULL

    AND Estimated_Amount__c != 0

    AND Received_Date__c >= 2018-10-01

    AND Status__c not in:( setNotAllowedStatus )

    AND Contact__c in: contacts

    Group BY Contact__c];

0/9000
Hello,

 

I'm preparing for my Service Cloud Consultant certification.

 

Do you have any links for preparing materials (like samples of test questions)? 

 

P.S. I have already done Trailmix 

 

Thanks in advance for your help.
3 risposte
0/9000

Hello everyone,

 

I have tried to access the sharepoint documents in salesforce but I can only see the Document Libraries not the documents and folders we have inside the library.

 

Can anyone help me?

 

I went through all of the documents in SFDC and Microsoft, and I am sure that I did all what they say, the only thing I am not sure is the API Permission in Azure. Anyone knows the minimum permission reuirement for SFDC to work?

 

Thanks in advance
3 risposte
  1. 20 feb, 10:09

    Hi Ali, I'm having the same issue. Did you manage to resolve it?

0/9000
Hi All

 

I've searched and searched but seem to be hitting a wall here. I'm busy setting up partner portal for and we have the partner adding leads. Submitting for approval and they can only convert to Opportunity, Account, and Contact. 

 

Everything is working but we are getting an "invalid cross reference id" error when converting the lead after approval. I've enabled debug logging (see below) but I can't make any sense of it.

 

User-added image

Log

42.0 APEX_CODE,FINEST;APEX_PROFILING,FINE;CALLOUT,FINEST;DB,FINEST;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,NONE;WORKFLOW,FINER

09:29:32.0 (70702)|USER_INFO|[EXTERNAL]|0050Y000002NyjK|ross@juiceit.co.za.snapt|South Africa Standard Time|GMT+02:00

09:29:32.0 (112493)|EXECUTION_STARTED

09:29:32.0 (116300)|CODE_UNIT_STARTED|[EXTERNAL]|DuplicateDetector

09:29:32.0 (129720)|DUPLICATE_DETECTION_BEGIN

09:29:32.0 (195614)|DUPLICATE_DETECTION_RULE_INVOCATION|DuplicateRuleId:0Bm0Y000002u9YM|DuplicateRuleName:Duplicate Account Information|DmlType:

09:29:32.0 (68257229)|DUPLICATE_DETECTION_MATCH_INVOCATION_DETAILS|EntityType:Account|ActionTaken:|DuplicateRecordIds:

09:29:32.0 (68274294)|DUPLICATE_DETECTION_MATCH_INVOCATION_SUMMARY|EntityType:Account|NumRecordsToBeSaved:1|NumRecordsToBeSavedWithDuplicates:0|NumDuplicateRecordsFound:0

09:29:32.0 (68444289)|DUPLICATE_DETECTION_END

09:29:32.0 (68450511)|CODE_UNIT_FINISHED|DuplicateDetector

09:29:32.0 (68459804)|EXECUTION_FINISHED

09:29:32.86 (86328010)|USER_INFO|[EXTERNAL]|0050Y000002NyjK|ross@juiceit.co.za.snapt|South Africa Standard Time|GMT+02:00

09:29:32.86 (86350044)|EXECUTION_STARTED

09:29:32.86 (86352791)|CODE_UNIT_STARTED|[EXTERNAL]|DuplicateDetector

09:29:32.86 (86363042)|DUPLICATE_DETECTION_BEGIN

09:29:32.86 (86401227)|DUPLICATE_DETECTION_RULE_INVOCATION|DuplicateRuleId:0Bm0Y000002N026|DuplicateRuleName:Standard Contact Duplicate Rule|DmlType:

09:29:32.86 (161824231)|DUPLICATE_DETECTION_MATCH_INVOCATION_DETAILS|EntityType:Contact|ActionTaken:|DuplicateRecordIds:

09:29:32.86 (161842253)|DUPLICATE_DETECTION_MATCH_INVOCATION_SUMMARY|EntityType:Contact|NumRecordsToBeSaved:1|NumRecordsToBeSavedWithDuplicates:0|NumDuplicateRecordsFound:0

09:29:32.86 (161881295)|DUPLICATE_DETECTION_MATCH_INVOCATION_DETAILS|EntityType:Contact|ActionTaken:|DuplicateRecordIds:00Q0Y00000FwKdr

09:29:32.86 (161887982)|DUPLICATE_DETECTION_MATCH_INVOCATION_SUMMARY|EntityType:Contact|NumRecordsToBeSaved:1|NumRecordsToBeSavedWithDuplicates:1|NumDuplicateRecordsFound:1

09:29:32.86 (162152442)|DUPLICATE_DETECTION_END

09:29:32.86 (162158615)|CODE_UNIT_FINISHED|DuplicateDetector

09:29:32.86 (162166301)|EXECUTION_FINISHED

09:29:32.203 (203247084)|CUMULATIVE_PROFILING_BEGIN

09:29:32.203 (203247084)|CUMULATIVE_PROFILING|No profiling information for SOQL operations

09:29:32.203 (203247084)|CUMULATIVE_PROFILING|No profiling information for SOSL operations

09:29:32.203 (203247084)|CUMULATIVE_PROFILING|No profiling information for DML operations

09:29:32.203 (203247084)|CUMULATIVE_PROFILING|No profiling information for method invocations

09:29:32.203 (203247084)|CUMULATIVE_PROFILING_END

 

 
3 risposte
  1. 17 feb, 10:38

    Hey,  

    Any luck on this? Owners are the same for me too and I am getting the same error!

0/9000
I am looking for a dependable VOIP solution for a SMB that is integrated tightly into Salesforce. Any suggestions? Currently using Aptela.
3 risposte
  1. 7 feb, 16:20

    As someone with extensive experience working with RingCentral, I can confidently say that their Voice over IP (VoIP) integration with Salesforce is far from being a useful or efficient solution. Regrettably, RingCentral provides minimal support when it comes to Salesforce, and there is a complete lack of access to APIs that would enable seamless data integration between the two platforms. This makes it impossible to establish a smooth, automated workflow for transferring data into Salesforce. 

     

    Furthermore, the RingCentral app itself is frustratingly unreliable and poorly designed, which adds to the overall disappointing experience. Based on my personal experience, I am genuinely puzzled as to why anyone would recommend this service. If you're looking for a more flexible and dependable solution, I strongly advise exploring alternatives such as AWS or Zendesk, particularly if efficient data capture and seamless integration are important for your needs.

0/9000
User-added imageDoes anyone know how to fix this? 

 

When I go to create a new record the fields are completely non existent. You can still create a blank record and then edit it in the page layout but it's just the editor seems to be blank. 

 

I've tried changing browsers and clearing the cache. 

 

I'm a system admin and have all the permissions for that object. 

 

There's only one page layout and record type. 

 

It's not happening for other objects. 
11 risposte
0/9000
We would like to use form assembly in our lightning community, we are using customer community plus logins and when logging in we are using SAML such that our community usernames are user@email.prod.community  but are production salesforce usernames are user@email.tld form assembly is authenticated to our org using user@email.tld

 

When trying to embed a form using the lightning component and setting the processing to be community user - we cannot get to the form after logging in - we get a Salesforce authentication failed (probably the callback url is not set correctly in the Customer Portal).

 

Has anyone experienced this - form assembly support has been less than helpful
7 risposte
0/9000
I am creating a component which will acccept object name and dispays its field in dual list box. Here i want to calll a apex method which will return all field of object. So I need to give apex name dynamically to component. 

 

How I can acheive this?
3 risposte
  1. 18 giu 2019, 10:03
    Hi Nitin,

     

    I agree with Payal, create one attribute with component using @api which should be passed to apex method.
0/9000
I have a user who consistently gets locked out of Salesforce after logging into Docusign. As far as I can tell, this user's experience is isolated - no one else with DS credentials has this issue. The user can send a Docusign and access all of the envelopes, then continue to work in Salesforce. The next time she attempts to log in to Salesforce (usually the next day), she gets an invalid password error. For the life of me, I cannot figure this out. I don't see any differences between her permissions and other users. 
4 risposte
0/9000