Skip to Content
avatar image
Former Member

How to call formatter from uxap block

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 24, 2017 at 10:49 AM

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

    Add comment
    10|10000 characters needed characters exceeded