Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Kim RobertsKim Roberts 
We created a custom field on the Account to capture the "Account Manager" name.  This is a lookup field to the User record.
We are trying to display that field on the Community, however, since the user is not a community member, it will not show.
We created a new custom field as a formula (text) field.  But when we view this on the Community, it displays the ID, not the name.  We tried using TEXT(Account_Manager__c) but we get a syntax error that says "Error: Incorrect parameter type for function 'TEXT()'. Expected Number, Date, DateTime, Picklist, received Lookup(User)" so I guess we cannot use this with our lookup field.

I have also tried using the Account_Manager__r.Full_Name__c field (the second option in the screen shot, then Full Name, but nothing displays.
Any thoughts on what we can try or if this can even be done?
Thanks in advance!
User-added image
Best Answer chosen by Kim Roberts
Ahilesh RagavanAhilesh Ragavan
Hello Kim,

Create a Formula(TEXT) field using this:
Account_Manager__r.FirstName+" "+Account_Manager__r.LastName

 
Patty RyderPatty Ryder 
need help creating a rule to check for a blank in a multi-select picklist...any suggestions?  This below did not work.   the 2nd row is the multi-picklist.

AND(
ISPICKVAL( Goal_Type__c , "Strategic"),
ISBLANK(TEXT( BorregoStrategicObjectives__c))
)
Best Answer chosen by Patty Ryder
Steve MolisSteve Molis
Just use 
AND(
TEXT( Goal_Type__c ) = "Strategic",
ISBLANK(BorregoStrategicObjectives__c)
)

 
Tony TrinhTony Trinh 
Hello all,

I've never used Lookup in Flow Builder. Can anyone walk me through how to use the Lookup? Am I doing something wrong here?

I populated everything necessary as per the help text.
User-added image
I Debugged the flow and it should say "Search Products..."
User-added image

When I try to type something in....
User-added imageNothing is showing up.

What I expect is...
User-added image

Any help is appreciated!
Best Answer chosen by Tony Trinh
Deepak AnandDeepak Anand
Now the key thing to understand here is - The Lookup Flow Component is NOT a look-up component that provides a list of records in a given object for you to choose. NOPE.

Instead, it's a component that lets you add Lookup Fields defined on objects to be made available on your Flow Screens exactly as it would look like when you are creating a new record in that object. This means that the component expects you to specify the API Name of the Object and the API Name of the Lookup Field that you want to display.

Make sense?

So in other words, if you want to display a list of products, you need to figure out an object in Salesforce that has an OOTB (out of the box) Lookup or Master-Detail Relationship to the Product object. Then specify the API Name of the object and the field.

For example, you can use the Opportunity Product object. It has out of box Lookup Field to Product2.
 
User-added image
So your values would be:
  1. Field API Name: Product2Id
  2. Object API Name: OpportunityLineItem
:-)
Best Answer chosen by Darrah Turman, PMP, ASQ-CSSBB
Mira ShahMira Shah
Roles allow sharing with all users of a particular role in the hierarchy (and those above that role, if hierarchy sharing is enabled for the object). Roles and Internal Subordinates shares records not only with the role (and possibly their superiors), but also with any role directly or indirectly it.

https://help.salesforce.com/articleView?id=sf.security_controlling_access_using_hierarchies.htm&type=5
https://trailhead.salesforce.com/en/content/learn/v/modules/data_security/data_security_roles#:~:text=A%20role%20hierarchy%20works%20together,below%20them%20in%20the%20hierarchy.&text=Each%20role%20in%20the%20hierarchy,or%20group%20of%20users%20needs.
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.