Skip to main content Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Write a program to identify the number which appears maximum number of times in an existing un-sorted array.   

 

Write a program to identify the number which appears maximum number of times in an existing un-sorted array. 

 

Input Array : 4,7,9,7,5,7,9,7 

Output: 7 

 

Input Array : 4,2,1,4 

 

Output: 4 

 

Input Array : 5,2,5,6,2,5 

Output: 5

 

#Trailhead Challenges

3 answers
0/9000

How can I get more case records per REST api call than 1? For example, 10000 records per api call? Or is there a limit? 

 

#Salesforce Developer

1 answer
0/9000

I'm trying to work through the "Use Dataloader.io

to Update Data" First part using Import Wizard was fine, second part requires you to reset Password for the Trail Head playground org.   

When I follow the instructions to do this and use the link sent to my email address, the password change is made to my production org and sandbox org also.   when I open dataloader io its connecting to my Production org, not the playground org. 

What am I missing?    

 

#Trailhead Challenges

0/9000

We have deployed Enhanced Einstein Bot and an inbound flow which routes the Chat request to this Bot to higher env.  

Problem we are facing after deployment is that Bot doesn't show the inbound flow in overview section and after investigation, we found we had to created a new version of flow by deselecting the Bot and reselecting the Bot and same for fallback queue. 

Refer the below screenshot. 

InboundFlow_Bot_Issue.png

 

    

 

#Service Cloud  #Flows  #Einstion Bot

0/9000
1 answer
0/9000

Hi all,  

I need help to change the name field for this Object. We were using Case Object but customised them for our product. In the Account Layout Page, it sets the Case Name as Case Number which is an AutoNumber format but inside the Case Layout, this has been deleted. 

Account Page.png

 

Case Page Layout below, no Case Number set

Case Layout.png

 

There's no Case Number field when I click edit on the Case Object in Account Layout

Screenshot 2025-01-22 170953.png

 

Case Number Field is indexed and cannot be edited 

case number.png

 

 

#Case Management  #Rename Custom Field Labels

3 answers
0/9000

Hi All,    I am taking my first few steps in the world of CRMA and need help in creating a calculation in CRMA.  I have attached the sample data set ( this is the final dataset that I have built via a recipe) on which I want to create a dashboard.  I am looking to create a calculated field called "Total Revenue". As per the logic total revenue should be    Sum of (Order quantity (column c) * product price per unit (column e)).  I can easily do this calculation in Tableau or PowerBi but not understanding how to replicate the same in CRMA.     Kindly help    

3 answers
0/9000
Hello,

According to the document Connect Your Email and "Calendar to Salesforce with Einstein Activity Capture or Inbox" (https://help.salesforce.com/articleView?id=sf.aac_connect_additional_accounts.htm&type=5), I should be able to find the "Connected Accounts" in the Quick Find box. However, there is no related tab.

Screen shot of my personal settings

How can I follow this document? Thank you.
3 answers
0/9000

This is emergency as I have to take my exam today, but it got suspended due to technical issues. even the support team could help me at the right time  

 

Case #469603214

#Certifications #Trailhead Challenges

0/9000

I have one profile that gives users access to view some objects read-only. Also, I have given some apex classes and LWC access to this profile. In the apex class, we have used the Schema.getGlobalDescribe(), but when this profile user runs the LWC and calls the apex class, this method does not run and does not get the expected result.

So is there any permission that I need to enable on this profile to run the Schema.getGlobalDescribe()?

Example Code:

String objectName = 'Case';

Map<String, Schema.SObjectField> fieldMap = new Map <String, Schema.SObjectField>();

fieldMap = Schema.getGlobalDescribe().get(objectName).getDescribe().fields.getMap();

for (Schema.SObjectField sfield : fieldMap.Values()) {

Schema.describefieldresult dfield = sfield.getDescribe();

Schema.DisplayType FldType = dfield.getType();

if (String.valueOf(FldType) == 'REFERENCE' && dfield.isCreateable()) {

system.debug('Reference Field: '+ dfield.getName());

}

}

This above code runs fine with the System Administrator profile, but with the custom profile does not. 

 

#Salesforce Developer  #Salesforce Admin  #Salesforce  #Apex

0/9000