Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Prabh SinghPrabh Singh 
I am facing this error in this code .. the class is imported correctly I don't know what is the problem
 
<template>
    <lightning-card>
        <div class="slds-grid slds-wrap">
            <div class="slds-col slds-size_1-of-12">
                COL 1 
            </div>
            <div class="slds-col slds-size_5-of-12">
                COL 2
            </div>
            <div class="slds-col slds-size_1-of-12">
                COL 3
            </div>
            <div class="slds-col slds-size_1-of-12">
               COL 4 
            </div>
            <div class="slds-col slds-size_1-of-12">
                COL 5 
            </div>
            <div class="slds-col slds-size_1-of-12">
                COL 6 
            </div>
            <div class="slds-col slds-size_1-of-12">
                COL 7 
            </div>
            <div class="slds-col slds-size_1-of-12">
                COL 8 
            </div>
            <template for:each={SETdata} for:item="s" >
                <div key={s.index}>
                    <div class="slds-col slds-size_1-of-12">
                        {item.index}
                        </div>
                        <div class="slds-col slds-size_5-of-12">
                        {item.metric}
                        </div>
                        <div class="slds-col slds-size_1-of-12">
                        {item.lastTwoMonths}
                        </div>
                        <div class="slds-col slds-size_1-of-12">
                        {item.lastMonth}
                        </div>
                        <div class="slds-col slds-size_1-of-12">
                        {item.thisMonth}
                        </div>
                        <div class="slds-col slds-size_1-of-12">
                        {item.redVal}
                        </div>
                        <div class="slds-col slds-size_1-of-12">
                        {item.yellowVal}
                        </div>
                        <div class="slds-col slds-size_1-of-12">
                      {item.greenVal}
                        </div>
    
                </div>
            </template>
        </div>
    </lightning-card>
</template>

 
Best Answer chosen by Prabh Singh
Prabh SinghPrabh Singh
it worked after changing this to 
<template for:each={SETdata.data} for:item="s" >
chinna rchinna r 
Hi All,
I self-taught to be a Salesforce Admin, learned through trailhead and earned a ADM 201 certificate recently. I would like to kick start a career as a Salesforce admin/ Jr. Salesforce admin or volunteer 15-20 hours/week. I am based out of Dallas and looking for opportunities in and around the state or remotely. Any help/input on where to start is greatly appreciated. 

Thanks
Best Answer chosen by chinna r
Moustafa IshakMoustafa Ishak
I think you can mention your trailhead projects and mentioned that you are newbie and willing to voulnteer 
Prabh SinghPrabh Singh 
{
    "resource": "/d:/VisualStudio Projects/accountSearch/force-app/main/default/lwc/comboBoxDemo/comboBoxDemo.html",
    "owner": "_generated_diagnostic_collection_name_#2",
    "severity": 8,
    "message": "LWC1056: Invalid event name onchange​. Event name can only contain lower-case alphabetic characters",
    "source": "lwc",
    "startLineNumber": 8,
    "startColumn": 16,
    "endLineNumber": 8,
    "endColumn": 30
}



I am facing this error with the below code
<template>
    <lightning-card>
        <lightning-combobox
               name="meal"
               label="Meal"
               placeholder="Choose A Meal"
               value={value}
               onchange​={ch}
               options={options}>
        </lightning-combobox>
     </lightning-card>
</template>

 
Best Answer chosen by Prabh Singh
Gaurav SharmaGaurav Sharma
might be some hidden characters (whitespaces)  .  cannot say.

i copied pasted  in vs code.  got the same error   then i removed onchnage line and wrote again. no error.
 
<template>
    <lightning-card>
        <lightning-combobox
               name="meal"
               label="Meal"
               placeholder="Choose A Meal"
               value={value}
               onchange = {ch}
               options={options}>
        </lightning-combobox>
     </lightning-card>
</template>

 
Minhaj_Developer ArifinMinhaj_Developer Arifin 
Hello, 
May I please get your help in writing this Workflow Formula: 

I have a Custom Object called Receipt. On this Receipt object I have 2 Check Box fields. 
Is Posted 
Is Refund 

There is also a look up field called Business Group' which looks up the Business Group object. 

I am trying to write a formula in a Workflow that should send an email alert if: 
Is Posted is True 
Is Refund is false 
and Business Group 's Name Field  contains the word Foundation. 
 
Best Answer chosen by Minhaj_Developer Arifin
Jayson MoralesJayson Morales
Hi Minhaj_Developer Arifin,

You can try something like this:
 
