Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

Feed

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

Hi Community,   I'm searching for the "Program" object in the Object Mager but am unable to find it.  Is there any requirement if an Object is not found the create a custom Object or Install the New Package Package for it?   

9 answers
  1. Today, 9:17 PM

    Hi @NAVEED ZIAI

     

     

    I am a member of Trailhead Help, we assume this issue needs further review and we may need access to your playground. We will reach out to you via email to investigate further. 

     

    ++CreateTrailheadCase ← You can ignore this command, it is a tool used by our Agents to tell the system to create your case.  

     

    Thank you! 

     

    ++CreateTrailheadCase

0/9000

Hi Trailblazers! 

 

We have a feedback survey that we ask people to complete in the final 5 minutes of a course.  

Prior to the course, we email the survey link to our trainer via Salesforce so they can share the url at the end. The survey tool we use is separate from Salesforce, but we have it integrated, so that information from the course record can be pulled in to 'Hidden Value Actions' on the survey (ie: date, org name, course number, etc.) 

Each survey response is tied to the course record. In the email template we use to send the trainer, it has a merge code at the end of the hyperlinked URL (ie: ?id={!Object__c.Id}) so that it pulls the details needed from that record id into the back end of the survey. This works well for our Virtual courses, but not for In Person courses. We'd love to send the trainer a QR code to share in class. This is where it gets tricky...It still needs to be tied to that record id, so that the required details from the course record pull into the 'hidden value actions' therefore that merge code is still required at the end of the URL.  

 

Unfortunately the support team of the survey tool confirmed while that's a clever idea, they don't support that kind of functionality with their native QR code feature for their surveys.  

