
Kumar Roopam
Individual-
Kumar replied to the discussion How to restrict a user to not create more than 15 records in Salesforce? in the forum Salesforce® Discussions 7 years ago
Reply to How to restrict a user to not create more than 15 records in Salesforce?
Thanks you Mohit! Didn't strike me to use aggregate queries to group records by OwnerIds.
-
Kumar replied to the discussion How to restrict a user to not create more than 15 records in Salesforce? in the forum Salesforce® Discussions 7 years ago
Reply to How to restrict a user to not create more than 15 records in Salesforce?
Hey Shaik,
You would to most probably write a trigger on Opportunity which saves the count of records created by a user in a custom setting or something. From where you could validate that if a user has created 15 records on Opportunity or not.
Thanks
-
sivakrishna and
Kumar are now connected 7 years ago
-
shariq and
Kumar are now connected 7 years ago
-
Ashley and
Kumar are now connected 7 years ago
-
Radhakrishna and
Kumar are now connected 7 years ago
-
Kumar changed their photo 7 years ago
-
Kumar replied to the discussion What are the daily limits on sending Emails whenever a case is generated in salesforce? in the forum Salesforce® Discussions 8 years ago
Reply to What are the daily limits on sending Emails whenever a case is generated in salesforce?
Hi Sushant,
As far as I know, sent email messages have a limit of 1,000 per day. You can check out this developer forum post for more information.
-
Kumar replied to the discussion How can we find if a particular user has edit permission on a specific Sobject in salesforce? in the forum Salesforce® Discussions 8 years ago
Hi Sushant,
If you have a particular user id, you can query on the PermissionSetAssignment object to get the id of all users who have a specific level of access on that Sobject.
For example, this query gives you all the users who have 'view all' and 'modify all' permissions on Account.
SELECT Assignee.Id, Assignee.Name… Read more
-
Kumar replied to the discussion How can we find if a particular user has edit permission on a specific Sobject in salesforce? in the forum Salesforce® Discussions 8 years ago
Hi Sushant,
If you have a particular user id, you can query on the PermissionSetAssignment object to get the id of all users who have a specific level of access on that Sobject.
For example, this query gives you all the users who have 'view all' and 'modify all' permissions on Account.
SELECT Assignee.Id, Assignee.Name… Read more
-
Kumar replied to the discussion How to delete a custom metaData in salesforce which I have added as a component in Managed package? in the forum Salesforce® Discussions 8 years ago
Hi Prasanth,
As far as I know, deleting components from a managed package requires you to log a case with Salesforce, as normally you can not delete any component from a managed package.
For more information go to this link. Hope this helps.
-
Kumar replied to the discussion How to delete a custom metaData in salesforce which I have added as a component in Managed package? in the forum Salesforce® Discussions 8 years ago
Hi Prasanth,
As far as I know, deleting components from a managed package requires you to log a case with Salesforce, as you can not normally delete any component from a managed package.
For more information go to this link. Hope this helps.
-
Kumar started the discussion How to resize a rich text field on a Salesforce Visualforce Page? in the forum 8 years ago
How to resize a rich text field on a Salesforce Visualforce Page?
Hi all,
I have a custom object which contains a rich text field which is populated by an image.
I am using an apex:pageblocktable to display the list of that said custom object.
How can I resize that particular field in my pageblocktable?
Any help is appreciated.
-
Kumar replied to the discussion How can we use lightning component in salesforce community in the forum Salesforce® Discussions 8 years ago
Reply to How can we use lightning component in salesforce community
Hi Vikas,
In order to be used in a community, your lightning component must implement the "forceCommunity:availableForAllPageTypes" interface and its access must be "global".
Something like this:
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global">
<aura:attribute name="greeting" type="String"… Read more -
Kumar replied to the discussion How to restrict input to numbers only in inputText field visualforce in the forum Salesforce® Discussions 8 years ago
Reply to How to restrict input to numbers only in inputText field visualforce
Hi Vikas,
One way you could make this work is use <apex:input type="number" /> instead of apex:inputText.
Otherwise, you could implement some javascript validation or send it back to your controller and do the validation in Apex.
-
Kumar replied to the discussion How can we use an image in a custom field in salesforce? in the forum Salesforce® Discussions 8 years ago
Reply to How can we use an image in a custom field in salesforce?
Hi Sushant,
You can use a rich text type field and insert your image there.
Hope this helps.
-
Kumar replied to the discussion What are the advantages of Testsetup in test classes? in the forum Salesforce® Discussions 8 years ago
Reply to What are the advantages of Testsetup in test classes?
Hi Sushant,
You can use @testSetup to define common test data for all the methods of a test class.
Go to the developer guide for more details.
-
Kumar replied to the discussion How to save blank spaces in text area in the forum Salesforce® Discussions 8 years ago
Reply to How to save blank spaces in text area
Hi Vikas,
Refer to this post, it deals with the same scenario.
-
Kumar replied to the discussion How can we achieve conditional rollback on saving multiple hierarchy records ? in the forum Salesforce® Discussions 8 years ago
Reply to How can we achieve conditional rollback on saving multiple hierarchy records ?
Hi Vikas,
You can look into database.savepoint and database.rollback in Salesforce.
Refer to this link for more info.
-
Kumar started the discussion How to mask telephone field in visualforce page? in the forum 8 years ago
How to mask telephone field in visualforce page?
Hi All,
How to mask telephone field in visualforce page?
Thanks
- Load More