custom TimelinePageSetting

hello community,



in the Account section page, i'm trying to change the display of some timeline tiles (the Order one for example). I can hide some fields i don't need by modifiying the TimelineTileSetting data ('0ef5bd15-f3d3-4673-8af7-f2e61bc44cf0' for Order).



Fine, but if i also want to add new fields in the tile : i then added my own UsrTimelineItemViewModel and UsrTimelineItemView for that.

Then i added a corresponding TimelineTileSetting and finally changed TimelinePageSetting to make it match .

 

Unfortunately, i can't make it to work. The displayed tile keep to be the old one,

it's like the updated TimelinePageSetting is not read by the system.

No matter what i do, logging out, clear cache...

 

What am i missing, please ?

 

best regards.

Patrice

Like 0

Like

2 comments

Dear Patrice,

 

Try to follow this guide on how to add a custom object to the timeline

https://academy.creatio.com/documents/technic-sdk/7-13/timeline-tab

 

Regards,

Dean

Hello Dean,

thanks for the answer.

In my case, i use 7-17 so i went to https://academy.creatio.com/documents/technic-sdk/7-16/introduction-17



So in AccountPageV2's TimelinePageSetting, i changed the original data, from 

          {

            "entityConfigKey": "0ef5bd15-f3d3-4673-8af7-f2e61bc44cf0",

            "entitySchemaName": "Order",

            "referenceColumnName": "Account",

            "masterRecordColumnName": "Id"

          },

to

          {

            "entityConfigKey": "9843b156-452f-463c-8cb6-7e9b3e3d5499",

            "entitySchemaName": "Order",

            "referenceColumnName": "Account",

            "masterRecordColumnName": "Id"

          },



which hold my new TimelineTileSetting Id.

is it not supposed to work like that ?



am i supposed to add a whole new TimelinePageSetting for my AccountPageV2 section like described in documentation ? or can i modify the existing one ?



Regards,

Patrice

Show all comments