btcTransmuter icon indicating copy to clipboard operation
btcTransmuter copied to clipboard

Create easier way to use the string templates in the options

Open Kukks opened this issue 5 years ago • 2 comments

Typing {{TriggerData.xxxx.yyyy}} manually is not intuitive. This is a good place to start introducing some JS

Kukks avatar Apr 26 '19 21:04 Kukks

Is it possible to access individual properties on the PosData {{TriggerData.XXX}}? I could not do it with the HTML editor using {{TriggerData.Invoice.PosData}}

britttttk avatar Dec 24 '19 08:12 britttttk

I enhanced the template engine in the last release but also removed the feature you wanted(you could do {{JsonFunc(TriggerData.Invoice.PosData) }}) because it was very hacky.

In the next version you can use {{JsonConvert.Deseriliaze(TriggerData.Invoice.PosData) }}

Kukks avatar Dec 24 '19 09:12 Kukks