Issue with ESRI ArcGIS Map Component Plugin: Not Displaying Saved Points Upon Retrieval

Certified Associate Developer

Encountering an issue with the ESRI ArcGIS map component plugin. Specifically, I'm utilizing the 'esriMapMarkerField' configuration to mark points, lines, and polygons on the map. Within this configuration, there are fields named 'onNewPointAdded', 'onNewLineAdded', and 'onNewPolygonAdded', which are supposed to trigger and save the new markings added by the user on the map.

However, I'm facing a problem where after adding a point on the map and saving it onto the record type, the next time I attempt to fetch that point, it doesn't appear on the map. It seems like there might be an issue with retrieving and displaying the saved points.

Could someone guide on how to ensure that points added to the map are retrieved and displayed?




  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

     I have successfully resolved the issue with retrieving and displaying saved points using the following expression:




    However, I'm encountering an issue with the ESRI ArcGIS map component plugin while trying to display saved lines. The lines are stored in two related record types:

    1. ArcGIS Line: LineId (PK), Color, Length, Type
    2. ArcGIS Line Path: PathId (PK), Latitude, Longitude, LineId (FK)

    I am using the following expression to query the data:






    To display the line data on the map, I attempted to use this expression:







    However, this results in the pages becoming unresponsive every time I try this. Could someone provide guidance on how to properly retrieve and display line data (with paths for each line separately) on the ESRI ArcGIS map component?

  • try below passed part of your interface  esriMapMarkerField(
    label: "",
    labelPosition: "ABOVE",
    disabled: false,
    validations: {},
    height: "AUTO",
    showWhen: true,
    esriConnectedSystem: ur arcgis system ,
    baseMap: "blue",
    secondaryMap: "dark-gray",
    mapCenter: local!mapCentre, --> which hold ur longitute and latitude
    zoomLevel: local!zoom, --> numeric value
    isReadOnly: true,
    featureLayers: local!featureLayers, --> layers
    onFeatureLayerListChange: null,
    pointData: local!mapPoints, -- > this contain the all result taht you pass from arc gis to appian like form data
    onNewPointAdded: null,
    lineData: null,
    onNewLineAdded: null,
    polygonData: null,
    onNewPolygonAdded: null,
    circleData: null,
    onNewCircleAdded: null,
    featureLayerFieldsWithinGeometry: null,
    maxSelection: null,
    modifyGeometryType: null,
    modifyGeometryColor: true,
    trackCurrentLocation: null,
    onCurrentLocationChange: null,
    onGraphicSelect: null,
    showTableOnLoad: null,
    tableHeight: null,
    searchTableSelectedItemsValue: null,
    searchTableSelectedItemsSaveInto: null,
    tableSearchValue: null,
    tableSearchSaveInto: null,
    showLayerListSelection: null
    )

Reply
  • try below passed part of your interface  esriMapMarkerField(
    label: "",
    labelPosition: "ABOVE",
    disabled: false,
    validations: {},
    height: "AUTO",
    showWhen: true,
    esriConnectedSystem: ur arcgis system ,
    baseMap: "blue",
    secondaryMap: "dark-gray",
    mapCenter: local!mapCentre, --> which hold ur longitute and latitude
    zoomLevel: local!zoom, --> numeric value
    isReadOnly: true,
    featureLayers: local!featureLayers, --> layers
    onFeatureLayerListChange: null,
    pointData: local!mapPoints, -- > this contain the all result taht you pass from arc gis to appian like form data
    onNewPointAdded: null,
    lineData: null,
    onNewLineAdded: null,
    polygonData: null,
    onNewPolygonAdded: null,
    circleData: null,
    onNewCircleAdded: null,
    featureLayerFieldsWithinGeometry: null,
    maxSelection: null,
    modifyGeometryType: null,
    modifyGeometryColor: true,
    trackCurrentLocation: null,
    onCurrentLocationChange: null,
    onGraphicSelect: null,
    showTableOnLoad: null,
    tableHeight: null,
    searchTableSelectedItemsValue: null,
    searchTableSelectedItemsSaveInto: null,
    tableSearchValue: null,
    tableSearchSaveInto: null,
    showLayerListSelection: null
    )

Children
No Data