How do we display data from a smart action object function on the Oracle Sales in the Redwood User Experience pages?

If you're displaying data from a web service, then call the object function by connecting it to a Service Data Provider (SDP ) variable type. You can then use this variable in the UI code to reference the field values. You can't use a smart action object function for this because smart action object functions are headless actions, which can't be used to display data in the Redwood UI.

For more information on Service Data Provider see the topic: Service Data Provider and related content in the Developing Applications with Oracle Visual Builder guide.