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.

To complete "Manage Fundraising with Nonprofit Cloud", I created a free 30-day Nonprofit Cloud trial org. However, for one of the challenges where I had to create my own Soft Credit, I couldn't link the right org to launch/check (I need to use a 'Developer Edition org' and not the 'Nonprofit Cloud trial org'). But I can only access apps needed for this challenge like "Fundraising Operations" in my Nonprofit Cloud trial org.

 

trial org: s10258311-rwqs@force.com

dev org: nabihah@username.comScreenshot (2415).png

 

Screenshot (2414).png

 

Screenshot (2409).png

 

#Trailhead Challenges

4 answers
0/9000

Hi All,

 

We have a custom object called AC Installations. Standard objects like Work Order, Problem etc. has lookup relation to this object. I'm facing the following 2 issues in Field Service mobile app:

 

1. On the related tab of AC Installations, i can see all Work Orders related to the installation in web, but in mobile app I see only Work Orders created in past 60- 90 days but not beyond that. Is there any limit on the number of Work Orders displayed in related tab for mobile app? Can we increase  this limit on mobile?

 

2. I have added a related list called "Problems" in the related tab of AC Installations. It is not displaying on mobile app. What could be the reason?

 

Has anyone faced these before? Any suggestions are welcome.

 

Thanks

Screenshot from 2025-01-06 12-04-31.png

3 answers
  1. Heiko Lindner (Privat) Forum Ambassador
    Today, 8:54 AM

    Unfortunately there is no option to check the default offline priming. Details which data/ objects ootb are primed, you will find in help & training - here 

0/9000

Hello

 

When I try to create a record in the Partner Portal by logging in as a partner user, I get the error shown in the image. 

 

All but one of the record types on the object are disabled, and the page layout is assigned to the logged-in user's profile. Also, if the object originally had multiple record types, a record type selection window appears before creating the record, but in this case, no such window appeared before disabling the other record types. What could be the problem?

 

+Additionally, I tried to solve the problem by going into the object settings of the profile, but the object did not appear in the object settings list. 

스크린샷 2025-01-07 154048.png

 

#Partner Community  #Partner Portal

1 answer
  1. Today, 8:47 AM

    @Jieun Park make sure that:

     

    -The Record Type is created and properly configured

    -It’s assigned to the relevant user profiles

    -You have the correct Record Type ID for your automation or API calls

0/9000

I am trying to integrate GoogleMap using lightning map using lwc componet. I deployed the lwc into Record Detail Page but getting error. I have uploaded the code. Can anyone please take a look ?

