Solved

Date format on Additional attributes - PSO

  • 11 March 2022
  • 1 reply
  • 127 views

Userlevel 2
Badge +7
  • Do Gooder (Customer)
  • 10 replies

Hi,

We are currently using the Additional Attributes in the FSM-PSO integration, in FSM6. We are transferring some date fields from FSM and PSO, but these are not treated as date fields in PSO. When sorting on these columns, it is sorted as this:

 

Is there any way to format these fields to a date field? I have seen the documentation, which only suggests formating of numbers, which won’t help us in this case.

icon

Best answer by Ruchira Jayasinghe 11 March 2022, 16:05

View original

This topic has been closed for comments

1 reply

Userlevel 5
Badge +7

Dear Sinyb,

 

The additional attributes you sent from FSM to PSO will transfer as XMLs as same as other inputs accepted by PSO. A sample additional attribute node could be found as below.

<Additional_Attribute>
<id>1234</id>
<resource_id>TEST35-D</resource_id>
<label>MPAN</label>
<sequence>1</sequence>
<label_value>G6765Y</label_value>
<data_type>STRING</data_type>
</Additional_Attribute>

The XML attribute “data_type” specifies the data type of the additional attribute.

 

Based on the PSO Schema Guide, allowed values for this attribute are BOOLEAN, INTEGER, DOUBLE, STRING, URL. Therefore, it seems that, the data type “date” is not applicable here.

 

Apart from that, kindly note that these additional attributes are not used in the scheduling and used only for information purposes.

 

Thanks and Regards

Ruchira