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 all,

 

I am setting up Marketing Cloud Connect and I have a question re the CRM API User. Trailhead advises using the Salesforce User licence. Can I use the Salesforce Integration licence instead?

Also the documentation advises using the System Administrator profile but my thoughts would be to create a new profile where password never expires and to limit permissions. 

Any advice help on this would be great! Thanks

5 answers
  1. Mar 17, 2024, 10:13 AM

    Hi @Emma,

    For the licenses, the Salesforce User license is usually the go-to because it unlocks all the MCC needs to function smoothly, like sending emails, syncing data. The Salesforce Integration User license is a bit more limited, so while it might seem tempting, it could end up restricting some of the MCC functionalities you're keen on using.

    If you're leaning towards the Integration User license, it's a good idea to have a chat with your Salesforce rep. They can give you the lowdown on whether this license will cover all your bases without leaving you wanting more.

    Now, onto the CRM API User's profile. Crafting a custom profile with just the permissions you need is a smart move. It keeps things secure without putting a damper on functionality. Pinpoint the permissions essential for your MCC tasks, set up a profile around them, and yes, implementing a non-expiring password policy with solid security measures is wise. Just remember to run some tests in a sandbox to make sure everything's ticking along nicely before you launch it into production.

    This approach keeps your integration tight and secure while ensuring you've got the access you need. Just a heads-up, though: keep an eye on those permissions and be ready to adjust as needed. Salesforce and MCC evolve, and so should your settings.

    Hope that helps!

0/9000

I found that the validation rule formula provided in the Trailhead challenge( DAY16):

ISPICKVAL(StageName, "Closed Lost") && ISBLANK(Close_Reason__c)

cannot be saved in Salesforce, as ISBLANK cannot be used directly on picklist fields. According to Salesforce documentation, the correct syntax should be:

AND(ISPICKVAL(StageName, "Closed Lost"), ISPICKVAL(Close_Reason__c, ""))

OR

AND(ISPICKVAL(StageName, "Closed Lost"), ISBLANK(TEXT(Close_Reason__c)))

 

#Trailhead Challenges

5 answers
  1. Today, 1:37 AM

    But... I've already create lots of new playground....still can't work tho  always appears the same problem

0/9000
1 answer
0/9000

Hello, everybody, this is my first post in trailblazer and I'm a fairly new admin, so I'm sorry if this is posted in the wrong section or something like that. 

I created a formula field to convert a multipick list into text so I can use it as a filter in dynamic forms. The formula worked perfectly in sandbox, however, it doesn't work in our production org: 

 

Formula: 

IF(INCLUDES(Fabricante__c, "Acronis"), "Acronis;", "") & 

IF(INCLUDES(Fabricante__c, "Autodesk"), "Autodesk;", "") & 

IF(INCLUDES(Fabricante__c, "Adobe"), "Adobe;", "") & 

IF(INCLUDES(Fabricante__c, "Microsoft"), "Microsoft;", "") 

 

Production:

Formula field works in sandbox but not in production

 

Sandbox: 

 

Captura de tela 2025-05-16 180946.png

 

Can anyone please help me? 

 

 

 

 

#Formulas

3 answers
  1. Today, 1:19 AM

    I used a change set. The sandbox was recently updated as well. 

    Im sorry if this is a stupid question, but what exactly in the field visibility settings could break the formula?

0/9000

I’m building a solution where the agent needs to have some context past the 6th utterance. Salesforce has mentioned it loses context at around the 6th utterance. Any ideas how I can continue grounding it with relevant data past the 6th utterance?

Can I have something that continues persisting certain data points through all my topics and actions that get called?

Thanks for any suggestions

#Agentforce
0/9000
5 answers
  1. Sep 30, 2024, 3:09 PM

    @Kellen Kirby No, you don't need to show the checkbox field in the screen flow. When the user clicks the button for the first time, the flow will run, performing whatever logic is needed. At the same time, you can update the checkbox field on the record to "true." Even if you're doing something like creating a different record, you can still update the original record by querying it with the recordID and making the update. This checkbox can then be used in the flexi page to control whether the button is visible. If the checkbox is "false," the button will show; if it's "true," it will be hidden. This is all handled in the backend, so the user won't see the checkbox field.

0/9000
2 answers
0/9000
1 answer
0/9000
_self is opening new subtab in lightning console. I dont want to open link in new subtab. It should override primary subtab. The formula field is-

(" [" &

HYPERLINK("/apex/Sc_UpdateCustomerEnvironment_Update?action=Select&CaseNumid="&Id,"Select", "_self") & "]" &

" [" & HYPERLINK("/apex/Sc_UpdateCustomerEnvironment_Update?action=View&CaseNumid="&Id&"&EnvId="&CustomerEnvironment__c,"View Selected", "_self") & "]" &

" [" & HYPERLINK("/apex/Sc_UpdateCustomerEnvironment_Update?action=Edit&CaseNumid="&Id&"&EnvId="&CustomerEnvironment__c, "Edit Selected", "_self") & "]" &" [" &

HYPERLINK("/apex/Sc_UpdateCustomerEnvironment_Update?action=New&CaseNumid="&Id,"New Environment", "_self") & "]")

It is working perfect in classic console.
3 answers
0/9000
Hi i have command button when clicked its overriding the page instead i need to open it in its own subtab or new tab in lightning.

<apex:commandButton value="Clone Package To Selected CRs" action="{!clonePackageToChangeRequests}" reRender="pbId" status="fetchStatus" rendered="{!NOT(isCompleted)}"/>

Controller:

public PageReference clonePackageToChangeRequests() {

        Savepoint sp = Database.setSavepoint();

        try {

            Set<ID> crIds = new Set<ID>();

            for (SelectableChangeRequest record : changeRequests) {

            if(record.selected && record.obj.Customer_Packages__r.size() > 0) { //TKT-1239114

                 

                

              throw new CloneChangeRequestException(EXCEPTION_NAME);

            }else if (record.selected) {

                   crIds.add(record.obj.Id);

                    

                }

            }

            if (crIds.size() > 0) {

                return handleSuccess(SVC_CR_Package_Service.clonePackage(crIds, crPackage.Id));

            }

        } catch (Exception e) {

            Database.rollback(sp);

            ApexPages.addMessage(SVC_ErrorHandler.logAndConvertToApexMessage(e));

        }

        return null;

    }

 private PageReference redirect(ID recordId) {

        PageReference retURL = new PageReference('/' + recordId);

        retURL.setRedirect(true);

        return retURL;

 

           }

I read more articles on this but i couldnt find the  solution since there is a condition that if the package is present it should throw exception and if not it clones the package and should open that package in new subtab..Can anyone help me with this code.
2 answers
0/9000