-
Use of EMA ChannelSet
How can we use the different ADS servers at the same time for our 11 OmmConsumers ? Can using EMA ChannelSet reduce the Stale status (DataStream=”Suspect” and StreamState=”Open”) when using ema-API ? If so, do you have an example of a simple config.xml ? The example of EmaConfigTest.xml…
-
Getting 401 response code when consuming World Check One APIs on ReactJS Frontend and also on Node/
Hi, I am using a demo account for World Check One APIs. I needed to consume a few APIs and display information on the Frontend (ReactJs). Can understand that due to browser's CORS policy was getting 401 response code on the Frontend but I tried consuming the API on a Node/ Express backend environment and still getting the…
-
Storing application configuration/options. Database, xml file, json file?
Hi all. I'm looking in to the best way to store user configuration/options for my companies applications. I'm leaning towards just storing options in a JSON file, but I'm very naive on the topic and am interested in any informed opinions as to what actually makes sense. applinked.me I really appreciate any advice. Cheers!
-
Ng-View is not displaying data in AngularJS Routing
I am learning Angular JS. I am trying to learn single page application but ng-view is not showing any data. There is no error in the console. Main Home Page: <!DOCTYPE html> <html ng-app="RouteApp"> <head> <meta charset="utf-8" /> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>…
-
Updating Failed. Invalid JSON body passed with WordPress Version: 5.5.1
I am facing an issue when I am updating my posts. “Updating Failed. Invalid JSON body passed.” Tried changing permalink and deactivating different plugins, but the problem is still there. Problem Screenshot: https://imgur.com/a/8xDjE4C WordPress Version: 5.5.1 Theme: Newspaper V 10.3.6.1 Website:…
-
Help! I need to understand how to make a clientside automation using websockets
Hello, So I need to make an automation (bot) that basically stays on a page until an "item" is available and then take it. This I have already made a bot for but its just using selenium. But I have seen and talked to people that made a bot on C# or JS using the websocket of the site, which allows them to make real time…
-
JET SDK: Retrieving News
Hi, I am a developer for a App Studio Application that utilizes JET API v2.0.12. I am utilizing React on the front-end. I am attempting to retrieve all news related to a particular stock. This means I most likely would have to provide the RIC as an argument to a function, but I am unsure as to what function I would have to…
-
Elektron WebSocket API: Secure WebSocket (wss)
Is there any guidance on how do use Secure Websockets (wss) with the WebSocket API? I'm developing a web application that uses the WebSocket API, but I can't establish a connection because you have to use 'wss' when an application is secured by HTTPS. I viewed this question from 2017 and it mentions an SSL Accelerator, but…
-
How to make side menu work as accordion when click category display sub categories?
I work on angular 7 app I face Issue I can't make left side menu work as accordion . meaning I need when open component report category on load display all categories for all reports then when user select specific category then it will display sub category reports related by collapse it so in stackbliz already display data…
-
Status code 401 - unauthorized / token expired
I am trying to access the /search/beta1 in the Elektron Data Platform for a small proof of concept I am building. I've generated the app key and am including it in the Authorization header in the request. However, when I go to fetch from my front-end, I am being returned an error object that looks like so: { code: "401",…
-
Very basic question of how to get the API data by Javascript.
I'll ask very basic question. Are there any way to call the API to get the following data with Javascript? ・Announcement date ・Title ・Impact ・Previous results ・Forecast I've searched inquiry form and I only found the python's approach. If so, are there any references or sample source code.
-
1. Is there a Reuters API which delivers historical intraday data back in JSON format 2. How far b
1. Is there a Reuters API which delivers historical intraday data back in JSON format 2. How far back does the intraday data go 3. What is the price for this service. Thank-you
-
How to make html POST to IDS
Background. I have IDS server running on host padh4, port 8500. I want to request a snapshot from IDS, and filter FIDs BID and ASK. The following works ok from the command line: COMMAND: curl "http://padh4:8500/ids-rest/json/quote/" -d '{"item": ["CSCO.O"],"filter": ["BID","ASK","TRDPRC_1"],"service": "IDN_RDF","token":…
-
JET SDK open line chart
Hello Support, We are the developers for an App Studio App called SC Intelligent Insights. We have a request to open the chart in line chart pattern and not candlestick chart pattern, We are using below code to open a chart: JET.navigate({ name: "Graph", entities: [{ RIC, }] }); Please let us know if this is possible.…
-
onLinked/onUnlinked events not triggering
Hi, I'm having issues with the onLinked/onUnlinked events triggering. I have developed my app to listen for the events and it works fine in the development environment using localhost, however as soon as I run in production, those events no longer trigger. For testing I just deploy the same code as development with no…
-
How to embed Graph in the chart div, see the sample code below
We are trying to create an Graph using JET API. Now the Graph is displayed in a new popup. We want to embed the Graph with in our application layout. So in our code, i want to embed the code inside the div. <div id="chart"></div> Sample code <script> JET.init({ ID: "JETSample", Title: "JET - Getting Started" });…
-
Calling web api from javascript always leads to failure
function opening(event, nodes, node) { alert("opening"); $.ajax({ url: 'https://permid.org/1-5000617737?format=json-ld', type: "GET", contentType: "application/json; charset=utf-8", dataType: "json", success: function (data, textStatus, xhr) { alert('success'); }, error: function (xhr,textStatus, errorThrown) {…
-
Is it possible to customize JavaScript Alert in EIKON Container?
Hi Team, Any JavaScript alert in EIKON displays JavaScript Alert in the Title bar. Is it possible to remove that from Title bar/ provide custom tags in Title bar? Also if the alert content is larger, it is not displayed properly in the Alert box. The alert box is of fixed size. Is it possible to increase the size of the…
-
Javascript (JS) code sample example for PermID Open Calais, please.
Hello I can make an entity search request just fine by navigating to this... https://api.thomsonreuters.com/permid/search?q=TRI&access-token=MY_ACCESS_TOKEN ...which displays some nice JSON in my browser. Question is, how to I make this request programmatically using client-side javascript? <script…
-
How do I retrieve fundamental and reference data from the Data Cloud with JET?
Real-time data is covered by JET.Quotes: JET.Quotes.create() .rics(".SPX") .formattedFields("CF_LAST") .onUpdate(onUpdate) .start(); What would be the equivalent request for fundamental and reference data, please? E.g. in Eikon for Office terminology, something like TR.Revenue, or to take a parameterized example,…
-
Can options be set in News.js to obtain Global news for private cos? For eg. i want to search for re
Can options be set in News.js to obtain Global news for private cos? For eg. i want to search for related Global news for MyRepublic and have it downloaded through the app studio
-
how to copy cell text in ng-grid in javascript
I am using ng-grid in my angular application and wanted to know if user can copy text shown in cell. Like, if we are showing SQL query in one column and user wanted to copy that query. I appreciate your response, thanks
-
JET.onContextChange event never fires
Is it just me or does the JET.onContextChange event actually fire? I cannot see it fire in the Last Price Monitor sample app or a bare-bones app of my own.
-
Browser Compatibility /Support for Newer Versions(chrom/Firefox)
Hi All, I would like to support newer browser like chrome,firefox,opera etc for my application.My application currently works well with IE8. How can I add support for newer versions.Is there any javascript bundle that is readily available and we can use by including tags like <!--[if !IE]><!--> <script src="--JS Bundle for…
-
Enumerate DaPS items right after saving will not return the just saved item
I am using DaPS to save and load items for a screener in one of our Eikon WebApps. A problem I am encountering is that after I make a successful call to save an item on DaPS, I then call DaPS again "Enumerate" to retrieve a fresh list of items including the one I just saved. I get back the list and my item that I just…
-
Trouble with PUT from javascript to Website
Hi All, We are trying to do a PUT call from javascript (Foldering) to call WFBWebsite. We are getting a 403 not allowed. The issue is happening running javascript and Website locally. Thank you! Here is the request with the headers: PUT /V1/Contacts/Autosuggest/Cache HTTP/1.0 Host: 10.194.189.125.ip.forms.demo.westlaw.com…
-
Solution to JavaScript's 0.1 + 0.2 = 0.30000000000000004 problem?
*(cross posted from a The Hub [discussion][1])* Open your JavaScript console and try this > 0.1 + 0.2 == 0.3 false > 0.1 + 0.2 0.30000000000000004 You may ask yourself [Is floating point math broken?][2]. The answer is that JavaScript uses floating point math based on the [IEEE 754 standard][3], same as the Java's double.…
-
[Unified Data Framework (UDF)] Why the Prod URL cannot be accessed by the TR-Internal Eikon Account
Hi, This question is regarding the [UDF]( https://thehub.thomsonreuters.com/groups/eikon-unified-data-access-layer "Unified Data Framework (UDF)") service. The UDF service is accessed on my Eikon Web App(front-end) through JavaScript now. Does anyone know why the URL "…
-
[JET API or JavaScript] How to check Eikon access permisson?
Hi, Is there a way to check whether a specified user has the access permisson on a specified RIC/Chain (e.g. 0005.HK or .SQUOTA.HS) through JET API or JavaScript? Thanks, Bo
-
Where to download the JavaScript library trwebchart.js?
Hi, Does anyone know where to download the JavaScript library trwebchart.js? And where can I find the API document for trwebchart.js? Thanks a lot in advance. Bo
-
How to create Flex documents from templates through JET api?
Hello, Is there a way (like JET.navigate) to open the Flex documents with some customized parameters through JET api? Thanks a lot in advance, Bo
-
[JET.Quotes.create] Why the feedName parameter does not work for chain?
Hello, As I verified, the feedName parameter works for rics but not for chain. Does anyone know the reason? JET.Quotes.create() .feedName('F') .chain("0#.SSEC") .formattedFields("TRDPRC_1") .onUpdate(function(subscription, ric, updatedValues){ console.log(ric); }) .start(); The results are always the same whatever the…
-
How to fetch data from SIT/CDIT through JET API?
Hello, It seems that the JET API only can fetch data from the default source. Is there a way to specify a source(e.g. SIT, CDIT) when subscribing chain/RIC's update? Thanks, Bo
-
How to get full data image immediately when there is no update on the specified chain or RIC?
Hello, As I known, JET.Quotes can subscribe updates from chain or RIC, but how to get the initial data through JET? For example, how to get the initial value of the RIC ".DJI" immediately when there is no update on it? Thanks a lot in advance. Bo
-
Can JET API fetch the Elektron Only data?
Hello, I have two questions: 1. Can JET API fetch the Elektron Only data? 2. Can JET API fetch other domain data in Elektron, such as MARKET_BY_PRICE and MARKET_BY_ORDER? Many thanks in advance. Bo
-
Unfolding RIC chain via JET Api
Hello, What is the best way to unfold RIC chains for HTML5/js app? From documentation I learned that it's possible to pass chain to JET Quotes object and it works still there are several problems: - It's impossible to pass more than one chain to Quotes object. Obvious method chaining like…
-
JavaScript and/or AngularJS style guides?
Ran across a link to [Angular Style Guide | John Papa][1] today via a [tweet][2]. I took a read through John Papa's opinionated style guide (j[ohnpapa/angularjs-styleguide · GitHub][3]) as well as one by Todd Motto ([toddmotto/angularjs-styleguide · GitHub][4]). What style guides are in place for larger Javascript /…
-
Javascript: Window.Open() does not open a network location on FF and Chrome.
Hi All, I'm currently facing an issue where I'm not able to open a network address using firefox and chrome. Sample Code below: Click the button to open a new browser window. Try it link out Thanks Sandeep
-
Javascript/CSS version folder
In cobalt, the static content folders are appended with version numbers (e.g. j1.next.demo.westlaw.com/StaticContent_24.0.61) as can be seen on the routing pages. In CMDB however, JavaScript and CSS are simply pointed at the hostname without the folder path. How does website (I assume) set up this version path correctly…
-
Routing/Debugging WLN iPad or iPad emulator to local Static Content
Has anyone had any luck routing either the WLN iPad or iPad emulator (ipad rendering mode) to their local Static Content? Ideally I'd like to have success with the emulator, as I'm trying to debug some problematic javascript and am not aware of any way to do so on an actual iPad. This is the only wiki that I have found…