Temenos Digital
R24 AMR | Min(s) read

Dashboard Top News Card

Dashboard Top News Card component is a contractual component that helps you to view the top four market news on the Dashboard.

Namespace

com.konyolb.wealth.marketNewsCardComp 

Contract Definition

Contracts are used to customize behavior, user experience, and manipulate the data or object of a component. Contracts are made available by exposing properties, methods, and events.

  • Properties: Used to define the behavior of the component.
  • Methods: Form or other components can use these methods to interact with the component.
  • Events: Events are generated on the component. Implementation teams can define business logic to configure the execution of events.
  • Context: Specifies the contextual object that is passed to the component.

Properties

Properties

Programmatic Name

Quantum Type

Temenos Digital Type

 

Default Value

Object Service Name

Object Service

String

String

WealthObjects

Object Name

Object Name

String

String

MarketNews

Operation Name

Operation

String

String

getTopMarketNews

Status of View All Button

Status of View All Button

List

List

Visible/hidden

Header label

Header Label

String

String

Top News

Heading Skin

Heading Skin

String

String

sknflxf9f9f9radius2px

Methods

Methods

Parameter

Description

getCriteria

criteria, marketIndexPermission, marketNewsViewDetails

Gets request object (criteria) and permissions (marketIndexPermission, marketNewsViewDetails), and passes into the component. It is an exposed function.

makeDaoCallMarketIndexCard

 

Gets market indexes list from the service.

onServiceSuccess

response

The success function is run when the service call is successful.

onError

errorObj

An error function is run when the service call fails. It hides the inner content and displays a No results message.

displayResults

response

It is a function to loop through the response from service and populate the segment with data.

setDataMarket

newsDetails

It is a function that interprets the data and reformats it.

setViewAllBtn

 

It displays the View All button based on the page that used the component.

Events

Events

Parameter

Description

ViewAllMarketNews

 

It is an event that runs at click of the View All button to navigate to the All News page.

Copyright © 2020- Temenos Headquarters SA

Published on :
Thursday, May 30, 2024 11:38:32 AM IST