Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I'm adding a Lead form to a Site.com page, similar to this blog post by Joe Morse.

I am able to select the Lead object from the form connection picklist when dragging the form on to the page and I am able to hide the Owner Id field. In order to choose the Lead in the form connection picklist the Site Guest User's profile must have Create permissions on the Lead.

The problem is that when I try to specify a Fixed Value default value for the Lead owner I do NOT see the Site Guest User as an option in the picklist of possible owners. The only users that are available in the picklist are customer portal users.

How is the list of Users that is populated in the picklist of possible default Lead owners determined? Is it something more than just having the Create permission on the Lead object?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I'm still not sure what the cause of this is, but the workaround is to simply change the value of the Owner ID input to the desired User ID with some simple JavaScript. It is a little bit less maintainable because the Site.com maintainer will have to edit a JavaScript file to change the User ID.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.