Answers - Salesforce Trailblazer Community
Ask Search:
Best Answer chosen by Munna Jaiswal
Russell McGibbonRussell McGibbon
Hi Peter, I needed to update a profile with some object settings which it wouldn't let me do on the profile. So I created a new permission set with the required permissions on and then assgined it to all the users that have the profile. Fortunatly there wasn't too many users with that profile but its pretty easy to assign them from within the permission set. I've also been able to amend existing permission sets on the object and system permissions. I'm in a Full Production sandbox using the Winter release and LEX is not setup. Hope this helps
Li YinjiLi Yinji 
anyone know who to solution the error:Uncaught ReferenceError navwithtoken is not defined
Best Answer chosen by Li Yinji
Kyle VargaKyle Varga
Is this only in Spring 19 sandboxes? Try clearing browser cache.
Alex Hamilton-McLeodAlex Hamilton-McLeod 
I am aware how to add custom links to the sidebar, but how do i add an extra item to the 'shortcut' box.

I only have 'unresolved items' displayed but have seen another instance where a link to the calendar was added and i can't figure out how it was done!

shortcut
Best Answer chosen by Alex Hamilton-McLeod
Karthikeyan ChandranKarthikeyan Chandran
How do I add a calendar shortcut to the sidebar?

System Administrators can add the calendar shortcut to the sidebar shortcut area for quick reference by their users.

To add the calendar shortcut, follow the instructions below:

1. Click on:

Setup | App Setup | Customize | Activities | Activity Settings

2. Select "Enable Sidebar Calendar Shortcut

NOTE: If enabled, the calendar shortcut displays above the Recent Items component. If the Recent Items component has not been added to your home page layouts, the calendar shortcut will NOT be displayed.  For this to work, you must BOTH enable the calendar shortcut using the steps above and make sure the Recent Items component is on your home page layouts.

3. Click on Submit button to save the changes
Caterina TorresCaterina Torres 
I currently have a Validation Rule that stops a specific set of people under one profile from changing the Lead Source value unless it was previously blank before.

however - it just came to my attention we do still want to allow them to change the Lead Source if the prior value was X.

How can I add that into my validation rule?
 
AND( 
  ISCHANGED(LeadSource), 
  NOT(ISBLANK(TEXT(PRIORVALUE(LeadSource)))), 
  $Profile.Name = "Custom Standard User" 
)

 
Best Answer chosen by Caterina Torres
Deepak AnandDeepak Anand
Like this = 
AND(
    ISCHANGED(LeadSource),
    NOT(ISBLANK(TEXT(PRIORVALUE(LeadSource)))),
    TEXT(PRIORVALUE(LeadSource)) <> "X",
    $Profile.Name = "Custom Standard User"
)
Vyneta RyanVyneta Ryan 
Sometimes the auto-save happens at a bad time and there is not a way to go back if you make a change you don't want to keep.
Best Answer chosen by Miglena (Salesforce.com) 
Kara SchoelerKara Schoeler
At this time, you cannot turn off the autosave functionality.  However, depending on the block that you are making changes, you can click the Control + Z (Command + Z on Mac OS) which will undo your recent actions.

We are looking to provide more complete undo functionality in a future roadmap.
Michael WestonMichael Weston 
I have been "home"  look on left side  there is NO recycle bin
Best Answer chosen by Michael Weston
Kristopher EagerKristopher Eager
If you don't see the sidebar, make sure it isn't collapsed:

User-added image
CB IT Support - RobinCB IT Support - Robin 
I have a user who cannot remove fields from a custom report type when using GC; the box with the fields will never highlight so that he can drop the field. However, I've logged in as the user at my location and removed the fields just fine, using GC. I advised the user to try IE and when he did it worked. I asked him to log back in to GC and clear history, cookies, cache and it still didn't resolve the issue. The only other thing worth mentioning is that he is on a different network than I am, although I'm not sure if that affects anything. I'm stumped on this one. Any ideas? 
Best Answer chosen by Ed (salesforce.com) 
CB IT Support - RobinCB IT Support - Robin
I actually figured this one out! The user had their Chrome browser set to 90% zoom. When we changed it to 100% it worked like a charm! Just a crazy one-off. 
Kou XiongKou Xiong 
Hello,

