Hello all! I am trying to replicate an OnClick JavaScript button we have in Salesforce to work in Skuid. The OnClick JavaScript button in Salesforce runs apex, then opens a create event page with the Assigned To field populated from the logic in the apex code.
We are having trouble recreating this in skuid. The workaround I currently have in place:
1. A row action that runs a JS snippet, passes model values from the row you initiated the actions for, then opens the create event page in salesforce
The issue with this workaround is that it takes our users out of the skuid view and they lose their place in their workflow.
The ideal process would be clicking a button that runs multiple actions:
1. Runs the JS snippet with apex logic
2. Launches a Wizard component to create an Event, with a field in the field editor of the wizard populated from the logic launched in step 1
Unfortunately I am not JS savvy and I cannot figure out how to pass the JS/apex values to the skuid field. I found this tutorial that describes what I want, but I couldn’t follow the example exactly http://help.skuid.com/m/11720/l/218340-wizard-component-custom-button-actions. The given example was for validate required fields on models from a snippet, not populating fields on models from a snippet.
Any help or further resources to get this process in skuid would be huge!
Thank you
Question
Javascript Parameters Passed to field in Wizard component
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.