Skip to main content A new Salesforce certification experience is coming July 21st. Discover how exams will be delivered in Pearson VUE, what it means for you, and ways to prepare. Learn more.

Feed

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

Hi 

I'm importing a small file to a custom object. There is an expiry date which maps to a date-time field, and the expiry time should be 11.59pm. 

 

Our org is set to GMT+10 and my user is set to GMT+10. I have set the expiry date time to 13:59 to account for the 10 hour offset. Sometimes this imports as 11:59pm and sometimes as 10.59pm. There doesn't seem to be any consistency as to which it imports as. I've tried using the Data Import Wizard and

Dataloader.io

and get the same inconsistent results.  

 

Sample format: 2028-07-12T13:59:00Z 

 

Does anyone have any ideas on other things to check? 

 

Thanks 

 

#Import Data Challenge

1 answer
0/9000
2 answers
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Today, 9:23 AM

    Hello @VIMAL TIWARI

     

    It looks like the Manage Positions Permission set isn't granting read, create,and edit permission for the Position object. 

    1. Go to Setup- Search for Permission Sets. 

    2. Select "Manage Positions"- Click Object Settings. 

    3. Find "Position", click Edit. 

    4. Enable "Read", "Create", and "Edit" permissions. 

    5. Save Changes- Test by assigning the permission set to a user. 

     

0/9000

I have tried deactivating an approval process several times in one of my playgrounds while doing the "Build a Discount Approval Process" Trail, but it just won't get deactivated. Please advise on what I can do to fix the issue. Thanks. 

 

#Trailhead

0/9000

Hi All, 

 

I created a custom agent action for the agent force service agent and assigned it in a topic, but when I am executing the service agent in the planner, it shows 0 actions. Still, it shows the action in the topic. 

 

It is working in the Agentforce default but with the service agent,t it is not working. 

You can see this in the below screenshot. 

 

Can anyone help with this?

Custom agent action is not showing in service agent planner

 

 

 

#Agentforce

4 answers
  1. Today, 9:17 AM

    Hi All, 

    I am trying complete the Agentforce for Service Superbadge Unit Superbadge. In the third challenge I am not able to add the action in General FAQ Standard action(I am not able to find an option like new/Add from library option on topic). Any suggestions please.

0/9000

I'm having an issue where the correct service document template is not being picked  I've set up a specific template on the Service Appointment and then set up the Template ID on the Work Type Object, under the field "Default Document Builder Template ID". It is not the Default Template.  When a Service Appointment is created and completed, the Default Template is being used, instead of the one designated under the Work Type "Default Document Builder Template ID".   Because I connected a specific template to the work type, I expect whenever a Service Appointment is created using that work type to be used, but it is not being found.   Any ideas on what I could be missing?   

2 answers
  1. Heiko Lindner (Privat) Forum Ambassador
    Today, 9:08 AM

    Hey @Julie Solecki if I understand your description right, than you overrides the work type template with the specific template on service appointments. The system first checks any defined template on SA or WO before using the template from WorkType. If you don't define any template, the system will use the default one.

0/9000

Hi,    I am looking for guidance on configuring twin field mapping between Product and Quote Line Item.  Created a check box field in Product & in Quote Line.   Check box in Quote Line gets value from corresponding Product.   

2 answers
0/9000

Hi experts ,  

 

I have My OWD set as public read only . and one of my profile "KTP Profile " should not be able to see "prospect record type" account records , but that profile users are able to see just because OWD is set as read only . how can i restrict access for that profile  so that they dont see prospect record type accounts , I dont want to touch owd . 

 

#Salesforce Developer  #Trailhead Challenges  #Trailhead  #Flow  #Sales Cloud

0/9000

Hi everyone,

I'm facing a DUPLICATE_VALUE

error when inserting a new Opportunity in my test class. 

After investigation, I discovered that the issue comes from my @TestSetup method. However, there are

no unique fields defined on the Opportunity object, and even if there were, the inserted data isn’t identical.

To reproduce the issue, I wrote the following test class, and I still get the error. However, if I comment out the insert statement in @TestSetup, everything works fine.

Has anyone encountered this behavior before? Why would Salesforce consider the record a duplicate, even when the data is different?

My only workaround was to delete all Opportunity records in my test method before recreating them, but I’d love to understand the root cause of this issue.

public class TestSetupInsert {

public static Opportunity createHypothequeOpportunity(Id accountId){

Opportunity opp = new Opportunity(

StageName='En attente',

CloseDate=Date.newInstance(2024, 12, 31),

RecordTypeId='0127Q0000005LXLQA2',

OwnerId='005TG000000Zlk2YAC',

AccountId=accountId,

Name='Test'

);

insert opp;

return opp;

}

}

 

@IsTest

public class TestSetupInsertTest {

@TestSetup

public static void setup(){

Account acc = AccountFactory.createPersonAccount();

// Hypothèque

Opportunity oppHypotheque = OpportunityFactory.createHypothequeOpportunity(acc.Id);

OpportunityLineItem oppProdHypotheque = OpportunityFactory.createOpportunityProductHypotheque(oppHypotheque.Id);

}

@IsTest

public static void createHypothequeOpportunityTest() {

Account acc = [SELECT Id FROM Account LIMIT 1];

Test.startTest();

Opportunity opp = TestSetupInsert.createHypothequeOpportunity(acc.Id);

Test.stopTest();

Opportunity newOpp = [SELECT Id, Name, RecordTypeId FROM Opportunity LIMIT 1];

System.assertEquals('Test', newOpp.Name);

}

}

Thanks in advance for any insights! 🚀 

 

#Salesforce Developer

5 answers
  1. Today, 9:02 AM

    @Adishesh Mishra

      Just tried and it still doesn't work. I made sure not to use similar values, except for the AccountId.  

     

    @Venkatesh S Still no solution. I stopped using setup and in some cases I delete the opportunity in my test method then I create it again.

0/9000

Hi everyone!

I'm new to the Salesforce ecosystem and really excited to start learning Marketing Cloud. I come from a background in digital marketing and automation, but this platform is completely new to me.

Could you recommend a learning path or trail to get started from scratch and get a solid understanding of how Marketing Cloud works?

Any suggestions would be greatly appreciated. Thanks in advance! 

 

#Marketing Cloud

0/9000

Hello Every One,   I have some question about Query Studio in Salesforce Marketing cloud.  When executing a query in Query Studio, does the customer data pass outside our Marketing Cloud environment, or does it remain entirely within our perimeter?    Does Query Studio only act as an interface that sends an execution command (via API) to Marketing Cloud, which then executes the SQL query locally and stores the results in a Data Extension?    Or does Query Studio execute the SQL query on its own (outside our environment), accessing our database via API, and then returning the results to us?    Thank you in advance for your assistance   Best Regrads  Milissa DADI   

3 answers
  1. Today, 8:50 AM

    Hello @Aishwarya T.P

     

     

    Thank you for your answers.  

    We asked the Salesforce team to explain this to us, but they told us that it's not their app and so they don't have any information on it. Not even a point of contact with Salesforce Labs.

0/9000