Questions tagged [krl]

KRL stands for Kinetic Rule Language. Use this tag for questions regarding KRL applications.

The Kinetic Rule Language was developed by Kynetx and runs on the Kinetic Event Architecture platform. KEA is a cloud-based platform for building real-time, context-aware applications that connect web services across multiple browsers and devices. It is the event layer that glues services like Twilio, Twitter, Google, Facebook, Amazon and others.

KRL is particularly useful for creating Evented systems. KRL is also used for writing Browser Applications. As such, KRL questions frequently overlap with questions about CSS, JavaScript, HTML, and jQuery.

Some places to start:

126 questions
7
votes
2 answers

How would I send an SMS from a Kynetx app?

How would I send an SMS to a user using a Kynetx App and Twilio?
Jessie A. Morris
  • 2,267
  • 21
  • 23
6
votes
1 answer

Iterating over an array in a function

For my Google Docs spreadsheet module, I'd like a function to be able to accept an array of values and iterate over them, adding them to a hash. The spreadsheet submission form wants values in a format like this: {"entry.0.single": value0, …
Steve Nay
  • 2,819
  • 1
  • 30
  • 41
5
votes
3 answers

remove J and K key events on twitter.com

I built a browser extension that extends twitter.com. It opens a jQuery UI modal window, and has some text inputs. When I type in those inputs, it works, except for the J and K keys. Those keys are part of some custom Twitter event (scrolling…
frosty
  • 21,036
  • 7
  • 52
  • 74
5
votes
1 answer

Raising an event in another ruleset

I'm collaborating on a large Kynetx app with another developer. To make it easier to split up the work, I'd like to have multiple rulesets so we can work on them separately without stepping on each other's toes. Is there a way to raise an event…
Steve Nay
  • 2,819
  • 1
  • 30
  • 41
5
votes
2 answers

KRL: can I send an email with email:forward()?

I'm trying to send an email from my Kynetx extension. As a test run, I set up this rule: rule first_rule { select when pageview ".*" email:forward() with to = "me@example.com" and message = "Testing Kynetx Mail" and …
Jed
  • 703
  • 6
  • 13
5
votes
1 answer

How do I use multiple Kynetx apps in a single phone call with Twilio?

I want to be able to use multiple Kynetx apps (rulesets) in a single phone call. Say the first app is a phone menu, and the second app provides the functionality for the menu option. How do I redirect from one to the other?
TelegramSam
  • 2,770
  • 1
  • 17
  • 22
4
votes
1 answer

Generating a GUID/UUID in KRL

Is there a built-in function in KRL for generating a GUID of UUID (or something similar)?
Steve Nay
  • 2,819
  • 1
  • 30
  • 41
4
votes
2 answers

Debugging with KBX extension : how to avoid having to deploy at every code modification?

I am currently debugging my apps so they can run with the KBX extension. KBX extension runs the last deployed version so everytime I change some code in the appbuilder I need to redeploy to see the changes. Could the Kynetx team give us a modified…
Loic Devaux
  • 316
  • 2
  • 9
4
votes
2 answers

Why aren't Kynetx browser apps available on addons.mozilla.org or chrome.google.com/extensions?

Is there any restriction on publishing Kynetx browser apps on addons.mozilla.org or chrome.google.com/extensions that explains why there are no kynetx apps available there ? When I search for "Kynetx" I get 0…
Loic Devaux
  • 316
  • 2
  • 9
4
votes
1 answer

Web analytics + KRL =?

What would happen if you used KRL to inject web analytics into various sites using a proxy end point? Is it possible to track multi-site usage with a Kynetx implementation?
drbabcock
  • 43
  • 3
4
votes
1 answer

Responding to a webhook event with raw data

I'd like to write a ruleset that can respond to webhook events with raw data. The event might come in from a URL like the following: http://cs.kobj.net/blue/event/rest/echo/a163x85/?a163x85:kynetx_app_version=dev&body=hi%20there I can use the…
Steve Nay
  • 2,819
  • 1
  • 30
  • 41
4
votes
1 answer

Can I promote an earlier version in the Kynetx Appbuilder?

I changed one of my applications (for April Fools) but I'd like to go back to the previous version and make it the development version. Is there any way to do this in Appbuilder, or do I have to manually undo all the changes I made?
Randall Bohn
  • 2,597
  • 2
  • 16
  • 20
4
votes
1 answer

KRL: using a defaction parameter in an emit block

I tried using a parameter in an emit block within a user defined action like this: my_action = defaction(css_class) { emit <| $K(css_class).append("!!"); |> } but when that runs you see a console message "css_class is not…
Randall Bohn
  • 2,597
  • 2
  • 16
  • 20
4
votes
1 answer

Using jsonPath looking for a string

I'm trying to use jsonPath and the pick function to determine if a rule needs to run or not based on the current domain. A simplified version of what I'm doing is here: global { dataset shopscotchMerchants <-…
trumans1
  • 183
  • 2
  • 10
4
votes
1 answer

raise_event from client not working in dev

I have the following code, and raising the web event doesn't do what it should do. I have disabled all of my extensions to ensure that it isn't something there. Please help. I find it hard to build an app if I can't debug my junk. HELP…
frosty
  • 21,036
  • 7
  • 52
  • 74
1
2 3
8 9