ever needed to query model on source page from page include page?

  • 2
  • Idea
  • Updated 4 years ago
// used to be to refresh model from page that called a page include
// before page include action
skuid.snippet.registerSnippet('setSourceModelName',function(args) {
    var params = arguments[0],
        $ = skuid.$;

        sourceModelName = params.model.id;

// used in conjunction with snippet 'setSourceModelName'
skuid.snippet.registerSnippet('querySourceModel',function(args) {
    var params = arguments[0],
        $ = skuid.$;

Photo of Pat Vachon

Pat Vachon, Champion

  • 45,894 Points 20k badge 2x thumb

Posted 5 years ago

  • 2
Photo of Eric Tuggle

Eric Tuggle

  • 342 Points 250 badge 2x thumb
Found this post and it is very helpful, thanks.  it did leave me wondering if it is possible to have an action taken in one page include refresh models on other page includes.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 9,292 Points 5k badge 2x thumb

That's an interesting idea but it is not currently possible.