Ask Search:
Best Answer chosen by Sheronda Usher
Steve MolisSteve Molis
Yes, they are totally unrelated to each other
Patrick RedorPatrick Redor 

We have a community setup and it uses Visualforce Page and ReactJS to display a customized UI. After a security scan, we found out that we can still see the standard salesforce community page just by changing the URL from 

from this example, we are able to view the Multi-User Calendar that displays all the names of internal users that we have. Also, just by adding the 3 digit Object Id at the end, like "/001" , will redirect the external user to a standard salesforce community page for Accounts.

Is there a way to stop this from happening and restrict the external user to just view the visualforce page? 

After googling, I found out about the "allowStandardPortalPages" under Custom Sites. Changing this at the metadata level to "<allowStandardPortalPages>false</allowStandardPortalPages>" might help. Unfortunately, when I tried it, it returned an error that our version of Site is still on 36.0 and "allowStandardPortalPages" is only available on 39.0 and up.

To summarize, I have two questions:
- Is there a way to restrict the external user from accessing Standard Salesforce Community Pages?
- How to upgrade the version of Custom Sites to 39.0?

Best Answer chosen by Patrick Redor
Patrick RedorPatrick Redor
It's all good now.

I was able to get the metadata api 39.0 of Sites by updating the version field from 36.0 tp 39.0 inside package.xml using eclipse. Since it was updated to 39.0, when I refresh from server, the allowStandardPortalPages is available. I changed its value to false and saved to server. This fix our issue which blocks external users from viewing standard salesforce community pages.
Jessica GagnonJessica Gagnon 
We just rolled out Signal Sign On for my org. It now disables the user from Active Directory which disables the user from signing in to all our systems. However this does not deactivate the Salesforce user account which means I have an licence which could be freed up. Is there a way for me to automatically disable a user who has not logged in in the past 30 days? 
Best Answer chosen by Jessica Gagnon
Doug AyersDoug Ayers
There's a couple options. If you want seamless integration with your AD, you might consider purchasing Salesforce's "Identity Connect" add-on to keep not just active/inactive in sync but all the other user details (

For a more "free" approach based on a "not logged in within last 30 days" you might consider a scheduled batch apex job to automate this process.

Another option is to manually, once a week (or whenever) use a tool like Enabler for Excel ( or the Salesforce Data Loader to export active users with login date within last 30 days, do a quick excel change, then update the affected records.
Jose ArechavalaJose Arechavala 
With regards to Event Monitoring, how far back can we run reports on users? We are interested but considering the cost involved we don't want to make the investment without knowing if we have the ability to go back at least a year. 
Best Answer chosen by Jose Arechavala
Mayank SrivastavaMayank Srivastava
Jose, here's  the answer to your question:
All these events are stored in event log files. An event log file is generated when an event occurs in your organization and is available to view and download after 24 hours. The event types you can access and how long the files remain available depends on your edition.

-- Developer Edition (DE) organizations have free access to all 30+ log types with one-day data retention.
-- Enterprise, Unlimited, and Performance Edition organizations have free access to the login and logout log files with one-day data retention. For an extra cost, you can access all log file types with 30-day data retention.

Now remember that when you have event monitoring added, you will have some sort of automation downloading those files on a daily basis:

So it is totally upto you that how long you want to keep the files for.
Melissa BunchMelissa Bunch 
We have multiple Quote templates and all of our users have access to create Quotes, however I have some templates that I don't want everyone to be able to see. I haven't been able to determine how to limit this visibility. 

Is it possible to control which users see which templates?

Thank you!
Best Answer chosen by Melissa Bunch
Dnyaneshwar AghawDnyaneshwar Aghaw
Hi Melissa,

There is no such possibility to hide Quote templetes from certain users.However there is an Idea posted on Ideaexchange for this.


Steve RubinSteve Rubin 
Hello,  Is there a way to give a Public Group access to an object field through a permission set?  Or is there a better way, maybe through Sharing?

Best Answer chosen by Ed ( 
Kishore B TKishore B T
As you have mentioned you need to give access,
Please add the users to groups based on some condition using process builder.
Please change the entry criteria accordingly, the example is to add all the new users to public group.
karen brownkaren brown 
I have a question about Password Policies.

I have been asked by our security manager to set the following;
  1. Lockout threshold = 10 invalid login attempts
  2. Lockout Duration = 15 minutes
  3. Reset invalid counter after = 5 minutes
So actually i cannot see where to set item 3, so bacially say the 10 attempts are in a 5 minute window and then the 10 invalid logins reset after 5 minutes... so for example they cant do 5 invalid attempts in 5 mins and then another 5 in another 5 minutes.  every 5 minutes would start the 10 invalid attempts counter again.

Does that make sense.
Best Answer chosen by karen brown
Artur NovikovasArtur Novikovas
Hello Karen, i dont believe there is time limit on the invalid login attempts instead its a count to the set criteria which in your case is 10, you can enter invalid credentials 10 times in one day or 10 times in one week. If you do reach your limit of 10 invalid log in attempts you will be locked out for 15 minutes ( but as an admin you can locate their account and unlock them prior to the time out )


Claire FieldClaire Field 
I have a user who needs to be able to change Account Record Types. I have created a permission set for them that gives them edit access to the object and to the record types they can change the account to. However, because the Account Record Type field is read only on the page layout their profile is assigned to, they are still unable to edit the record type. 

How can I give them access to change the record type without having to change the page layout?
Best Answer chosen by Claire Field
Barry GreenleesBarry Greenlees
Hi Claire,

If you have assigned them a permission set, then look for a permission called "Edit read only fields" this will allow the user to edit fields that are set to read only
Best Answer chosen by Paulino Garza
Purvi PatelPurvi Patel
Hello Paulino Garza,

May I know you are logged in into both org that is your personal and work account from the same browser?

If you are logged in with the same browser than you are facing this issue because of cookies as your session is getting merged.

I want one Profile A to be able to log as all the users in Profile B.

I tried to create delegated groups and enable the group Login Access. The users in the Profile A still did not have login access. When I checked "Modify All Data" on Profile A, and they were able to log in as any user in any profile. I don't want to keep the modify all data check off.

Is there another way we can accomplish this. I have also enabled "Administrators Can Log In as Any user" option too.

Best Answer chosen by V P
Jeff MayJeff May
What you describe is not possible. Either a user is allowed to log in as any other user (which means they need to have access to all the fields and records of that other user), or they can't.