Jump to content

LifeOfJonny

Hornbill Users
  • Posts

    110
  • Joined

  • Last visited

  • Days Won

    2

LifeOfJonny last won the day on November 29 2022

LifeOfJonny had the most liked content!

Profile Information

  • Location
    Internet Pipe

Contact Methods

  • MSN
    I wish this was still around - RIP 2013

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LifeOfJonny's Achievements

Collaborator

Collaborator (7/14)

  • Reacting Well
  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done

Recent Badges

15

Reputation

  1. This is the function that calls the API, encase it's needed, but like I said it different assets serials that error, and some times when the script it ran, it doesn't error at all, but usually it errors once or twice a run. Function GetComputerBySerial { param ([Parameter(Mandatory=$true)]$serial) $assetDevice = $null # Build XMLMC API call # params have to be in the expected order. $filter = '[{"column_name":"h_serial_number","column_value":"'+$serial+'","operator":"Equals","isGeneralProperty":false}]' Clear-Params Add-Param "resultType" "data" Add-Param "assetClass" "computer" Add-Param "filters" $filter # Invoke XMLMC call, output returned as PSObject $xmlmcOutput = Invoke-XMLMC "apps/com.hornbill.servicemanager/Asset" "getAssetsFiltered" $jsonData = ConvertTo-Json -InputObject $xmlmcOutput # Read output status if($xmlmcOutput.status -eq "ok") { # Data return is corrects if ($null -ne $xmlmcOutput.params.data) { $assetDevice = (ConvertFrom-Json $xmlmcOutput.params.data)[0] } else { return $false } } else { # API call status not OK - return status and error to console WriteOut "API Call Status : $($xmlmcOutput.status)" WriteOut "Error Returned : $($xmlmcOutput.error)" WriteOut "Error as JSON : $($jsonData)" } return $assetDevice }
  2. Hi, I have created a PowerShell script, which gets data from our asset system and inserts/updates the Hornbill Asset system, using the Hornbill API. When it checks each asset to see if anything needs updating, one out of the 1000s will error with the below, but it's never the same asset each time it runs, it'll be random device with a different serial number. The lookup uses the devices serial number to find the asset in hornbill, then update accordingly. { "Status": "fail", "Params": "", "Error": "FlowCode Exception (com.hornbill.servicemanager/entities/Asset/fc_ops/getAssetsFiltered): Security Error: 1" } Is anyone able to elaborate what this error actually means? Jonny
  3. If the department is from the user profile could we not also pull in the division from the same place?
  4. Yes the screenshot was just showing you where I meant on the field list. So does the Department column get it from the request's table or does it get it from the customer (user's tables)?
  5. Hi Steve, This would work, but how does the Department get populated in to the field view at the moment? Is it pulled from the customer record's directly?
  6. Hi, It would be useful to also have Division as a request list field just like department, so you can see which division a customer belongs too. Hopefully it's not too much hassle to add this, feel liek since department is there already, probably isn't much leg work to add division. Added to this request list of fields you can use for columns.
  7. Still not working on both computers, cleared cache as well.
  8. Still not working, and tried another computer I've not used Hornbill on, to rule out any form of local cache.
  9. Same with some people in my instance, currently works if you've not refreshed/reloaded the page.
  10. Still the same incognito doesn't help. All our users have the problem.
  11. Any updates on this? Some examples of what I would change below but the drop-down options for things like Analyst need fixing as the names are barely readable. I thought the dark theme was still classed as experimental but can't see any mention of that now on the UI. Better row highlighted colour // servicemanager.css .use-dark-mode .sm-requests-list .requestlist-row .is-customer-updated-1 { background-color: #065599 !important } // <style> .sm-requests-list .requestlist-row .is-customer-updated-1 { background-color: #065599 !important } Fix SLA .use-dark-mode .request-stats { background: transparent !important; } .use-dark-mode .request-stats-sla { background: transparent !important; } odd white border on comment buttons .use-dark-mode .btn-as-action { border-color: grey !important; }
  12. We've had users report this today as well. Looks like Sites field is now required which it wasn't before and if you go on the Details Form Designer you can not toggle it being required or not. Is this an unwanted change?
  13. Customer our facing portal https://customer.hornbill.com/instanceID/ also doesn't work.
  14. https://status.hornbill.com/ doesn't report any issue, it probably should hehe.
×
×
  • Create New...