Activity › Forums › Salesforce® Discussions › How to Lock custom setting in salesforce?
-
How to Lock custom setting in salesforce?
Posted by Saurabh on April 26, 2018 at 4:24 PMhow to Lock custom setting in salesforce?
Aman replied 8 years ago 3 Members · 2 Replies -
2 Replies
-
Hi saurabh,
Your users will need the “Customize Application” permission to update custom settings records. They vary a bit differently than a typical custom object, in that they aren’t dependent on field level security or profiles.
setup > Manage Users > Profiles
Look for customize Application under Administrative Permissions.Thanks.
- [adinserter block='9']
-
Hi Saurabh,
If you look at the documentation on the Lead object, there is no CampaignId field (nor any reference to Campaign. However, if you wanted to loop through the Campaigns a Lead is joined to, there is a CampaignMembers related list (see also the documentation for the CampaignMember object). You could, for example, do:
<apex:page standardController=”Lead”>
<apex:relatedList list=”CampaignMembers” />
</apex:page>
Or if you wanted more granular control over which fields to display:<apex:page standardController=”Lead”>
<apex:pageBlock>
<apex:pageBlockTable value=”{!Lead.CampaignMembers}” var=”member”>
<apex:column value=”{!member.Campaign.Name}” />
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>Thanks
Log In to reply.