Select to view content in your preferred language

Geoprocessing Widget Output and Date fields?

1296
1
05-07-2012 03:07 PM
ChrisNorth
Esri Contributor
Greetings.  I am using the GP Widget in version 2.5 to insert records into a feature class. All works well.  As a confirmation, I am returning a recordset of the attributes and that is displayed on the output of the GP wizard as a table.  This too works fine.

The issue is one of the fields is a DATE field.  The correct date is being inserted, but in the data grid, the date integer code is being used.  I looked in the "GPOutputRecordSetParamItemRenderer.mxml" but there is no obvious spot to apply a date formatting to the returned value.

Is there a way to apply proper date formatting to date values in the outpur recordset in the GP widget?

Thanks,
Chris
Tags (2)
0 Kudos
1 Reply
AndrewRadford
Emerging Contributor
Greetings.  I am using the GP Widget in version 2.5 to insert records into a feature class. All works well.  As a confirmation, I am returning a recordset of the attributes and that is displayed on the output of the GP wizard as a table.  This too works fine.

The issue is one of the fields is a DATE field.  The correct date is being inserted, but in the data grid, the date integer code is being used.  I looked in the "GPOutputRecordSetParamItemRenderer.mxml" but there is no obvious spot to apply a date formatting to the returned value.

Is there a way to apply proper date formatting to date values in the outpur recordset in the GP widget?

Thanks,
Chris


Chris Did you ever find a solution to this I am having the same issue and cannot change the date formatting.

Thanks,
Andrew
0 Kudos