Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3432856
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:30:06+00:00 2026-05-18T07:30:06+00:00

Overview I am working on building a Kynetx ruleset that will find a bunch

  • 0

Overview

I am working on building a Kynetx ruleset that will find a bunch of Facebook ids that are on the page and then use the Kynetx Facebook module to get the Facebook avatar associated with that Facebook id. I have the JS that creates an array of Facebook ids on the page and I can process an array in KRL to retrieve Facebook avatars. What I don’t have is how to get an array from the client side to the server side in KRL.

How can I get the array from the client side to the server side of KRL?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:30:07+00:00Added an answer on May 18, 2026 at 7:30 am

    You can take a JavaScript array and convert it into a string and it will work if you decode it on the server side of KRL.

    Example app code => https://gist.github.com/722536

    Example app bookmarklet => http://mikegrace.s3.amazonaws.com/forums/stack-overflow/send-array-to-kns-dev-bookmarklet.html

    ruleset a60x442 {
      meta {
        name "array-passing-test"
        description <<
          array-passing-test
        >>
        author "Mike Grace"
        logging on
      }
    
      rule start_your_engines {
        select when pageview ".*"
        {
          notify("Running","...sending array to KNS") with sticky = true;
          emit <|
            app = KOBJ.get_application("a60x442");
            var numbers = [1,2,3,4,5];
            nums = JSON.stringify(numbers);
            app.raise_event("process_array", {"numbers":nums});
            $K("div.KOBJ_message").append("<br/>"+nums);
          |>;
        }
      }
    
      rule process_array {
        select when web process_array
        foreach event:param("numbers").decode() setting (number)
        {
          notify("number",number) with sticky = true;
        }
      }
    }
    

    Results of running app from bookmarklet on http://example.com/
    results of running app

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a site that will have more than one 'Save' button per
I am working with several large databases (e.g. PISA and NAEP) that use a
I' working on MS CRM 4.0. Is there a possibility to show an overview
Overview: I have an advancedDataGrid that I am using a GroupingCollection on and I
The Overview I am working on a Continuous Integration build of a MFC appliction
I'm building a Rails app that needs to connect to a custom TCP data
Overview: I'm working on some windows service using Visual Basic 2010, which deployed on
Overview: I am working on a project which involves a WCF and multiple types
I am working on a 'print preview' facility to show an overview of a
I am working on web application and using GAE/J blobstore tutorial http://code.google.com/appengine/docs/java/blobstore/overview.html I was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.