cancel
Showing results for 
Search instead for 
Did you mean: 

How to call formatter from uxap block

Former Member
0 Kudos

Hi experts,

I am writing a new SAPUI5 application using the uxap object page library. How can we call a formatter function from within a block? I always get the error 'formatter function ... not found!'.

When I call the formatter function from the object page view itself it works, but when I call it from within a block it does not. Any ideas how to reach the formatter function from within a block? I already added a dedicated block controller

I use the syntax from the developer guide: https://openui5.hana.ondemand.com/#docs/guide/0f8626ed7b7542ffaa44601828db20de.html

So this works when I put my formatter in the object page view but not when I push it down to the block view.

Thanks in advance!

KR,

Bjorn

Accepted Solutions (0)

Answers (1)

Answers (1)

karthikarjun
Active Contributor
0 Kudos

can you share your sample code in http://plnkr.co, please?