Pass arguments to snippet from action framework.

Matt SonesMatt Sones 💎💎💎
edited June 25, 2020 in Ideas
This would be super handy.

Not my idea, but I figured it should be its own 'idea' thread: https://community.skuidify.com/skuid/topics/call-snippet-from-snippet
10
10 votes

Implemented · Last Updated

Comments

  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016
    Consider the idea registered.  Thanks for providing the advice!
  • edited February 2, 2017
    I would really appreciate this feature.
  • edited January 12, 2017
    Yes please! We need this! :)
  • Karen WaldschmittKaren Waldschmitt 🛠️ 
    edited June 25, 2020
    Matt~

    Thank you for your patience! Skuid has implemented this new feature regarding the ability to pass arguments to snippets from the action framework in the new Millau 11.0 release which is now available on the Skuid Releases page.

    As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade. Please let us know if you continue to encounter any problems with this issue after upgrading.
     
    Thanks again for bringing us this idea and helping make Skuid a better product! 
    Karen
  • edited April 10, 2018
    I am not finding the documentation for this and do not see a place to pass custom arguments to a snippet (on version 11.1.6).  How can we now pass arguments/parameters to snippets from the action framework?  Or can you point me to the right place if I missed it in the documentation?  Thanks!
  • edited August 20, 2018
    Yes, can you add to the documentation? I can't find it anywhere.
  • Pat VachonPat Vachon 💎💎💎
    edited December 3, 2018
    Karen! Liar liar pants on fire. I don't see this option that you speak of.

    Action sequences work with inputs but snippets from action framework that I can see.
  • Arne-Per HeurbergArne-Per Heurberg ✭✭✭✭
    edited November 11, 2018
    i can't find it either
  • John DahlbergJohn Dahlberg ✭✭✭✭
    edited December 3, 2018
    You can call a snippet via a URL in the meantime.  Here's the syntax:

    javascript:skuid.snippet.getSnippet('SnippetName')('Parameter1','Parameter2');


    We're using this technique extensively and it works very well.  Conceivably you could set this up as a reusable action and manage the parameters via the page composer.  That may be an extra step however.
  • Mark DeSimoneMark DeSimone 🛠️ 
    edited February 4, 2020
    Hi everyone! It has been a long time coming, but I've written up an explanation for how this can be accomplished. You can read that (and more) here:
    https://community.skuid.com/skuid/topics/inputs-and-action-sequences-or-how-you-can-pass-an-argument...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!