Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Notes:

  1. remove the ObjectId filed from the writer;, select the truncate first;

  2. double check the layer name and sub-layer name are matching with the portal feature service;

1.       When creating a new ESRI Portal Feature Service, ensure all output attributes can accommodate the maximum Width of strings it is supposed to populate. In general, a value of 200 is sufficient. However, very often attributes such as Title, Description, Remark etc. might have longer strings which requires width between 200-2048. Adjust it as desired.

2.       Create a unique ID (uid) for each record using CRC Generator. Set the width to 2048.

3.       All Date related fields must go through DateTimeCoverter or generated using DateTimeStamper to ensure compatibility.    

4.       Ensure all geometries all validated for integrity using the GeometryValidator with Basic Integrity.   

5.       Prior to output, filter geometry type, polygon, line and point and connect to the appropriate output port to avoid getting invalid features type.

Notes:

  • In create, you can only use Insert mode. The update can be insert, update or delete.

  • ​ In create, if you don't delete the original Feature Service, the output accumulates. (1 liked)

There will be a lots of limitations for the writer updating operations in the FMW, here are some examples and solutions:

Problem 1

Can’t change java date string to ArcGis date field

Solution

Add transformer DateTimeConverter to change the date

  1. @DateTimeFormat(@DateTimeNow(), %Y-%m-%d)

  2. Problem 1

Problem 2

ArcGIS Portal Feature Service Writer: Encountered an unexpected error. The error code from the server was '500' and the message was: 'JSONObject["globalId"] not found.'. Details: ''

Solution 2

  1. when creating writer of the feature layer, please use the Global id

Problem 3

Add CRCCalculator transformer if the source data has no real unique id

Solution 3

  • No labels