AND(
Is_Posted__c,
Is_Refund__c,
CONTAINS( Business_Group__r.Name , "Foundation")

Hope that helps.


Regards,
Jayson​​​​​​​
 
Frans FlippoFrans Flippo 
I want to edit the Standard Platform User profile and give it access to the Opportunity object type.

However, that object type doesn't appear under the "Standard Object Permissions" heading and there seems to be no way to add object types.

Standard Object Permissions panel on the Edit Profile screen

- Am I misunderstanding something about this interface?
- Is this deliberately not a feature (and, if so, wouldn't it be easier if there was some kind of statement to that extent under "Standard Object Permissions" so people don't look for a features that isn't there)?

Thanks!
Frans
Best Answer chosen by Frans Flippo
Amnon KruviAmnon Kruvi
Hi Frans,

There are a couple of things you should know:
1. Standard profiles cannot be modified. You can clone them and edit the clones, but you cannot make changes to object permissions (and most other permissions) on the actual standard ones. This is why you're not seeing the ability to edit the checkboxes in your screenshot.

2. The Salesforce Platform license does not have access to Sales Cloud, Service Cloud, or other clouds from Salesforce. It is designed to be used with custom applications, and normally sold by OEMs. So there will be no method for you to add the opportunity object to a platform-license user.
Best Answer chosen by Rajat Rana
Shivam KumarShivam Kumar
Hi
Good point, I should have phrased that differently, I was stating what could be done. If you need more than that, you need to start looking at/creating custom fields. 

Thanks
Pallavi GayathriPallavi Gayathri 
Hi All,

I have creaed queues and  assigned the Web Lead to Rainbow Sales, but still getting the error.

Error:
Challenge Not yet complete... here's what's wrong:
A new Lead with the Source 'Web' was not correctly assigned to the 'Rainbow Sales' queue.

Lead Assignmet Rule
User-added image

Do I have to create avalidation rule before Assigning to queue?

Help me to understand the issue.
Best Answer chosen by Pallavi Gayathri
Tony TrinhTony Trinh
Hi Pallavi,

I know this sounds VERY stupid, but the reason your challenge is not passing is because you modified the Standard Lead Assignment Rule. You need to create a custom one and activate it. I ran into the same issue and when I did that it worked.
Jan TonnetJan Tonnet 

Hello there,

I am trying to display a related list in my task lightning record page that comes from the linked account.  As a 'Parent Record' I can't chose "Related To" because it only gives back the default lists.
So I created a lookup field on the task object to Accounts to choose this as a parent record:

Vom Benutzer hinzugefügtes Bild
 

  • The account field is populated
  • The contact related list exists on the account layout
  • I have no option to put anything to the related list of the task object other than attachment
I begin to wonder if this is due to the task object which is always a bit "special" in its own way - or (hopefully) I am just missing something.

All I am trying to achieve here is to display the related list of contacts from the account (populated in my custom field "account__c") 

Thanks in Advance!
Best Answer chosen by Jan Tonnet
Jan TonnetJan Tonnet
Nvm. I figured out it was the access after all. I have multiple Record Types in place which seems to be a problem. I dumped them down to one and now the list gets displayed!
Mark HuffMark Huff 
Hi All Wondering if Salesforce can sync events with an outlook.com email account? The configuration to support syncing seems to require an administrative account to the outlook.com server which I wouldn't have.


Thanks,

Mark
Best Answer chosen by Mark Huff
Shivam KumarShivam Kumar
Please mark the answer as best answer to that case should be resolved. 
nicohl geszvainnicohl geszvain 
I am on the last step of the last module "Create Validation Rules" in the "Customize a Salesforce Object" project.  These are the steps below, and I am copying and pasting the formula provided EXACTLY, but getting the below error message when checking the Syntax:


"Error: Field Close_Reason__c is a picklist field. Picklist fields are only supported in certain functions. Tell me more"

Instructions:  Next, create an opportunity validation rule to force users to enter a Close Reason when the opportunity Stage is Closed Lost.
From Setup, click Object Manager and select Opportunity.
Select Validation Rules, then click New.
For Rule Name, enter:
Close reason required when lost

Ensure Active is selected.
For Description, enter:
A close reason is required when opportunity is closed lost.
Enter this formula in the Error Condition Formula box:
ISPICKVAL( StageName ,"Closed Lost") && ISBLANK( Close_Reason__c )
Click Check Syntax to ensure you have no errors.
For Error Message, enter:
You must enter a close reason when opportunity is closed lost.
Choose Field as the Error Location and Close Reason as the Field.
Click Save.

If I am copying this formula exactly from the instructions, why is there a syntax error?  Please help!  I am one step away from completing this project and reaching Ranger status!! Thanks in advance!
Best Answer chosen by nicohl geszvain
Tony TrinhTony Trinh
Hi Nicohl,

I went ahead and went to the project. It looks like the Close Reason needs to be a Picklist MULTI-SELECT, not a regular picklist. Please change it to that type and use the validation they gave you originally. Don't use the one I made for you.