SIL, access to HTTP Feed Custom Field value

Bartłomiej F. Tajchman October 14, 2019

Hello,

I have a problem with proper use HTTP Feed Custom Field (cPrime add-on). I have "JSON Request custom field" and it works fine, I can see filled dropdown list. But how can I get value of that field in my SIL script?

string result = %key%.customfield_10001;

doesn't work, I get "Exception while executing SIL program >>null<<: [SIL Error on line: 5, column: 18] com.keplerrominfo.common.util.MutableDouble cannot be cast to com.keplerrominfo.common.util.MutableString".

What is correct way to get value from this field?

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2020

Hello @Bartłomiej F_ Tajchman ,

Thank you for question!

I can see two options:

1. You can use Cprime app available here:

https://confluence.cprime.io/display/SIL/SIL+support+for+nFeed+plugin.

Go to the Binaries and Sources part.

2. You can use SIL Groovy Connector to select the values of the NFeed Custom field by groovy and then use this value in your SIL script:

https://marketplace.atlassian.com/apps/1220177/sil-groovy-connector?hosting=server&tab=overview

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events