How to set a specific date format in the custom field of an attestation procedure

I need some help to solve a simple (hopefully )  problem: my client want to set a custom field (property 1 template) of an attestation procedure with a specific format DateTime. How is this possible?

Let’s say for example we need to display the XDateInserted. In that case, I insert $XDateInserted:Date$ and the value is displayed. But I need to display that value in "yyyy-MM-dd" format.

How can I do that?

 

Thank all of you in advance

Alberto

Parents Reply
  • Hi Alberto,

    we hear you. That's why the next version of OneIM (next major or minor release, not service pack) will support the following:

    $<Definition>:<Typ>{<Format>}$

    {<Format>} will be optional and if it is specified, the resulting type will be a String and not the type specified.

    <Format> are the format-strings supported by the type.

    So:

    $XDateInserted:Date{yyyy-MM-dd}$

    would give something like "2021-04-23"

    HtH

Children