It's working perfect. I don't know how I'd make it without you, again.
Thank You, again.
Original Message:
Sent: Thu April 18, 2024 11:06 AM
From: Lacey Lurges
Subject: Integration ArcGIs and Maximo Spatial
Hi,
Based on your screenshots, you are using a custom field called IDGIS in the relationship to link the GIS Features with Maximo Assets. This is okay and probably preferable over using the assetnum. If you use assetnum, then you can never unlink the Maximo asset record with the GIS feature since the assetnum is our unique database key. If you would never need to unlink then using assetnum is okay.
If your scenario, you need to add a new Index to the Asset object and then associate that Index as the Alternate Key on the ARCGISASSET Object Structure. After you do this, then after the cron runs, if it finds an Asset record where the relationships is true, it will update that record. If it does not find a record, it will create a new one.
I set up an example where I am using EXTERNALREFID in my relationship. I created a new Index on the Asset table. Note: you most likely cannot enforce uniqueness on this index as there will be null values for Assets that are not linked with GIS features. This is okay, you don't need to enforce uniqueness. After you create the index, run a DB Config. Then go to the Object Structures application, find the ARCGISASSET Object Structure and associate the Alternate Key with the top level object, e.g. ASSET in this scenario.
Note: you should be strategic about using the same field(s) from the Maximo object in every relationship between that Maximo object and any GIS feature classes.


Shout out to @Steven Shull for pointing me in right direction with the Alternate Key to document this.
------------------------------
Lacey Lurges
Original Message:
Sent: Mon April 15, 2024 05:25 AM
From: Dario Stjepanović
Subject: Integration ArcGIs and Maximo Spatial
Dear Lacey,
I want to thank you once again for everything.
I managed to insert over 1000 assets from GIS into Maximo and set the cron task to work properly. All attributes are transferred to me properly from GIS. However, I have one question. I have a situation with a client, when the client in ArcGis changes the value of an attribute on an asset that has already been inserted into Maximo, a new asset is created for me in Maximo, instead of just updating that attribute in Maximo on an existing asset that has already been inserted by integration . And then I end up with two of the same assets, just the difference in that updated attribute, and different assetnum of course. Is there a possibility, that my asset is only updated by changing the attribute value, instead of creating a new asset?
Best regards, Dario
------------------------------
Dario Stjepanović
Original Message:
Sent: Wed February 28, 2024 08:30 AM
From: Lacey Lurges
Subject: Integration ArcGIs and Maximo Spatial
Great work! Let me know if you have any questions.
------------------------------
Lacey Lurges
Original Message:
Sent: Wed February 28, 2024 06:14 AM
From: Dario Stjepanović
Subject: Integration ArcGIs and Maximo Spatial
Hi,
I made it, everything is working. Thank you very much for all, for your time, your advice and patience.
Best regards
------------------------------
Dario Stjepanović
Original Message:
Sent: Tue February 27, 2024 09:33 AM
From: Lacey Lurges
Subject: Integration ArcGIs and Maximo Spatial
The status of the message is Processed meaning an asset was successfully created. What do you mean that your field isn't populated? If you perform a search in the Assets application where plussisgis = 1 you should find asset records that were created. You can also see the content of the Message in Message Tracking by clicking the pencil icon to the far right on the list view. Then you can see what records specifically have been created and search that way as well.
------------------------------
Lacey Lurges
Original Message:
Sent: Tue February 27, 2024 05:20 AM
From: Dario Stjepanović
Subject: Integration ArcGIs and Maximo Spatial
Hi,
3)Yea, now I have some message in Message Tracking. Because my cron task is set on 5 minute, I have a lot of message. This is preview:
Still my field is not populated from ArcGis.
------------------------------
Dario Stjepanović
Original Message:
Sent: Mon February 26, 2024 09:17 AM
From: Lacey Lurges
Subject: Integration ArcGIs and Maximo Spatial
3) Now that you have enabled Message Tracking, can you run your cron task instance again and see what message comes into Message Tracking? There should be a status of Received, Error or Processed. Perhaps your message is sitting in Received or Error status and that is why no records are being created.
4) As long as you have token security enabled and the correct user name and password in Map Manager, then you should be fine.
------------------------------
Lacey Lurges
Original Message:
Sent: Mon February 26, 2024 06:21 AM
From: Dario Stjepanović
Subject: Integration ArcGIs and Maximo Spatial
Hi,
1) In Map Manager, if you set your Initial and Full Extent for your site, does the map load with the layers properly?
Yes, everything is working properly, and everything is set up in Organization.
2) Do you have your External System enabled and queues defined on it?
Yes, I think that everything is set up:
------------------------------
Dario Stjepanović
Original Message:
Sent: Fri February 23, 2024 10:02 AM
From: Lacey Lurges
Subject: Integration ArcGIs and Maximo Spatial
Hi,
I have a few more troubleshooting questions.
1) In Map Manager, if you set your Initial and Full Extent for your site, does the map load with the layers properly? Note: make sure you have the Service Address Options for Coordinates set to X,Y in the Organizations application before setting your Initial and Full Extent in Map Manager.


2) Do you have your External System enabled and queues defined on it?


3) Are the Enterprise Services enabled and Message Tracking enabled

4) If you past your query in a web browser, are GIS records returned?
5) Are there any messages for the ARCGISASSET Enterprise Service in Message Tracking?

6) Is your Record Identifer for your Feature Class ObjectID and not something like FID?