{"action":"created","issue":{"url":"https://api.github.com/repos/campsych/concerto-platform/issues/87","repository_url":"https://api.github.com/repos/campsych/concerto-platform","labels_url":"https://api.github.com/repos/campsych/concerto-platform/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/campsych/concerto-platform/issues/87/comments","events_url":"https://api.github.com/repos/campsych/concerto-platform/issues/87/events","html_url":"https://github.com/campsych/concerto-platform/issues/87","id":198991164,"number":87,"title":"Inserting Variables in Info Node","user":{"login":"aboukhary","id":17113039,"avatar_url":"https://avatars.githubusercontent.com/u/17113039?v=3","gravatar_id":"","url":"https://api.github.com/users/aboukhary","html_url":"https://github.com/aboukhary","followers_url":"https://api.github.com/users/aboukhary/followers","following_url":"https://api.github.com/users/aboukhary/following{/other_user}","gists_url":"https://api.github.com/users/aboukhary/gists{/gist_id}","starred_url":"https://api.github.com/users/aboukhary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboukhary/subscriptions","organizations_url":"https://api.github.com/users/aboukhary/orgs","repos_url":"https://api.github.com/users/aboukhary/repos","events_url":"https://api.github.com/users/aboukhary/events{/privacy}","received_events_url":"https://api.github.com/users/aboukhary/received_events","type":"User","site_admin":false},"labels":[{"id":351180426,"url":"https://api.github.com/repos/campsych/concerto-platform/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"przemyslawlis","id":6590627,"avatar_url":"https://avatars.githubusercontent.com/u/6590627?v=3","gravatar_id":"","url":"https://api.github.com/users/przemyslawlis","html_url":"https://github.com/przemyslawlis","followers_url":"https://api.github.com/users/przemyslawlis/followers","following_url":"https://api.github.com/users/przemyslawlis/following{/other_user}","gists_url":"https://api.github.com/users/przemyslawlis/gists{/gist_id}","starred_url":"https://api.github.com/users/przemyslawlis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemyslawlis/subscriptions","organizations_url":"https://api.github.com/users/przemyslawlis/orgs","repos_url":"https://api.github.com/users/przemyslawlis/repos","events_url":"https://api.github.com/users/przemyslawlis/events{/privacy}","received_events_url":"https://api.github.com/users/przemyslawlis/received_events","type":"User","site_admin":false},"assignees":[{"login":"przemyslawlis","id":6590627,"avatar_url":"https://avatars.githubusercontent.com/u/6590627?v=3","gravatar_id":"","url":"https://api.github.com/users/przemyslawlis","html_url":"https://github.com/przemyslawlis","followers_url":"https://api.github.com/users/przemyslawlis/followers","following_url":"https://api.github.com/users/przemyslawlis/following{/other_user}","gists_url":"https://api.github.com/users/przemyslawlis/gists{/gist_id}","starred_url":"https://api.github.com/users/przemyslawlis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemyslawlis/subscriptions","organizations_url":"https://api.github.com/users/przemyslawlis/orgs","repos_url":"https://api.github.com/users/przemyslawlis/repos","events_url":"https://api.github.com/users/przemyslawlis/events{/privacy}","received_events_url":"https://api.github.com/users/przemyslawlis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-01-05T16:03:58Z","updated_at":"2017-01-16T18:02:29Z","closed_at":"2017-01-16T18:02:29Z","body":"I have extracted a linear test results from default_data_table and posted the results into a new variable called results_var using R code node. \r\n\r\nNow I would like to pass this variable to the info page to display results, I am not sure how the inserts are managed in this case. Can you please elaborate on this?\r\n\r\nAlso I need to embed some HTML, CSS and JS code to display results visually, what is the most effective way to reach this objective?"},"comment":{"url":"https://api.github.com/repos/campsych/concerto-platform/issues/comments/272928221","html_url":"https://github.com/campsych/concerto-platform/issues/87#issuecomment-272928221","issue_url":"https://api.github.com/repos/campsych/concerto-platform/issues/87","id":272928221,"user":{"login":"przemyslawlis","id":6590627,"avatar_url":"https://avatars.githubusercontent.com/u/6590627?v=3","gravatar_id":"","url":"https://api.github.com/users/przemyslawlis","html_url":"https://github.com/przemyslawlis","followers_url":"https://api.github.com/users/przemyslawlis/followers","following_url":"https://api.github.com/users/przemyslawlis/following{/other_user}","gists_url":"https://api.github.com/users/przemyslawlis/gists{/gist_id}","starred_url":"https://api.github.com/users/przemyslawlis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemyslawlis/subscriptions","organizations_url":"https://api.github.com/users/przemyslawlis/orgs","repos_url":"https://api.github.com/users/przemyslawlis/repos","events_url":"https://api.github.com/users/przemyslawlis/events{/privacy}","received_events_url":"https://api.github.com/users/przemyslawlis/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T18:02:29Z","updated_at":"2017-01-16T18:02:29Z","body":"You can pass any variables to your **info** page through **inserts** parameter. It accepts key-value pairs list type, so, for example, if you want to pass two variable **first_name** and **last_name** to your info page  **content** here, your **content** could be a string with following value:\r\n\r\n<pre>Welcome {{first_name}} {{last_name}}! Nice to meet you!</pre>\r\n\r\n... and your **inserts** param could have a value of:\r\n\r\n<pre>list(first_name=\"me\",last_name=\"myself\")</pre>\r\n\r\nYou can insert any HTML, CSS, JS this way."}}
{"actor":{"display_login":"przemyslawlis"}}