You need to sign in to do that
Don't have an account?
Matthew Hayes 46
Random name generator
How would I create a field in Salesforce, communities, that would randomly pick a name from a object that housed a list of say 10000 names? What the goal is when one of our users is in our system they could randomly pick a name from a list in Salesforce. Is that possible? How would I go about setting something like this up? I am not a developer.
The easiest way is to create a relationship (lookup) with the object that houses the list of 10000 names.
This field will be a lookup field by default showing the field Name and if the user enters some characters, the search is activated immediatly and pick the first found names (always ordered nevertheless).
For a "fake" random order, you can add a number front of the name without order for the name themselves ( 1-Spencer Tracy, 500-Arnold Sharwzy; 2871-John Rambo ). and if the user enters any numbers between 1 and 10000, the corresponding name begining with the number will appear but you need other fields, Name__c or FirstName__c and LastName__c selected by a formula after the action of save.
All Answers
The easiest way is to create a relationship (lookup) with the object that houses the list of 10000 names.
This field will be a lookup field by default showing the field Name and if the user enters some characters, the search is activated immediatly and pick the first found names (always ordered nevertheless).
For a "fake" random order, you can add a number front of the name without order for the name themselves ( 1-Spencer Tracy, 500-Arnold Sharwzy; 2871-John Rambo ). and if the user enters any numbers between 1 and 10000, the corresponding name begining with the number will appear but you need other fields, Name__c or FirstName__c and LastName__c selected by a formula after the action of save.