Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Best Answer chosen by Nicki Tunbridge
Mohammad HousainiMohammad Housaini
Oh ok, did you create a second page layout as I previously mentioned (step 3)? If so:

1) In Setup Group Layouts > click on Page Layout Assignment > click on Edit Assignment

2) Click on the Post record type to highlight the page layout assignment for all profiles > select the appropriate page layout in the dropdown (the one with that has the Post action before Question) > click Save

User-added image

3) Wait 20-30 seconds and test
Nitish AgrawalNitish Agrawal 
Hi All,
I have created project with menifest and linked by sandbox. Now I am trying to create a simple component and deploy it to my sandbox but receiving the error in VS code

HTML :
<template>
    <lightning-card title="Product Validation">
        First LWC
    </lightning-card>
</template>

js:
import { LightningElement } from 'lwc';

export default class ProductValidationDashboard extends LightningElement {}

xml:
?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>48.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning_AppPage</target>
        <target>lightning_RecordPage</target>
        <target>lightning_HomePage</target>
    </targets>
</LightningComponentBundle>

When I am using deploy this to org, I am receiving error:
​​​​​​​​​​​​​​User-added imageAnd, VS code starts highlighting the js file with error:
User-added image
This is my first LWC I am trying to deploy in sandbox. I have used source:push in scratch orgs earlier. never faced this issue.

​​​​​​​Please help!
 
Best Answer chosen by Nitish Agrawal
Sunil Kumar SirangiSunil Kumar Sirangi
It should be "lightning__AppPage" and not "lightning_AppPage". It should use a double underscore.

#LCAnswers
Vignesh BalasubramanianVignesh Balasubramanian 
Hi Everyone,

I want to learn Visualforce and Apex coding,Could anyone suggest me good workbook or related books(Prefer PDF) to learn those things.......

Thanks & Best Regards
Vignesh.B
Best Answer chosen by Vignesh Balasubramanian
Naveen DhanarajNaveen Dhanaraj
Hi Vignesh,
I will suggest you to Learn Through Trailhead Initially,
Apex Basics----------->https://trailhead.salesforce.com/en/apex_database/apex_database_intro
Visualforce Basics------>https://trailhead.salesforce.com/en/module/visualforce_fundamentals


After Doing This Trailheads, you can Google it and you will find Lot and Good Blogs by MVPS and Developers,
Check This Links,
Apex Tutorial------>https://www.tutorialspoint.com/apex/ (https://www.tutorialspoint.com/apex/)
https://www.quora.com/What-is-the-best-method-to-learn-Salesforce-com-product-s-Apex-code

http://sfdcinpractice.com/

Visualforce Tutorials------->http://www.sfdc99.com/visualforce-tutorials/
Apex Tutorials----------->http://www.sfdc99.com/beginner-tutorials/

I hope this Link will help you,If any Please let me know

All the Best For your Future :)



 
George StephensonGeorge Stephenson 
Formula Data Type Field
Text Formula Return Type
 Formula = Pick Up Address0  (Text)


Contact__r.MailingAddress  + BR() + 
 Contact__r.MailingCity  + ", "+ 
 Contact__r.MailingState  +" " + 
 Contact__r.MailingPostalCode  + BR() + 
 Contact__r.MailingCountry
Best Answer chosen by George Stephenson
Tony TrinhTony Trinh
Hi George,

You cannot use the MailingAddress field. That is a special field. Replace that with the Street:

Contact__r.MailingStreet  + BR() + 
 Contact__r.MailingCity  + ", "+ 
 Contact__r.MailingState  +" " + 
 Contact__r.MailingPostalCode  + BR() + 
 Contact__r.MailingCountry
Christine MarshallChristine Marshall 
I can't get passed challenge 6 in the Business Administration Specialist superbadge. 

Here is the error:  Challenge Not yet complete... here's what's wrong: 
Couldn't find the necessary multiple-choice post.

