To assign Leads to Partners via the Magentrix portal (for Salesforce.com Leads), which allows each Partner to view only their own Leads, you will have to set up private access to Leads.
Magentrix Portal Users are linked to Salesforce.com Contacts. Therefore, the record ownership for portal users is tracked by a "relationship (lookup/master-detail)" with the Contact object.
- Create a new lookup from Lead to Contact. Name the field "Partner Contact".
- This allows you to have a related list in the Salesforce Contact layout that shows you all the leads that a Partner contact has registered.
Then in the Magentrix Portal:
Log in as an Administrator.
Go to the Setup Home page.
On the left, go to Extend > Salesforce.
- Click on the Leads entity/object.
Click the More Actions button and select Refresh.
Click the Edit button.
Under the Entity Options sections, select the field you just created in Salesforce for Portal Owner Field.
You must now set the Lead entity to Private in the Security Role for the Portal User. Note that Magentrix automatically populates the new field when a Partner User creates a new Lead.