So does anyone know of any tools or apps (free or very low cost...we're Non Profit) where Salesforce generates a QR code for the link and retains the merge code and functionality so that when someone scans the code, it still ties to the specific record id? Ideally, we'd still like to have an email template to send the QR Code, but if it means having a formula field with QR Generator and have the ability to download it and share  - that could work too. PS: I'm not a developer nor do we have one, so low-to-no code would be best.  

 

Thoughts? 

 

TIA! 

 

#Integration  #Surveys  #Email Template  #Mergecode  #QR Codes

1 answer
  1. Today, 9:16 PM
    I recommend goQR.me

    since it's free and quite reliable.

    Create a formula field on your object and return type should be text

    In the formula editor, construct the URL for the QR code image by embedding the necessary merge fields. Formula example: IMAGE(

    "

    https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=

    " &

    "

    https://your-survey-link.com?courseId=

    " & Id & "&date=" & TEXT(Course_Date__c) & "&orgName=" & Organization_Name__c,

    "QR Code"

    ).

    This formula constructs a URL that includes the course ID, date, and organization name as query parameters, which your survey tool can process to populate hidden fields.

    Create or edit the email template you use to send information to your trainers.

    Insert the newly created formula field into the template to display the QR code image.

    Make sure your email template is in HTML format to render the image correctly.

    Refer to the link for more in depth explanation

    https://youtu.be/cybKYcW7kwc?si=BHr8zC6-Vyb_pWku
0/9000

Hello community , 

 

I have 2 components - componentA(parent) and component B(child) 

 

when I pass data from parent to child , data is not visible. 

 

can anyone explain why ? 

 

component A html - 

 

<template>

    <lightning-card label="component A - parent">

        <p>Hi.I am component A.Parent</p>

        <c-component-B>

            {property1}="hi.I am component B.child component"

            {property2}="Welcome"

        </c-component-B>

    </lightning-card>

</template>   

 

component A js - 

 

import { LightningElement } from 'lwc';

 

export default class ComponentA extends LightningElement {

   

 

component B html - 

 

<template>

    <lightning-card>

       <p>message passed from {property1}</p>

       <p>message passed from {property2}</p>

    </lightning-card>

</template> 

 

component B js - 

 

import { LightningElement,api} from 'lwc';

 

export default class ComponentB extends LightningElement {

 

    @api property1;

    @api property2;

 

 

can anyone suggest something ?? 

 

#Developer Forums  #Trailhead Challenges  #Trailhead  #Data Management  #LWC  #LWC Development  #Sales Cloud  #Salesforce Developer  #Salesforce Admin

1 answer
  1. Today, 9:15 PM

    @Bhagyashri Patwardhan I believe you're passing the properties incorrectly in the parent component. In LWC, properties should be passed as attributes, not inside the component tag.

    Update your componentA.html to:

    <c-component-b property1="Hi, I am component B (Child)" property2="Welcome"></c-component-b>

     

     Also, ensure that property1 and property2 in the child component have the @api decorator: 

    import { LightningElement, api } from 'lwc';

    export default class ComponentB extends LightningElement {

    @api property1;

    @api property2;

    }

     

    This should resolve your issue! Let me know if you need further clarification.

0/9000
Uncaught TypeError: Cannot read properties of undefined (reading 'resourceType')throws at https://orgfarm-4b97aad806-dev-ed.develop.lightning.force.com/auraFW/javascript/Zm9LbDZETkxUclI3TmZfamRYSmpzUWg5TGxiTHU3MEQ5RnBMM0VzVXc1cmcxMS4zMjc2OC4w/aura_prod.js:49:49490

The insight does allow me to save/enable/publish after this, so perhaps it can be ignored.

 

Quick Start: Enhance Data with Insights/Create Insights Using Data Cloud

 

#Trailhead Challenges

3 answers
  1. Today, 9:13 PM

    Hi @Martin Cadman

     

     

    I am from the Trailhead help team. May I request you please let us know if the above response helped you resolve the issue? If yes, kindly share the solution that helped you resolve the issue or please make sure to mark the response which helped you to resolve your query as 'Best Answer' so that it might help the fellow Trailblazer's who are facing the similar issue. 

     

    Else, please let us know the Trailhead module/badge that you are working on so that we can go ahead and create a case on behalf of you and can assist accordingly.

0/9000

Hi, I"m getting this error. Cleared the Cash, tried again couple of times after log in an log off, and still getting the message. 

What can i do? 

 

Maybe the problem is with the step : 

    • in the field-level security page, set this field as Visible for all profiles or as Read Access for all permission sets. (This step assures the challenge passes.)??
  • How do i define Read access for all permission sets? 

 

 

#Trailhead Challenges

1 answer
0/9000

Hello all. Trying to create a flow that will send an email when the Notes related list is updated. Seems like I can use the Note object to do this. I just want something basic just to notify owner or other contact email that is on the record when a new note has been added. Anyone ever done anything similar?  

 

 

0/9000
1 answer
0/9000

Hello, 

 

Module build a flow to capture and manage contact info. I don't understand the error. Please check my capture down below. 

The Account field is not found on the Contact info. flow builder 

The Account field is not found on the Contact info. flow builder

 

 

 

#Trailhead Challenges

1 answer
0/9000
4 answers
  1. Yesterday, 5:54 PM

    Hi, @Veronica Bailey

     

    The issue could be due to several factors:

    1. Ensure that the API Name is correct and matches the one specified in the challenge.
    2. There might be a problem with Field Level Security.

    You can also try deleting the field and creating it again.

    Additionally, if none of these suggestions help, you can provide a screenshot of your field, and we’ll try to figure it out together. 

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

0/9000

Hi friends! 

 

I turned on Activity 360 reporting back in October. . .  

 

I am trying to combine the new EAC "Last Activity Date" (which started capturing data in October and is not retroactive) and the previous "Last Activity" date field using a report row-level formula so I can see a true representation of when we've last engaged with an account.    

 

My current formula is

IF( IF(IsBlank(DUE_DATE),null, DUE_DATE) >= IF(IsBlank(LAST_ACTIVITY_DATETIME),null, DATEVALUE(LAST_ACTIVITY_DATETIME)), DUE_DATE, DATEVALUE(LAST_ACTIVITY_DATETIME))

 

It's pulling in the most recent between the two dates, which is what I want.  But I also need it to pull in the "Last Activity" date where the "Last Activity Date" is blank.  Screenshot attached.  

 

Can anyone help me tweak this formula?  

 

 

#Formulas  #Formula Help

2 answers
  1. Today, 9:06 PM

    Hi @Michaela Marker,

    Try this formula:

    IF(

    ISBLANK(DUE_DATE),

    DATEVALUE(LAST_ACTIVITY_DATETIME),

    IF(

    ISBLANK(LAST_ACTIVITY_DATETIME),

    DUE_DATE,

    IF(

    DUE_DATE >= DATEVALUE(LAST_ACTIVITY_DATETIME),

    DUE_DATE,

    DATEVALUE(LAST_ACTIVITY_DATETIME)

    )

    )

    )

    This checks if the new EAC "Last Activity Date" is blank—if so, it uses the previous "Last Activity" date. When both dates are available, it returns the more recent one. This tweak should give you the true last engagement date even when one of the fields is missing.

0/9000