The requirement was "Within the collaboration space, create a multiple-choice post gauging the team’s familiarity with residential market products. Use the question "Which product are you most comfortable selling?" with the options Home Array, Home Battery, Home Starter Kit, and Home Starter Kit Deluxe." The only thing I can think of is a poll? But this isn't multiple choice. Am I missing something obvious??
Best Answer chosen by Christine Marshall
Christine MarshallChristine Marshall
I created the poll again and this time it worked! Issue resolved! 
Simon DawesSimon Dawes 
Is it possible to change a user from salesforce back to chatter free on the licence? I know it can be done the other way round.... Help please
Best Answer chosen by Moderator (salesforce.com) 
Subramanyam MeareSubramanyam Meare
I can only suggest you to deactivate the Salesforce User & then activate the User with Chatter Free User license because the Salesforce license type Users can only be Upgraded but not degraded which is reverse for Chatter free license User.

Hope it helps you.

Regards,
Subbu.
Best Answer chosen by Jayson (salesforce.com) 
Liam HeppenstallLiam Heppenstall
Hi Anupama,

Check out the Salesforce Virtual Bootcamps (https://trailhead.salesforce.com/en/academy/classes/tvb450-trailhead-virtual-bootcamp-for-platform-developer-i/) (https://trailhead.salesforce.com/en/academy/classes/tvb450-trailhead-virtual-bootcamp-for-platform-developer-i/)

Also, Focus on Force offer some great exam and study material (https://focusonforce.com/courses/platform-developer-1-study-guide/) (https://focusonforce.com/courses/platform-developer-1-study-guide/)

Cheers,
Liam
Casey LoockCasey Loock 
I've come accross a strange issue when I switched over to Omni channel to route our Live Agent chats. After I changed the routing type on the chat button to "Omni-Channel Queues" and added the new code to our website, we had issues with the chat window appearing in our Service Console so that our agents could chat with our end users. The were able to accept the chats, but not able to see what was being written or respon back since the chat window didn appear. So far I can figure out why that would happen. We're currently in classic still and working towards Lightning. 
Best Answer chosen by Casey Loock
Casey LoockCasey Loock
I understand but yet I don't. Salesforce support just confirmed it in my support case with them. "If the agents are working on multiple browsers at the same time, there is a high possibility the Chat will not work as Live Agent and Omni-channel are real-time products".

The also sent me this: 

You can refer to below article link to know more:
https://help.salesforce.com/articleView?id=000331173&type=1&mode=1 (https://help.salesforce.com/articleView?id=000331173&type=1&mode=1" style="color:blue; text-decoration:underline)
Justin EdelsteinJustin Edelstein 
Has anyone successfully created a process builder that can @mention a community member on a record that the community member can see? The catch - the post itself is written by an internal user based on the fact that it’s kicked off via a process and therefore automatically posts just to the record without any care for the channel in which it is posting making it invisible to the community user… 
Best Answer chosen by Justin Edelstein
Gaurav MalikGaurav Malik
I used flow (called through process builder):

User-added image

Target name or ID would be the record Id in your case.

You should be able to @mention the community user in the message.
Mit ChandolaMit Chandola 
Hi, currently there is no way to assign campaign member ownership. I would like reporting to in the same page as lead and contacts for campaign member. Today, I have to create two diff reports for for tracking leads (their status) and contacts (their status if they were added to the campaigns). From campaign member standpoint it does not matter if member is lead or contact. That can give me a single view if I have same kind of fields (like lead status/conatct status, sales accepted Yes/no) means I can report on campaign members rather than on leads and contacts seperately. 

Is there a way that I can create a custom ownership field on campaign member record that is based on lead or contact owner (I mean that reference the owner from contact and lead record?) 

Thank you!
Best Answer chosen by Mit Chandola
Pattie MilnerPattie Milner
Hey Mit - Add a new formula field to your campaign member object with the return type of Text.
This will be the formula:
IF(
 ISBLANK(ContactId),
 Lead.Owner:User.FirstName + " " + Lead.Owner:User.LastName,
 Contact.Owner.FirstName + " " + Contact.Owner.LastName
)