HTML FILE-------<template>    <template if:true={mapMarker}>    <lightning-map zoom-level="15" map-markers=""></lightning-map>    <template if:true={wiredRecords.error}>        <p>{wiredRecords.error}</p>    </template></template></template> import { LightningElement,api,wire,track} from 'lwc';import getRecord from 'lightning/uiRecordApi';import ACCOUNT_NAME from '@salesforce/schema/Account.Name';import BILLINGCITY from '@salesforce/schema/Account.BillingCity';import BILLINGSTREET from '@salesforce/schema/Account.BillingStreet';import BILLINGPOSTALCODE from '@salesforce/schema/Account.BillingPostalCode';import BILLINGCOUNTRY from '@salesforce/schema/Account.BillingCountry';import BILLINGSTATE from '@salesforce/schema/Account.BillingState';export default class GenericMap extends LightningElement {    @api recordId;    @track mapMarker = [];    accountName;    billingStreet;    billingCity;    billingState;    billingCountry;    billingPostalCode;    renderedCallback(){        console.log('record id is : '+this.recordId);    }   @wire(getRecord,{recordId:'$recordId',fields : [ACCOUNT_NAME,BILLINGCITY,BILLINGCOUNTRY,BILLINGPOSTALCODE,BILLINGSTATE,BILLINGSTREET]})    wiredRecords({error,data}){        if(data)        {            console.log('data from wire:', JSON.stringify(data)); // Log the data           this.billingCity = data.fields.BILLINGCITY.value;            this.billingCountry = data.fields.BILLINGCOUNTRY.value;            this.billingPostalCode = data.fields.BILLINGPOSTALCODE.value;            this.billingState = data.fields.BILLINGSTATE.value;            this.billingStreet = data.fields.BILLINGSTREET.value;            this.accountName = data.fields.ACCOUNT_NAME.value;            const marker = {                location :{                    Street : this.billingStreet ? this.billingStreet:"9 Tagore Lane Singapore, Singapore 787472 Singapore",                    City : this.billingCity ? this.billingCity :"Singapore",                    PostalCode : this.billingPostalCode ? this.billingPostalCode :" ",                    State : this.billingState ? this.billingState :"Singapore",                    Country : this.billingCountry ? this.billingCountry :" "                },                title : this.accountName ? this.accountName :"United Oil & Gas, Singapore"            };            this.mapMarker = [marker];        }        else if(error)        {            this.mapMarker = undefined;        }    }}

2 answers
  1. Sep 3, 2023, 5:32 PM

    i tried this-:

     

    This code is working for me-:

     

    <template>

    <lightning-map map-markers={mapMarkers} zoom-level="15"> </lightning-map>

    </template>

    import { LightningElement, api, wire, track } from 'lwc';

    import { getRecord } from 'lightning/uiRecordApi';

    import BILLING_COUNTRY from '@salesforce/schema/Account.BillingCountry';

    import BILLING_STATE from '@salesforce/schema/Account.BillingState';

    import BILLING_CITY from '@salesforce/schema/Account.BillingCity';

    import BILLING_STREET from '@salesforce/schema/Account.BillingStreet';

    import BILLING_POSTALCODE from '@salesforce/schema/Account.BillingPostalCode';

    export default class NSP_Location_Map extends LightningElement {

    @api recordId;

    @track mapMarkers;

    @wire(getRecord, {

    recordId: '$recordId',

    fields: [BILLING_COUNTRY, BILLING_STATE, BILLING_CITY, BILLING_STREET, BILLING_POSTALCODE]

    })

    fetchAddressDetails({data, error}){

    if(data){

    this.mapMarkers = [

    {

    location: {

    Country: data.fields.BillingCountry.value,

    State: data.fields.BillingState.value,

    City: data.fields.BillingCity.value,

    Street: data.fields.BillingStreet.value,

    PostalCode: data.fields.BillingPostalCode.value

    }

    }

    ];

    }else if(error){

    console.log('error' + error);

    }

    }

    }

0/9000

 I need to disable the checkbox based on the flag value. If the flag is true, the checkbox should be disabled, and the row should be greyed out. Below is the code, but my logic is not working. Can anyone please assist me with that? 

 

JS: import { LightningElement, track, api  } from 'lwc';

 

export default class PesDemo extends LightningElement {

    @track searchKeySource = ''; // Search key for source user

   

    // Columns for the DataTable to show user data (Name, Age, etc.)

    columns = [

        { label: 'Account Name', fieldName: 'accountName' },

        { label: 'Account Number', fieldName: 'accountNumber' },

        { label: 'Postal Code', fieldName: 'billingPostalCode' },

        { label: 'Billing Street', fieldName: 'billingStreet' },

        //{ type: 'checkbox', label: 'Select', fieldName: 'isSelected' }

       { 

            type: 'checkbox', 

            label: 'Select', 

            fieldName: 'isSelected',

            // Disable the checkbox if the account is associated

            getRowActions: (row) => {

                return [

                    {

                        label: 'Select',

                        disabled: row.isAssociated // Disable if isAssociated is true

                    }

                ];

            }

        }

        

    ];

 

    getRowClass(row) {

        // Check if the account is associated and return the class name to apply

        console.log('Row:', row);

        return row.isAssociated ? 'slds-is-disabled' : '';

    }

 

fetchAccountsForSourceUser(sourceUserId, targetUserId) {

    console.log('%%Source UserId%%:', sourceUserId);

    console.log('%%Target UserId%%:', targetUserId);

 

    // Static test data

    this.accounts = [

        { accountName: 'Account 1', accountNumber: '12345', billingPostalCode: '10001', billingStreet: 'Street 1', isAssociated: true, accountId: '1' },

        { accountName: 'Account 2', accountNumber: '67890', billingPostalCode: '20002', billingStreet: 'Street 2', isAssociated: false, accountId: '2' }

    ];

 

    console.log('@@Fetched Accounts:', this.accounts);

}

  

}

 

Html : <lightning-datatable

        key-field="accountId"

        data={accounts}

        columns={columns}

        onrowselection={handleAccountSelection}>

    </lightning-datatable>

 

#Salesforce Developer

0/9000

I am getting this error message when I try to create a template app that has a dashboard which uses dataset from another templated App. The full error message is as follows :

LicenseData LIMIT 1) FROM EdgeMart WHERE Id = 

'${App.Datasets.Dataset1.FullyQualifiedId}' ^ ERROR at 

Row:1:Column:518 invalid ID field:

${App.Datasets.Dataset1_tp.FullyQualifiedId}

Creating application [myApp] failed.

 

#Tableau CRM  #CRM Analytics  #CRMA  #Reports & Dashboards  #CRM Configuration

0/9000

I am implementing Headless login with https://help.salesforce.com/s/articleView?language=en_US&id=sf.remoteaccess_authcodecreds_singlepageapp.htm&type=5

I have a case where the users password has expired but the token endpoint is returning me a access token that is perfectly valid and can be used in APIs (both standard and custom APIs). There are no errors either in the authorize or token endpoint call.

We have in the community profile that the password expires in 180 days but it seems the Headless oAuth API does not respect this. Is this a bug or is this how it should work ?

1 answer
  1. Today, 8:40 AM

    @Jani Ruohomaa in headless scenarios sf doesn't enforce password expiration at the time of token issuance, as this flow is meant to support automation and non-interactive logins. If you need more stringent control over expired passwords, you'll need to build additional safeguards or monitoring processes on top of the OAuth flow

0/9000

Hello fellow MC lovers,

We're progressively learning the ins and outs of MC. In both of our projects, MC is mainly used as a transactional email sending platform with journeys that are triggered from Salesforce either via API ou SF data changes. 

We've managed to bring back the Individual Email Results to SF, but found it lacking in 2 spots: 

  1. IER records are linked only to the contact (or lead). That's not so good for a contextualised 360° view. We need to show the emails in the context that triggered them: an order, a contract, an opportunity... Is there a way to do that? 
  2. The message preview that is show is actually the template, so users see all of the AMPScript we're using and not the actual text that was sent. Is there a way to get the actual message? Or, at least, the link to the web version? 

Of course a sync speed better than 1 h would be nice in a 2025 CRM, but I understand there are tech limitations there too :) And having the emails show up as actual emails in activities and not IERs would be even better... 

 

Has any of you come across and satisfied that type of requirement? 

Thanks!

Damien

1 answer
  1. Today, 8:35 AM

    @Damien Pochon 

     

    - linking IER to contextual objects (Order, Opportunity, Contract) - Pass contextual object IDs in the data extension, and use custom lookups or a junction object to link the email result to the relevant Salesforce records

    -storing the actual message (not the template/AMPscript) - capture the final HTML or link to the web version of the email and store it in Salesforce as part of the IER record.

    -improve sync speed - use API-based integrations or event-driven architecture to sync specific data in real-time and break up large syncs into smaller calls

    -displaying emails as Activities - use API calls to create email-related Tasks/Activities in Salesforce, tying them to the correct records like Opportunity, Contract etc

0/9000

Hi All, created an Integration user & a Connected App(Run as Integration user) in our SB env. Given all the necessary permission to call the needed Objects & system Permissions. I am able to successfully call the API from the Postman using Client ID & Client Secret with grant type as Client credentials. However we are unable authenticate the same user from our script that is using Simple SF Plugin .Any help in this matter is highly appreciated! 

2 answers
  1. Today, 8:32 AM

    @Sushil Kumar , Thanks for your reply . 

     

    It gives us an error that either the Username Password is incorrect or the User is LockedOut.

     

    Just to give you some reference , we are using the attached python script to initiate the object in SF. Its working fine with the Standard User credentials(Stored in Keep_vault) but as soon as we try with the Integration user , the script gives us an error.

0/9000

In salesforce storage how can we set an email alert whenever the data storage and file storage exceeds the threshold we should recieve an email alert how can we do this 

 

#Service Cloud            #Analytics 

 

#Salesforce

1 answer
  1. Today, 8:30 AM

    Hello @Sushmitha Shetty,

    Not possible as of now. Please vote on this Idea (https://success.salesforce.com/ideaView?id=08730000000l1phAAA)

     

    I've got small app which can help you with this issue. 

    If you want beta version of 'Notificator Storage&License Usage under control!' you can find it here: https://login.salesforce.com/packaging/installPackage.apexp?p0=04tw0000000UQuZ

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A7WGlSAN

0/9000