Forum Discussion
FICO
16 years agoCommunity Manager
Display the SRL code in the 'Display Format' section
Display the SRL code in the 'Display Format' section Hi All, I was wondering whether its possible to show the SRL code being generated to the RMA user. In my generic template, I can see the code i...
FICO
16 years agoCommunity Manager
Well, I don't think you will be able to send the entire SRL. That's why I suggested duplicating the content section in the display section. Passing individual values from value holders isn't that difficult, though.
That said, you could try to write a custom provider that loads the current file using the RMA/PROM API, locates the current file/ruleset, and then use the PROM API methods to extract the content. I haven't tried this, though, so I can't tell you it will work. Relevant references to the innovator API are:
- com.blazesoft.template.repository.NdPromProject
- com.blazesoft.template.repository.NdPromItem
- com.blazesoft.template.repository.NdPromItemContent
- com.blazesoft.template.repository.objects.rules.NdPromSrlRuleset
- com.blazesoft.template.repository.objects.rules.NdPromSrlRulesetItem
- com.blazesoft.template.repository.objects.rules.NdPromSrlRule#getPromSrlRuleBody
Good luck :-)
Jostein