Jump to content

Giuseppe Iannacone

Hornbill Users
  • Content Count

    222
  • Joined

  • Last visited

  • Days Won

    2

Giuseppe Iannacone last won the day on December 5 2018

Giuseppe Iannacone had the most liked content!

Community Reputation

15 Good

About Giuseppe Iannacone

  • Rank
    Senior Member

Recent Profile Visitors

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

  1. Giuseppe Iannacone

    Report asset for specific Owner

    @James Ainsworth thank you, I was able to find the solution also on my own (I like Hornbill!!! ), but it seems like that result are coming only if i type the exact name... by the way that's ok... Anyway I was asking this because I would like to give to our user a form with a list of assets they have the ownership and responsible for returning back if leaving the company. You know a form the employee can easily put a signature on... Do you have any suggestion?
  2. Giuseppe Iannacone

    Report asset for specific Owner

    Is there a way to get a pdf report for a prompt specific owner?
  3. Giuseppe Iannacone

    Asset import not working as expected

    @Steve G yes please avoid creation of a new asset if the api call fails As far as i know there are no connectivity issues and looking at the log after 1 second the tool is able to go ahead, or am I wrong?
  4. Giuseppe Iannacone

    Asset import not working as expected

    @Victor and @Steve G I've found an error message into the log file for a specific duplicate: 2019/02/14 10:34:53 [ERROR] API Call failed when searching instance for existing Asset:Post https://mdh-p01-api.hornbill.com/datalogic/xmlmc//data/?method=entityBrowseRecords2: dial tcp 78.129.173.117:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 2019/02/14 10:34:53 [DEBUG] API Call XML: <params><application>com.hornbill.servicemanager</application><entity>AssetsComputer</entity><searchFilter><column>h_serial_number</column><value>1DDN8H2</value><matchType>exact</matchType></searchFilter><maxResults>1</maxResults></params> 2019/02/14 10:34:53 [DEBUG] Create Asset: 1DDN8H2 2019/02/14 10:34:53 Unable to Search for Group: The element <entity> was not expected at location '/methodCall/params/entity' 2019/02/14 10:34:53 [DEBUG] API XML: <params><application>com.hornbill.servicemanager</application><entity>AssetsComputer</entity><searchFilter><column>h_serial_number</column><value>1DDN8H2</value><matchType>exact</matchType></searchFilter><maxResults>1</maxResults><application>com.hornbill.core</application><queryName>GetGroupByName</queryName><queryParams><h_name>&lt;nil&gt;</h_name><h_type>5</h_type></queryParams></params>
  5. Giuseppe Iannacone

    Asset import not working as expected

    @Victor and @Steve G I confirm that the duplicate are new one once removed, and at least since 3 days ago till now.
  6. Giuseppe Iannacone

    Asset import not working as expected

    @Victor and @Steve G it seems like the duplicate are randomly created. Please consider that: 1. the sync tool is running each hour 2. the duplicate item seems to be from time to time a different one (it seems to me a random failure on the validation criteria) i will provide more detail once i will compare the duplicate item, and i will send in private the log file to @Steve G
  7. Giuseppe Iannacone

    Asset import not working as expected

    can anyone support us? even with the suggestion provided by @Steve G we have duplicates entry (with the validation criteria set on h_serial_number)
  8. Giuseppe Iannacone

    Virtual Showroom for Hardware Purchase

    +1 we too
  9. Giuseppe Iannacone

    Asset import not working as expected

    @Steve G and @James Ainsworth it seems like that even with the serial number validation we have duplicate entries, do you know why this is happening? we are using this sintax and the client "goDBAssetImport_v1_7_2"
  10. Giuseppe Iannacone

    Customize Select Site form presented in progressive capture

    @James Ainsworth it's good to know there is a new setting available, but this will not help us. The title and the info Message Instead will for sure provide an help. When do you think it can be applied to the site in PC???
  11. Giuseppe Iannacone

    Custom Button in Asset Management

    @James Ainsworth Thank you for your reply, having the serial number available would be useful for us for sure. @Gerry & @James Ainsworth now that you explained to me the reason why it sounds absolutely reasonable. Thank you.
  12. Giuseppe Iannacone

    Custom Button in Asset Management

    is there a way to have into the Asset Management a custom button with the serial number variable available? (and generally speaking why we can have all the field as variables)
  13. Giuseppe Iannacone

    Asset Management: Update Warranty expires date

    we were able to fix the issue, thanks anyway
  14. I was trying to update the expires date with the powershell module for hornbill, I've modified a script suggested in a post by @samwoo for disposal, but unfortunately it doesn't work. Can someone help me in understanding why? Script example # Import Hornbill XMLMC Powershell Module Import-Module D:\Asset_Hornbill\powershell\xmlmcModule.psm1 # Import from CSV file, the Asset Name column should be called - "Name" - or it can be changed in the script below $pathToCSV = "[Path for csv file].csv" $warrantyAssets = Import-Csv -path $pathToCSV foreach($asset in $warrantyAssets) { # Get the Asset Name from the name column in the CSV $assetName = "$asset.name" $date = (get-date("2015-07-15 00:00:00")).toString("yyyy-MM-dd hh:mm:ss") write-host $assetName write-host $date # Define instance connection details & API key for session authentication $hbInstance ="instancename" $hbZone = "eur" $hbAPIKey = "APIkey" Set-Instance -Instance $hbInstance -Key $hbAPIKey -Zone $hbZone # Build the API call to return the machines where the asset number matches in Hornbill Add-Param "application" "com.hornbill.servicemanager" Add-Param "entity" "Asset" Open-Element "searchFilter" Add-Param "column" "h_name" Add-Param "value" $assetName Close-Element "searchFilter" # Invoke XMLMC call, output returned as PSObject $hornbillAssetOutput = Invoke-XMLMC "data" "entityBrowseRecords2" # Convert the results of the API results into a workable format $hornbillAsset = $hornbillAssetOutput.Params.rowData.row # Update the Assets accordingly to warranty Add-Param "application" "com.hornbill.servicemanager" Add-Param "entity" "Asset" Open-Element "primaryEntityData" Open-Element "record" # Update the Asset matching the Name Add-Param "h_name" $assetName # Set the Warranty expiration date Add-Param "h_warranty_expires" $date Close-Element "record" Close-Element "primaryEntityData" # Invoke XMLMC call, output returned as PSObject $xmlmcAssetUpdate = Invoke-XMLMC "data" "entityUpdateRecord" } # Important! Remove XMLMC module from memory for security once XMLMC calls complete Remove-Module xmlmcModule
  15. Giuseppe Iannacone

    Asset Management: Upload CSV issue

    @James Ainsworth ok I tought it was available for a Full user to see all the coworkers assets, I will give it a try and see if it works fine or not.
×