Skip to main content
Solved

Esri ArcGIS Portal Feature Service Writer - How i have to format date-values?

  • July 20, 2022
  • 3 replies
  • 347 views

resch
Contributor
Forum|alt.badge.img+2
  • Contributor
  • 3 replies

Hello,

 

i have problems to write data with the Esri ArcGIS Portal Feature Service Writer.

The writer is not able to write the date-values into the date-type-attribute.

 

I've did research in the internet and tried a lot of different date-formats but nothing is working.

I've also created a hosted feature layer in Portal for ArcGIS to see how the dates are written when i add features. I cloned that date-format in the workspace but this also failed.

 

Is anyone out there who successfully wrote date-data with the Esri ArcGIS Portal Feature Service Writer or has an approach to solve the problem?

 

I'm using Workbench 2020.2.0.0 (20201027 - Build 20787 - WIN64).

 

Thank you very much!

 

Greetings!

Best answer by ebygomm

It should accept an FME datetime, i think it will fail if you just try and send a date field without a time. I have successfully written into a date field using an ArcGIS Portal Feature Service Writer

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

birgit
Influencer
Forum|alt.badge.img+21
  • Influencer
  • 131 replies
  • July 20, 2022

Hi resch, can you give a list of formats that you have tried? Also have you tried epoch milliseconds? I generally don't use this writer so can't give you writer specific tips. I do however have problems with a feature layer on our portal that will only accept epoch milliseconds and nothing else.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • Best Answer
  • July 20, 2022

It should accept an FME datetime, i think it will fail if you just try and send a date field without a time. I have successfully written into a date field using an ArcGIS Portal Feature Service Writer


resch
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 3 replies
  • July 20, 2022

It should accept an FME datetime, i think it will fail if you just try and send a date field without a time. I have successfully written into a date field using an ArcGIS Portal Feature Service Writer

Thank you ebygomm!

The FME datetime format is the key! 👍

Sometimes solutions are so close...