Gravatar for

Question by ybussieres, Mar 2, 2016 5:01 PM

Modifying Date Format, SFpkg V1, Insight Panel

My goal here is to modify the Date Format for the Insight panel, like it is possible to do for the Full search for SFPkg1. I had the confirmation it was not possible using the fields date, so we tried with the Advanced content box.

We would like to be able to keep only YYYY-MM for the raw.sysdate.

Here : 6.C.

We though we would be able to join the value sysyear and sysmonth and join them. Apparently not, nothing is returned for those values.

alt text

Another solution would be to write some code (Directly in the advanced Code box) to transform the EPOCH value for @sysdate into the wanted value, but I was not able to achieve this.

Do you know if what we want to achieve is possible directly from the Interface editor ?

1 Reply
Gravatar for

Answer by atheriault2, Mar 4, 2016 10:13 AM

Hi Yan,

Unfortunately this is not supported with your version. To achieve that, you can bind some JS code to the "newResultDisplayed" event and replace the date value using code of your own or a lib (like Moment.js) depending on your needs.

Hope this helps,


Ask a question