Skip to main content
Solved

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


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

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

View original
Did this help you find an answer to your question?

3 replies

birgit
Influencer
Forum|alt.badge.img+16
  • Influencer
  • 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+32
  • Influencer
  • 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
  • July 20, 2022
ebygomm wrote:

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...


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings