Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Force.com Sites & Site.com
- :
- Update checkbox fields on Lead and Contact with un...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Update checkbox fields on Lead and Contact with unauthenti cated user?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-06-2012 04:03 PM
Hi all,
I have a requirement whereby we send a user/customer an e-mail (not sent from Salesforce) a link to a Salesforce sites URL.
The URL is unique to the user receiving the e-mail, and on access the controller can determine which object (a contact or lead) is associated with the URL.
Ideally I'd like to present the user with a page that will allow them to toggle and save some checkbox fields on the related object.
My understanding is that sites users are not able to edit standard object data and we don't want to (can't) force users to authenticate in order to maintain this data.
Would anyone have any 'best practice' suggestions on how to accomplish the above with Salesforce?
Thanks in advance.
Re: Update checkbox fields on Lead and Contact with unauthenti cated user?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2012 09:21 PM
oski93 wrote:
My understanding is that sites users are not able to edit standard object data and we don't want to (can't) force users to authenticate in order to maintain this data.
Your understanding is correct.
In one of my project there was similar issue where we needed to use campaign management in sites. Where we needed to perform dml on Account, Contact, Lead, Campaign, etc.
Solution is :
You can avoid using standard controller(Page runs in user mode) for your page and just use controller(as here your page runs in system mode), Then you will be able to perform DML on standard objects too.
Also a problem with private sharing model is you dont have permissions on the record. So define sharing rules on required object and give access to Site User.