Is it possible to hide these buttons and the Recently Viewed lists in Community?

User-added image

Thanks,
Best Answer chosen by Kou Xiong
Dhanik SahniDhanik Sahni
You can isolate the class of each of these buttons, using your browsers inspect feature, and hide them using the display property in your custom CSS.

For example, the 'list view controls', and 'display as' buttons are controlled by .slds-button_icon-more. By adding .slds-button_icon-more{display:none;} to your custom CSS, the browser will no longer render these two buttons.
Note that the way {display:none;} is applied here hides these elements from the entire community. Be sure to thoroughly evaluate that you have no further use for these elements before hiding them. 
.slds-button_icon-more{display:none;}
.slds-icon-utility-down{display:none;}
.slds-m-left_xx-small{display:none;}
.rowActionsPlaceHolder{display:none;}
.slds-row-number{display:none;}
Bithyzis DimitriosBithyzis Dimitrios 
Hello wizzards

I was trying to add images to my ORGs products.
Followed the following quide:
https://help.salesforce.com/articleView?id=000007604&type=1

Straight forward and to the point.

Ended up with the following formula
IF ( Id = "01t0N000008QB82", IMAGE("/servlet/servlet.FileDownload?file=0150N000007LgfO", "GenDiesel10"), 
IF ( Id = "01t0N000008QB81", IMAGE("/servlet/servlet.FileDownload?file=0150N000007LgfT", "GenDiesel200"), 
IF ( Id = "01t0N000008QB89", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgep", "GenDiesel1000"), 

IF ( Id = "01t0N000008QB8E", IMAGE("/servlet/servlet.FileDownload?file=0150N000007LgfY", "GenGasoline300"), 
IF ( Id = "01t0N000008QB8B", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgfd", "GenGasoline750"), 
IF ( Id = "01t0N000008QB8G", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgek", "GenGasoline2000"), 

IF ( Id = "01t0N000008QB87", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgfi", "GenPropane100"), 
IF ( Id = "01t0N000008QB85", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgfx", "GenPropane500"), 
IF ( Id = "01t0N000008QB88", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgfn", "GenPropane1500"), 

IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgdr", "Blank"))))))))))
Compiled size: 2,261 characters

If you have but a handfull of products this method will work.

But if you have a substantial number then the formula gets out of proportion and I do not want to even think how one can maintain....

Do you care do share your opinions on more elegant solutions?

With regards
Dimitrios
Best Answer chosen by Bithyzis Dimitrios
Sunil SarillaSunil Sarilla
Hi Dimitrios,
you could use a CASE function to avoid repeated references of Id field
CASE(Id,
"01t0N000008QB82", IMAGE("/servlet/servlet.FileDownload?file=0150N000007LgfO", "GenDiesel10"), 
"01t0N000008QB81", IMAGE("/servlet/servlet.FileDownload?file=0150N000007LgfT", "GenDiesel200"), 
"01t0N000008QB89", IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgep", "GenDiesel1000"), 
and so on.......,
IMAGE("/servlet/servlet.FileDownload?file=0150N000007Lgdr", "Blank")
)
you could optimise further by avoiding repeated references of IMAGE funtion

 
Ananda FortuneAnanda Fortune 
I want to create a formula field to calculate the number of all open opportunities ( all opportunities except closed) to use in a report that then will have a summary formula column that uses this field opportunity. 

Can anyone tell me how to write this formula?

Thank you! 
Best Answer chosen by Ananda Fortune
Steve MolisSteve Molis
I do this type of thing a lot, so on my org I created custom Formula fields that count if an Opportunity is Open

The Formula field is

Field Name = Open 
Datatype = Formula
Result = Checkbox
Formula = 
IsClosed = FALSE