Hoppa till huvudinnehållet

Kommentarer

13 kommentarer

  • Ryan Cooney

    Hi Jenny,

     

    Are you using the SaaS environment, or on-premises?

     

    Please note that Workflow version 5.19 or newer is required for on-prem.

     

    --Ryan

    0
  • Jenny Oh

    Thank you for responding. On-premises and Workflow 5.19. I got Jake to register the pack but he ran into a CORS issue when a request from our server to "https://unpkg.com//..." He got around that until that CORs issue is resolved by hosting the "...activitypack.json" on our server. Can you add to the requirements about write access to Geocortex server and CORS requirement when unpacking the activities.

     

    I also need help on the Maximo system properties configuration for CORS.

    Can you verify that how we configured them are correct? Actually confirm that is the right way to enable CORS on Maximo or do we have to create a proxy instead. Here's a snapshot on System Properties.

    Do I include "https://" before www.portlandmaps ? Anything else, I need to configure? Thank you.

     

     

     

     

    0
  • Permanently deleted user

    I believe that upgrading to at least 5.20 will resolve your issue. I had contact with Ryan before about FME Activity pack and the issue was resolved in 5.20 (.1)

     

    0
  • Ken Lyon

    Yes, this was fixed in 5.20. The entry in the release notes is:

    • 44523: Unable to use CDN hosted activity packs when signed in to a portal.

     

    As @Erik Kuipers?  mentioned, there is a 5.20.1 version which was released the following day to address an issue with running Workflows in Web AppBuilder. If you intend to run your workflows in Web AppBuilder, you will need v5.20.1. Otherwise, you can use v5.20.

    0
  • Jenny Oh

    Hi,

    Good to know. We plan to run activities in Geocortex Web. I got this error for the "Create Maximo Service" after he upgrade to 5.20.1 version. Is there a missing step?

    0
  • Jenny Oh

    MXActivitiesErr

    0
  • Permanently deleted user

    Jenny,

     

    You have to change the url back to the steps described at github:

    https://github.com/geocortex/workflow-activities-maximo

    So the url of the activity pack should be : https://unpkg.com/@geocortex/workflow-activities-maximo/activitypack.json

    In the latest release the CORS issue to https://unpkg.com/@geocortex/workflow-activities-maximo/activitypack.json  has been resolved so you don't need your own webserver to host the activitypack.json.

     

     

    0
  • Jenny Oh

    It is working now. Thank you so much. I really appreciate this community.

     

    Here are answers to the two questions I posted earlier on enabling CORS in Maximo.

    First, you need admin access to Maximo to be able to configure the System Properties. I filter by the description "CORS". Then, I update the property "mxe.oslc.aclalloworigin" to "https://www.portlandmaps.com" (yes, include the https://) . Also, update mxe.oslc.aclallowmethods and mxe.oslc.aclallowheaders

    0
  • Ryan Cooney

    Nice work everyone!

    0
  • Ryan Cooney

    @Oh, Jenny? I have created a pull request to update the README of the activity pack to include your steps to enable CORS in Maximo's configuration. See https://github.com/geocortex/workflow-activities-maximo/tree/cors-docs#cross-origin-resource-sharing-cors or https://github.com/geocortex/workflow-activities-maximo/pull/7/files (if you prefer to see the changes). I don't have Maximo myself, so I can't actually confirm whether it is exactly correct. Can you let me know if it looks right?

     

    I've also bumped the required Workflow version number to 5.20. This is kind of lazy of me, but my priority is to ensure future users of the activity pack have a smooth experience with clear instructions. Documenting the caveats and gotchas makes things messier for the sake of a single version that won't be very relevant in a few months.

     

    --Ryan

    0
  • Jenny Oh

    Ryan,

    I just got to this . Here are my changes.

     

    Navigate to Maximo System Properties via System Configuration > Platform Configuration > System Properties

     

    Set mxe.oslc.aclallowheaders to maxauth,x-method-override,patchtype,content-type,accept,x-public-uri

     

    Set mxe.oslc.aclallowmethods to  GET,POST,PUT,DELETE

     

     

    0
  • Ryan Cooney

    Thanks Jenny! I will update.

     

    --Ryan

    0
  • Jenny Oh

    Can anyone share a workflow to add assets to Maximo workorder?

    0

Du måste logga in om du vill lämna en kommentar.