I have created a simple Skuid page that is launched from a standard button on the Case feed page. The page is supposed to be used as a pop up for editing a subset of case fields and posting a Chatter comment. I would like to create a custom save button on the page that saves all the changes (including the Chatter comment), closes the window, and refreshes the originating case feed page so the data changes will be reflected. Since I am new to Skuid and am not a developer, I am a little lost with regards to the custom button snippets. Where can I find help on how to achieve this?
The standard button on the case feed page should launch a popup. In that popup, use the page include component to pull in your page.
On that custom popup page, use a pagetitle component and add a button to run multiple actions:
- save model(s) action
- close topmost popup action
Hi Matt, thank you for your reply. Currently I am using a field editor component on my page as demonstrated in the tutorials. I will try to read up on the action framework and the page include component and see how I can use them to follow your suggestion. My originating page is a standard SF case feed page and not a Skuid page. I am launching the Skuid “pop up” page using a URL button. I am not sure what you mean by “rebuild your custom popup within the popup on the parent page”. Please excuse my ignorance, this is my very first Skuid page. .
In your current construct, probably the easiest way would be to just have your skuid page save button do the following:
- save model(s)
- redirect to url , open in current window. (back to your case feed page)
My requirements are to launch a pop up from the standard case feed page so I’m afraid your suggestion to open in the same window will not work for me. Thank you for your suggestion.
Launching from the standard case feed page means you won’t be using a skuid solution to do the launching. I’m not sure what actions are available on the feed page, but you might be able to have a custom action or a redirect url that goes to a specific skuid page. I’m also not sure you can do that in a popup. The skuid page - easy. Getting there - not so much.
I’m not sure about refreshing the parent window.
Thanks Matt, works great as a snippet, very helpful and simple.