Hi,
we have requirement where we need to embed image in excel.We tried to use Embed Image into Excel smart service in 19.4 and getting below error:
Exception: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 43
following JSON string is passed as a input to smart service
{"width":1000,"padding":3,"imageAnchors":{"col1":2,"row1":2,"col2":3,"row2":3},"imageDocument":{"imageDocumentID":311790,"sizePercentage":80}}
Has any one used Embed Image into Excel smart service or any other smart service to achieve this ?
Discussion posts and replies are publicly visible
Can you post the entire expression rule / expression function you're trying to use to call this smart service? Including how you're forming your JSON string exactly, as well as how you're calling the embedImagesInExcel() function. For pasting code here I recommend using a code box, by using the Insert -> Insert Code functionality in the comment menu here.