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

  • SEARCH
  • Home
  • 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 am currently working on a project with specific requirements. A brief overview of
Overview: I have an array of 20 byte strings that needs to be stored
I want to get an overview of files that are updated in TFS (that
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
I am working on a 'print preview' facility to show an overview of a
Giving a quick overview of my situation: I am working on an N-Tier app
I am working on a webbased system where users will click through a lot
http://churchsafeplan.com/overview.php?content=0201#intro For some strange, strange reason, the function accordian is not working. Seems as
I'm trying to mock the action overview of a Controller, but it isn't working.

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.