Maximo

 View Only
  • 1.  Work Center - Adding field to search bar

    Posted 5 days ago
    Hi all,

    My goal is to add the ASSET.ASSETTAG field to the list of values searchable on the Submit a Service Request Work Center.

    I've done quite a bit of work (essentially, anywhere i saw assetnum or description in the maximo-submitsr-asset.js file i duplicated and changed the attribute to assettag). That didn't work so I reverted back to the OOTB js file and updated the lookups.json file in the script\common and updated the "assetdetail" lookup which is being called in the maximo-submitsr-asset.html file to include the assettag attribute. That option still did not work. Any suggestions?

    Thanks,
    Matt

    ------------------------------
    Matt McGuire
    ------------------------------


  • 2.  RE: Work Center - Adding field to search bar

    Posted 2 days ago
    The lookups.json assetdetail lookup seems to be the appropriate place to change this by changing the searchAttributeNames. Did you rebuild the WAR and redeploy after the change? Wondering if maybe there's some sort of cache issue going on. I would try this in an InPrivate window after deploying the changes and see if that resolves it.

    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: Work Center - Adding field to search bar

    Posted 15 hours ago
    Thank you Steven! Clearing my browser cache worked. It's always so simple...

    ------------------------------
    Matt McGuire
    ------------------------------