-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add submission request form to site #18
Comments
@aheber @grekker @ChuckJonas For this I was thinking we use web-to-lead to collect the submissions. On Lead Create, a trigger will generate the Resource__c record in an "unapproved" status. Our approval is to convert the lead to create a Contact and Account (if they specify an organization). Then we put an "on convert" action for the Lead Trigger to move the Resource__c to "approved'. If we disqualify the lead, we can either delete the Resource__c record or mark it as "denied". Thoughts? |
@mikesimps in thinking through this same path we started to be concerned about the security of the action. How do we limit the fields submitted, prevent spam, etc... Unless we can figure a way to lock it down web-to-anything might be off the table. Leaning toward having the React app use the API. |
would be extremely easy to update the resource object (or a submission object so we approve?) directly via heroku |
My two cents would be:
|
Because everyone is still pretty new to these technologies, here's a step by step of how we would implement this: 1: Add a "Submit Repository"
If I have a couple minutes this evening, I'll try to submit a PR with these steps so you can really get a feel for how all this works together |
I think this is a really good commit to get an understanding of how to make end-to-end updates. a5fa233 There's still quite a bit of polishing to do. Hopefully one of you can take this and finish it up. Also, my impression so far is that react SLDS is no where near as well built as |
also, if you haven't done any basic react training, this tutorial series doesn't take very long and will get you up to speed: https://www.codecademy.com/learn/react-101 |
Create web form for public submissions. Create Form that creates Request__c record after submission.
Fields to collect
Add form to front page.
The text was updated successfully, but these errors were encountered: