org-scn-design-studio-community / lumiradesignercommunityext

Lumira Designer SCN Community Extensions
Apache License 2.0
3 stars 2 forks source link

KPI Tile enhancment #30

Open alexdc128 opened 6 years ago

alexdc128 commented 6 years ago

Can the KPI Tile be enhanced so that data values can be bound as per the KPI View component? Currently i have to script these values as follows KPITILE_1.setPropertyValue("VALUE/text", OTD.getDataAsString("00O2TLYG7CK2WJP34H6H11DRA",{ "0FISCPER":"(RESULT_MEMBER)" }) + "%");

Or maybe update the KPI View component to UI5? Thanks

MartinPankraz commented 6 years ago

Hey Alex,

That can definitely be done. Feel free to join the effort and propose a solution.

Kind regards Martin

alexdc128 commented 6 years ago

Hi Martin I wouldn't know where to start! i did install the SDK and take a look at it before but never went much further than that!

MartinPankraz commented 6 years ago

I see. Than you should have a look at the new composite feature, which was delivered with Lumira Designer 2.x. There you can design your KPI tile as you see fit on the designer itself without the need for the SDK.

Kind regards Martin

alexdc128 commented 6 years ago

Currently I'm working in Lumira 2.1 in Legacy mode, we don't use Lumira so didn't see any real value in going over to Lumira documents, i guess there is some benefit!

alexdc128 commented 6 years ago

Martin I am lookin at opening up the source code for the SCN componets in Eclipse but am having trouble actually finding the source folders, i am expecting something with the same structure as the SDK examples, am i doing something wrong? I want to cross reference the the two tiles to see if i can figure out how to make the value databound so would prefer an offline copy of the repository

MartinPankraz commented 6 years ago

Hi Alex,

Yes there are two repositorys. This one is for deployment of the packaged jar files only. You need to clone this.

Kind regards Martin

alexdc128 commented 6 years ago

Thanks Martin, I'll take a look and see if i can figure out what needs to be changed :)

alexdc128 commented 6 years ago

Got them now Martin, So it seems there is already a KPI Tile in the databound components, i guess i cant see it because its not UI5 compatible?

alexdc128 commented 6 years ago

is it just a case of the CSS file needing to be copied from the visualisations KPI Tile to the databound one?