• Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce Consultants
      • Marketing Cloud Consultants
      • Service Cloud Consultants
      • Experience Cloud Consultants
      • Analytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud Consultants
      • Financial Service Cloud Consultants
      • Health Cloud Consultants
      • Commerce Cloud Consultants
      • Manufacturing Cloud Consultants
  • Jobs
  • Marketplace
  • Stories
  • Advertise With Us
  • Top Bloggers 2022
  • Quizzes
  • Discussions
  • Groups
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce Consultants
        • Marketing Cloud Consultants
        • Service Cloud Consultants
        • Experience Cloud Consultants
        • Analytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud Consultants
        • Financial Service Cloud Consultants
        • Health Cloud Consultants
        • Commerce Cloud Consultants
        • Manufacturing Cloud Consultants
    • Jobs
    • Marketplace
    • Stories
    • Advertise With Us
    • Top Bloggers 2022
    • Quizzes
    • Discussions
    • Groups

    Activity › Forums › Salesforce® Discussions › Explain Programmatic way to set profile attributes in Salesforce.

    Tagged: Delete, Edit, Metadata API, Modify All, Permissions, Profile, Salesforce AppExchange, Salesforce Custom Object, Salesforce Setup, The Permissioner

    • Salesforce® Discussions

      Explain Programmatic way to set profile attributes in Salesforce.

      Posted by Audrey on April 19, 2016 at 1:21 pm

      I need to remove "Modify All", "Edit" , "Delete" permissions on custom object for a very long list of profiles. It can be done by going to each individual profile and changing the permissions via UI but is there any other easier way to perform this action in bulk?

      Avnish Yadav replied 4 years, 4 months ago 3 Members · 3 Replies
      • Delete
      • Edit
      • Metadata API
      • Modify All
      • Permissions
      • Profile
      • Salesforce AppExchange
      • Salesforce Custom Object
      • Salesforce Setup
      • The Permissioner
    • 3 Replies
    • Himanshu

      Member
      April 21, 2016 at 9:51 am

      Hi Audrey,

      There's a free app called The Permissioner which makes stuff like that easier.

      This is the link of the app on appexchange.

      https://appexchange.salesforce.com/listingDetail?listingId=a0N30000008XYMlEAO

    • Avnish Yadav

      Member
      September 30, 2018 at 12:22 am

      You can use the Enhanced Profile List Views to update object permissions directly in the profile list view.

      Setup --> User Interface --> Mark "Enable Enhanced Profile List View" TRUE
      Setup --> Profiles --> Create a custom list view for your custom profiles and add the object permissions to your columns.
      Check off all the ones you want to edit
      Use the inline editing to mark permissions true and false
      Select "All XX selected records" under "Apply changes to"
      Hope this helps!

      Thanks.

    • Avnish Yadav

      Member
      September 30, 2018 at 12:23 am

      And also The Metadata API provides programmatic access from any web-service capable language including Apex itself. So if this is a modification that you want to repeat in the future it could be worth writing some code.

      But a more common approach would be to read/modify/write the profiles using one of the IDEs or the Ant tools where you would use a few search and replace operations across all the files for the "modify" part.

      Thanks.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Reply

    Subscribe

    airslate

    SALESFORCE PRODUCT EXPERTISE

    • Top Salesforce Consultants
    • Top Salesforce Experience Cloud Consultants
    • Top Salesforce Analytics Cloud Consultants
    • Top Salesforce Service Cloud Consultants
    • Top Salesforce Marketing Cloud Consultants

    SALESFORCE INDUSTRY EXPERTISE

    • Top Salesforce Consultants
    • Top Salesforce Manufacturing Cloud Consultants
    • Top Salesforce Non-Profit Cloud Consultants
    • Top Salesforce Health Cloud Consultants
    • Top Salesforce Financial Service Cloud Consultants
    • Top Salesforce Commerce Cloud Consultants

    Popular Salesforce Blogs

    Salesforce-Powered Communities

    Employee Onboarding Made Easy With Walk-Throughs on Salesforce-Powered Communities

    Blog in Salesforce

    We are currently in the midst of a learning revolution. Technology has given us the tools to build learning programs that meet individual learners where…

    Application, Businesses, Career Development, Career Needs, Change Management
    Grazitti Jun 3, 2022
    1,580  Views

    Improve Patient Experience with Salesforce Health Cloud

    Blog in Salesforce Cloud Platform

    Patients are conserved and sensitive towards what kind of healthcare services they experience. When the systems of healthcare face issues like documentation, customized health plans,…

    API Structure, AppExchange Solutions, Appointment Booking & Scheduling, Automation, Best Salesforce Health Cloud Experts
    Bolt Nov 10, 2021
    1,483  Views
    controller extension

    Controller Extensions in Salesforce | The Developer Guide

    Blog in Others

    Controller Extension is an Apex Code that extends the functionality of a Standard or Custom Controller. When to Use Controller Extensions When we want to…

    Apex Code, Apex Pages, Controller Extension, Controller Extensions, Custom Controller
    Kirandeep Aug 20, 2020
    2,360  Views

    Popular Salesforce Videos

    Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

    Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

    Video in Salesforce Stories, Salesforce Training

    Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…

    Salesforce Developers, Salesforce Training Video, Salesforce Interview Questions, Interview Questions and Answers, Salesforce Interview Questions and Answers
    Neha Yadav Jun 2, 2020
    891  Views
    Rise & Shine with The Salesforce Women's Entrepreneur Group - May Series

    Rise & Shine with The Salesforce Women's Entrepreneur Group - May Series

    Video in Salesforce Stories

    The Salesforce Women’s Entrepreneur Group invites you to our first quarterly event of the year, Rise & Shine - Celebrating Women’s History Month. We are…

    Salesforce Training, Salesforce Ecosystem, Salesforce Video, Salesforce Learning, Businesses
    Rupal Kakkar May 18, 2021
    915  Views
    Salesforce Marketing Cloud Email Studio | Marketing Cloud Tutorial

    Salesforce Marketing Cloud Email Studio | Marketing Cloud Tutorial

    Video in Marketing, Salesforce Cloud Platform

    Learn all about Salesforce marketing cloud email studio. In this video, the following points will be covered - 1. Overview Of Email Studio & Content…

    Salesforce Training, Salesforce Tutorial, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    Algoworks Oct 14, 2021
    1,678  Views
    Footer Forcetalks logo

    [email protected]

    Forcetalks Android App
    Forcetalks IOS App

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2022

    Top Salesforce® Bloggers 2021

    Tips to choose Best Salesforce® Consulting Company

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    Submissions

    Write a Blog

    Start a New Discussion

    Post a Video

    Post an Infographic

    © 2023 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    Forum Description

    Report

    There was a problem reporting this post.

    Harassment or bullying behavior
    Harassment or bullying behavior
    Contains mature or sensitive content
    Contains misleading or false information
    Mobile App Reported Contents
    Contains abusive or derogatory content
    Contains spam, fake content or potential malware

    Block Member?

    Please confirm you want to block this member.

    You will no longer be able to:

    • See blocked member's posts
    • Mention this member in posts
    • Invite this member to groups
    • Message this member
    • Add this member as a connection

    Please note: This action will also remove this member from your connections and send a report to the site admin. Please allow a few minutes for this process to complete.

    Report

    You have already reported this .
    Clear Clear All
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.