Ask Search:
Karol MacákKarol Macák 
I need help with Search Result layout on Custom object. Especially on CPQ object Product Options, I would like to add fields to search results, as only Name (auto number is searchable and visible):
User-added imageWhen I am on object Product Option in Search Layouts, I cant see search results:
User-added image
I checked on other Custom objects and also in different orgs and on some I have Search Results and on others no... I cant find recipe how to make it possible.

Many thanks.
Best Answer chosen by Karol Macák
Anel MalabananAnel Malabanan
After you created the Custom Object have you created the Custom Tab for it?
Preeti AgarwalPreeti Agarwal 
Hi All,

We had a requirement to restrict particluar profile users from using mobile device. We acheived this by creating a login flow and fetching user login history fields to look for platform and device they login from. If a restricted user is trying to login from mobile, we force logout for them.
For 1 specific profile which doesn't have mobile access, the user is getting error unhandled fault exception. Developer exception email is received with following information:
Error element Query_Login_History (FlowRecordLookup).
This error occurred when the flow tried to look up records: Application, LoginTime, LoginType, AuthenticationServiceId, Browser ^ ERROR at Row:1:Column:53 No such column 'AuthenticationServiceId' on entity 'LoginHistory'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.. You can look up ExceptionCode values in the SOAP API Developer Guide (" style="color:blue; text-decoration:underline).

If we try to run a query on login history, we are getting values for AuthenticationServiceId and other users with a different profile is not facing this issue.

What kind of profile permission will allow this flow to run successfully? Since we do not have FLS for Login history.
Any leads in this regards will be much appreciated. Thanks!
I would keep posting if I find any solution to this. Thank you All!

Best Answer chosen by Preeti Agarwal
Preeti AgarwalPreeti Agarwal
Update - View setup and Configuration permission in profile resolved the issue.
Robert BaratheonRobert Baratheon 
I want to add someone in a lead view so they can be an overseerer of the leads view but don't want any leads assigned to them anyone know how i can do that 
Best Answer chosen by Robert Baratheon
Vijay GuptaVijay Gupta
Hi Robert, 

To clarify , are you looking for someone to have a view of the leads even if he/she is not owner of the leads. 
IF you OWD for leads is private, roles higher in their hierarchy will get access to leads by default. For roles in peer or other level can be done by having lead sharing so that he/she get access to the leads. 
Sarah LeeSarah Lee 

Hello everyone,

I'm having some trouble getting a criteria formula to work. I want to fire a flow via PB when picklist Account_Status__c is changed from either Leased Up or Mediation to any other value. Here's what I've got so far: 


AND(ISCHANGED([Account].Account_Status__c )),
TEXT(PRIORVALUE([Account].Account_Status__c)) = 'Leased Up',

AND(ISCHANGED([Account].Account_Status__c )),
TEXT(PRIORVALUE([Account].Account_Status__c)) = 'Mediation')

The other possible values are:

On Hold
Not Available

Any help is appreciated!

Best Answer chosen by Sarah Lee
Doug BurkhartDoug Burkhart
I think you're on the right track. For your first criteria, if Leased Up is the Prior Value and is changed, the only thing it could change to where you don't want the PB to execute would be Mediation, correct? Then, for the second criteria, it would be just the opposite. So I think in both, you just need to make sure the new value is not the other option. Like this:
ISCHANGED([Account].Account_Status__c ),
TEXT(PRIORVALUE([Account].Account_Status__c)) = 'Leased Up',
NOT(TEXT([Account].Account_Status__c) = 'Mediation')),
TEXT(PRIORVALUE([Account].Account_Status__c)) = 'Mediation',
NOT(TEXT([Account].Account_Status__c) = 'Leased Up')))
Mary TepasMary Tepas 

Hi all, 

I created a simple custom app to track the multitude of requests that come into my inbox on a daily basis.  I know, I could just use cases, but our Service Team uses it and I wanted something that was simple and wouldn't get lost in the sea of cases.  That said...My boss would like to have our users creating the records themselves. alleviating some of my workload.

What would be the best approach to expose the new button, but not allow users to see the records in the queue?  It's fine for them to see their own records, but not anything else.



Best Answer chosen by Mary Tepas
Doug BurkhartDoug Burkhart
If you just set the Custom Object's Org Wide Default to Private, that will restrict access to the following people only:
- The record Owner
- Anyone above the record Owner in the Role Hiearchy (This only applies if you also check the box 'Grant Access Using Hierarchies in the Org-Wide Defaults)
- Anyone who has View All or Modify All Permissions for this Object
- Anyone who has View All Data or Modify All Data System Permissions
Sheridan HaskellSheridan Haskell 
Is there a way to have a detail record relate to two master records of the same object type? I know a detail can have two master records when they're different object types but Salesforce isn't letting me create a second master-detail lookup field with an object type I've already used.

Alternatively, is there a way to do roll-up summaries of ordinary lookup relationships? 
Best Answer chosen by Sheridan Haskell
Doug BurkhartDoug Burkhart
As you're seeing, you can't use the same object as the master record for both master-detail relationships.

While you also can't create a roll-up summary natively within lookup relationships, there is a great app for that:
Pamela elisheva DujovnePamela elisheva Dujovne 
Hi, i can't find why the amount field in opportunity shows as read only, when i see in the page layout that is not read only. Every profile has edit acces to that field. Can anyone help me?
Imagen agregada por el usuarioImagen agregada por el usuarioImagen agregada por el usuarioImagen agregada por el usuario
Best Answer chosen by Pamela elisheva Dujovne
Deepak AnandDeepak Anand
If you have Products added to the Opportunity, then the Amount field becomes read-only.
Denis BatsaevDenis Batsaev 
Hi All,

I have created permissions set and checked "Two-Factor Authentication for User Interface Logins" now I have assigned these permissions to my profile but when I log out it does not force me to login with 2FA it just logges me in.

Also, on my mobile device when I try to verify the number with SF Authenticator it sends me a weird link like Salesforce://verify-number?t=c0Evz and I am not really sure how to use it to confirm the number, any advice is much appreciated
Best Answer chosen by Denis Batsaev
Srinivasa RayapuriSrinivasa Rayapuri
How did you set the 2FA to behave? 

Also, at the permission set level, session settings "Session Security Level Required at Login" should be set to High Assurance
User-added image
Marshall PriestMarshall Priest 
I have a validation rule that is blocking some cases from being closed. The rule requires a field to be filled out when a checkbox equals true. I need the rule to fire when the checkbox changes from false to true. Here is the current rule:
ISPICKVAL( DNSS_Do_Not_Send_Survey__c, "")
Any help adjusting this rule is greatly appreciated. Thanks
Best Answer chosen by Marshall Priest
Deepak AnandDeepak Anand
Like this = 
Robert MellonRobert Mellon 
Can anyone provide insight on this Visualforce error: "Too many query rows: 50001  An unexpected error has occurred. Your development organization has been notified."
Best Answer chosen by Robert Mellon
Deepak AnandDeepak Anand
This is probably because of your Sharing Settings (like where you are in the Role Hierarchy, Sharing Rules, OWD, etc). 

Imagine you are an Admin or a superuser with access to almost all the data in the Org. When you run the VF Page, the Apex Controller, respects your privileges and will be having access to more data as opposed to the other users.

The other users could possibly be less privileged. Like I said there are factors like Roles, Profiles, Sharing Settings that governs this.

I assume your account is having more privileges than your fellow testers.