BCA / B.Tech 7 min read

Record Based Sharing in Hindi

RK

लेखक Ratan Kumawat · संस्थापक, NotesMedia

प्रकाशित:

त्वरित सारांश और मुख्य बिंदु

  • • विषय फोकस: Salesforce Notes in Hindi | सेल्सफोर्स नोट्स हिंदी में (BCA / B.Tech Syllabus)
  • • मुख्य विषय: Record Based Sharing in Hindi - General Topics
  • • अवलोकन: Quick Answer: Salesforce mein Record-Based Sharing (रिकॉर्ड-लेवल शेयरिंग) data security ka wah level hai jo tay karta hai ki kisi specific object (jaise...
  • • मुख्य अवधारणाएं: Record based sharing in Salesforce, Salesforce record sharing, Record sharing Hindi, Salesforce criteria sharing,
Quick Answer: Salesforce mein Record-Based Sharing (रिकॉर्ड-लेवल शेयरिंग) data security ka wah level hai jo tay karta hai ki kisi specific object (jaise Account, Lead, Opportunity) ke individual records ko kaun-kaun se users dekh (Read) ya modify (Edit) kar sakte hain. Yah 5 progressive layers par kaam karta hai: Organization-Wide Defaults (OWD), Role Hierarchy, Sharing Rules (Owner aur Criteria based), Manual Sharing, aur Apex Managed Sharing. Salesforce security ka golden rule hai ki sharing mechanisms access ko sirf open up (expand) kar sakte hain, OWD se zyada restrict nahi kar sakte.

Salesforce Data Security Architecture aur Record-Level Sharing

Salesforce CRM platform par hazaron employees ek sath kaam karte hain. Sales executives, customer support agents aur executive managers sabhi ko poori company ka sensitive data dekhne ki zaroorat nahi hoti. Salesforce data security ko chaar progressive levels par enforce karta hai:

  1. Organization Level: Login hours, trusted IP ranges aur multi-factor authentication.
  2. Object Level: Profiles aur Permission Sets ke through tay hota hai ki user kis object par Create, Read, Edit, Delete (CRED) kar sakta hai. Iske details ke liye hamara How to Create Profile in Salesforce note padhein.
  3. Field Level (FLS): Specific columns (jaise Salary ya Social Security Number) ko hide ya read-only karna.
  4. Record Level: Yeh decide karna ki table ke hazaron records (rows) mein se user ko kaunse specific records dikhayi denge. Isi ko Record-Based Sharing kehte hain.

Baseline security aur OWD settings ko samajhne ke liye aap hamare Organization-Wide Defaults (OWD) in Salesforce aur user setup ke liye How to Create User in Salesforce notes padh sakte hain.

Advertisement

Record-Based Sharing ke 5 Mukhya Levels (The Sharing Pyramid)

Salesforce mein record security ek pyramid structure follow karti hai, jisme sabse neeche baseline OWD hota hai aur jaise-jaise hum upar badhte hain, records ka access expand hota chala jaata hai:

1. Organization-Wide Defaults (OWD) - Baseline Security

OWD poori organization ke liye base level access tay karta hai jab user us record ka owner na ho. OWD ke teen mukhya levels hote hain:

  • Private: Sirf record owner aur uske senior managers (role hierarchy mein) hi record ko dekh aur edit kar sakte hain.
  • Public Read Only: Sabhi users sabhi records ko dekh sakte hain, par edit sirf owner kar sakta hai.
  • Public Read/Write: Sabhi users sabhi records ko bina kisi restriction ke dekh aur edit kar sakte hain.

2. Role Hierarchy (Vertical Access Expansion)

Role hierarchy organization ke reporting structure ko mirror karti hai (jaise CEO > VP Sales > Regional Sales Manager > Sales Representative). By default, Salesforce mein "Grant Access Using Hierarchies" enabled rehta hai. Iska matlab hai ki role hierarchy mein jo user upar baitha hai, wah apne se neeche wale sabhi subordinates ke owned records ko automatically dekh aur edit kar sakta hai.

3. Sharing Rules (Horizontal Access Expansion)

Jab do alag-alag departments ke users role hierarchy mein parallel hote hain (jaise Marketing Team aur Support Team) aur unhe aapas mein records share karne hon, tab Sharing Rules banaye jaate hain. Sharing rules do tarah ke hote hain:

  • Owner-Based Sharing Rules: Ek specific role ya public group ke logon dwara create/owned records ko doosre role ya public group ke sath automatically share karna (e.g. "North Sales Reps ke sabhi Leads ko Support Team ke sath Read-Only share karein").
  • Criteria-Based Sharing Rules: Record ke data field ki value ke aadhar par sharing trigger hona (e.g. "Agar Account Rating EQUALS 'Hot' ho, toh Executive Management team ko Read/Write access mil jaaye").

4. Manual Sharing (Individual Record Level)

Jab kisi record ka owner kisi single special case ke liye apne colleague ke sath record share karna chahta hai, toh wah record page par "Sharing" button click karta hai. Wahan user ya group select karke Access Level (Read Only ya Read/Write) choose karta hai aur Save kar deta hai. Agar record ka owner change ho jaaye, toh purani manual sharing automatically revoke ho jaati hai.

5. Apex Managed Sharing (Programmatic Sharing)

Jab business logic itna complex ho ki standard declarative sharing rules ya UI buttons se solve na ho sake, tab developers Apex code likhte hain. Apex standard sharing tables (jaise AccountShare, OpportunityShare, CustomObject__Share) mein programmatically naye records insert karta hai aur RowCause parameter specify karta hai.

Record-Based Sharing 5 Levels Reference Table

Neeche diye gaye table mein Salesforce ke pancho sharing mechanisms aur unke technical rules ka overview diya gaya hai:

Sharing Mechanism Direction of Access Automation Type Access Level Granted When to Use
OWD (Org-Wide Defaults) Universal Baseline Administrative Configuration Private, Public Read Only, Public Read/Write Poori company ke liye sabse restrictive base level set karne ke liye.
Role Hierarchy Vertical (Neeche se Upar) Automatic (Built-in) Same access as subordinate owner Management chain aur team leads ko subordinate data access dene ke liye.
Sharing Rules Horizontal (Across Departments) Automatic Rule Triggered Read Only ya Read/Write Alag-alag departments ya public groups ke beech lateral access ke liye.
Manual Sharing Ad-hoc (One-to-One) Manual Button Click Read Only ya Read/Write Temporary collaboration aur exception cases ke liye.
Apex Managed Sharing Custom Complex Logic Programmatic (Apex Triggers) Read, Edit, Custom RowCause Jab sharing rules ki limits exceed ho jayein ya complex algorithms require hon.
Advertisement

Comparison: Sharing Rules vs Manual Sharing vs Apex Sharing

Automated aur manual sharing methods ka direct comparison neeche table mein dekhein:

Comparison Parameter Sharing Rules Manual Sharing Apex Managed Sharing
Setup Interface Setup menu mein declarative clicks dwara. Record detail page par "Sharing" button dwara. Developer Console / IDE mein Apex code dwara.
Trigger Basis Record ownership ya field criteria match hone par automatically. End user dwara manually one-by-one click karne par. Database DML operations aur custom triggers par automatically.
Ownership Change Impact Naya owner aane par bhi rules valid rehte hain aur access re-calculate hota hai. Record ka owner change hote hi saari manual shares delete ho jaati hain. RowCause ke mutabiq manage hota hai; custom RowCause hone par access persist rehta hai.
Scale / Volume Bulk records par mass level par apply hota hai. Single record-by-record manual entry. Complex enterprise workflows aur enterprise integration logic.

Common Mistakes to Avoid

  • OWD ko Public Read/Write rakh kar sharing rules banane ki koshish karna; agar OWD pehle se Public Read/Write hai, toh sharing rules ka koi matlab nahi rehta kyunki sabhi ke paas full access pehle se hai. Sharing rules sirf Private ya Public Read Only OWD par hi kaam aate hain.
  • Yeh sochna ki sharing rules access ko block (restrict) kar sakte hain; Salesforce mein sharing rules sirf extra access grant kar sakte hain, kabhi kisi se access chheen nahi sakte.
  • Standard objects (Accounts, Contacts) par custom Apex sharing table dhoondhna; standard objects ke liye Salesforce standard sharing objects (jaise AccountShare) provide karta hai jinme custom RowCause create nahi ho sakta.
  • Public Groups ka use na karke individual users ke naam par hazaron sharing rules banana; isse org ki sharing rule limits jaldi khatam ho jaati hain. Hamesha Public Groups use karein.

Exam के लिए Important Questions

Short Questions (2-3 marks)

  1. Salesforce mein Record-Based Sharing ka Golden Rule kya hai?
  2. Owner-based Sharing Rules aur Criteria-based Sharing Rules mein kya antar hai?
  3. Role Hierarchy mein "Grant Access Using Hierarchies" checkbox ka kya mahatva hai?
  4. Jab kisi record ka owner change hota hai, toh uski Manual Sharing par kya asar padta hai?

Long Questions (5-10 marks)

  1. Salesforce Data Security Architecture ke charon levels (Org, Object, Field, Record) ko explain kijiye aur Record-Based Sharing ke pancho levels ka vivaran dijiye.
  2. Organization-Wide Defaults (OWD), Role Hierarchy aur Sharing Rules aapas mein milkar data security ko kaise maintain karte hain? Ek corporate sales scenario explain kijiye.
  3. Sharing Rules, Manual Sharing aur Apex Managed Sharing ke beech tulnatmak antar (comparison table) banakar spasht kijiye.

Frequently Asked Questions (FAQs)

Record ka "Full Access" kiske paas hota hai?

Record ka Full Access sirf Record Owner, System Administrator (jiske paas "Modify All Data" permission ho), aur Role Hierarchy mein owner se upar ke managers ke paas hota hai. Full access wala vyakti hi record delete aur share kar sakta hai.

Kya OWD ko baad mein change kiya ja sakta hai?

Haan, System Administrator Setup mein Sharing Settings page par jakar OWD change kar sakta hai. Agar OWD ko Public se Private kiya jaaye, toh background mein recalculation job chalti hai.

Public Group kya hota hai aur sharing mein iska kya use hai?

Public Group administrative collection hai jisme individual users, roles aur anya groups combine hote hain. Sharing rules banate samay single users ko select karne ke badle Public Group select kiya jaata hai taaki maintenance simple rahe.

Master-Detail Relationship mein child record ki sharing kaise control hoti hai?

Master-Detail relationship mein child record ki apni koi independent sharing settings ya OWD nahi hota. Child record ki security 100% uske parent Master record ke security access par depend karti hai.

अक्सर पूछे जाने वाले प्रश्न (FAQs)

Quick Answer: Salesforce mein Record-Based Sharing (रिकॉर्ड-लेवल शेयरिंग) data security ka wah level hai jo tay karta hai ki kisi specific object (jaise Account, Lead, Opportunity) ke individual records ko kaun-kaun se users dekh (Read) ya modify (Edit) kar sakte hain.
Salesforce Notes in Hindi | सेल्सफोर्स नोट्स हिंदी में के पाठ्यक्रम में Record Based Sharing in Hindi एक महत्वपूर्ण अध्याय है। यह मुख्य सिद्धांतों, परीक्षा प्रश्नों और सूत्रों को समझने के लिए अत्यधिक आवश्यक है।
हाँ, NotesMedia पर आपको Record Based Sharing in Hindi के महत्वपूर्ण प्रश्नोत्तर, हल किए गए उदाहरण और नोट्स बिल्कुल मुफ्त मिलेंगे। अधिक अभ्यास के लिए आप हमारा ऐप भी डाउनलोड कर सकते हैं।
Advertisement

In this Chapter

Record Based Sharing in Hindi
Salesforce क्या है? - Components of Salesforce
Cloud Computing in Hindi – क्लाउड कंप्यूटिंग क्या है?
What is IaaS, PaaS, SaaS, FaaS in Hindi
Cloud computing Salesforce in Hindi
Cloud computing difference ERP and CRM In Hindi
Cloud computing Web Services In Hindi
What is AppExchange in Hindi
Cloud computing Salesforce Mobile support In Hindi
Cloud computing Introduction Of Force.com In Hindi | क्लाउड कंप्यूटर फोर्स.कॉम प्लेटफार्म का परिचय इन हिन्दी
Cloud Computing SalesForce Setup Page in Hindi
Create Application In SalesForce In Hindi
Create Object In SalesForce In Hindi
Lookup In SalesForce In Hindi
Create Tabs In SalesForce In Hindi
ERP In Salesforce In Hindi | ERP इनसेल्सफोर्स इन हिन्दी
CRM In Salesforce In Hindi | CRM इनसेल्सफोर्स इन हिन्दी
What is Field in salesforce in Hindi | सेल्सफोर्स में फील्ड क्या है फ़िल्ड
Link Creation & custom button in Hindi | लींक क्रिएशन और कस्टम बटन इन हिंदी
Manage security In Hindi | मैनेज सिक्यूरिटी इन हिंदी
Governor Limites in Hindi | गवर्नर लिमिटस इन हिंदी
How to Create profile in Hindi | प्रोफाइल केसे बनाये इन हिंदी
How to Create user in Hindi | यूजर केसे बनाये इन हिंदी
OWD in salesforce in Hindi
What is Sharing Rules & Roles in Hindi
Password Policies in Hindi
User Session In Hindi
Trusted IP Range in Hindi
Public Group in Hindi
Sales Cloud in Hindi
Contract & Service Object in Hindi
Component of Service in Hindi
Create Approval Process in Hindi
Create Email Template in Hindi
Create Custom Profile In Hindi
Create New User In Hindi
Approval Process Test in Hindi
Workflow in Hindi
Workflow Rules & Workflow Actions in Hindi
Email Task & Updates in Hindi
Queue & Time-Dependent Workflow Action in Hindi
Immediate Action In Hindi
Workflow Immediate Action & Time-Dependent Workflow in Hindi Action
Process Builder In Hindi
Create Process Builder In Hindi
Diffrence beetween Process Builder & Workflow In Hindi
Create Records & Tools in Hindi
What is Reports & Types In Hindi
Create Report in Hindi
Create Dashboard & Editing in Hindi
Dashboard Snapshots To Home Page in Hindi
Create Additional Report in Hindi
Create Custom Report types in Hindi
Design Home Page in Hindi
Salesforce All Important Questions and Answers in Hindi (MDSU)
BCA || Salesforce 2025 Paper || MDSU Exam Paper
BCA | Salesforce 2023 Paper | MDSU Exam Paper
BCA || Salesforce Supplementary2023 Paper || MDSU Exam Paper