-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hudu-Device-AuditLogs not linking to ParentAsset #17
Comments
I am not 100% sure on how the syncro integration works. You might need to do a get-huduassets and have a look at what data is being returned then check the script to see how the matching is being done and if it is actually finding a device. |
This is what i get: Parent asset
Logged asset If I manually select the parent asset from the logged asset's Device Field this is how both look: Logged So it seems that the parent is found and matched with the correct ID initially but I guess it's a syntax issue or compatibility with the newer field types? I'm guessing, I'm new with HUDU, just recently joined the trial. |
I made some modifications to the script as follows: field_type = 'AssetTag'` And added a new variable to be able to populate the Device field: Being an amateur when it comes to scripting and using api's this is what I was able to come up with. Now you have a link for the logged asset in the "Related Items" from the Parent Asset and a link for the Parent Asset under Device section in the Details for the logged asset. << I hope that this was the intended structure. Thanks |
I've been testing the script and it works, data is being populated in a new asset layout and new asset.
But I was under the impression that it links with the parent also after importing.
Details:
Original assets are pull from Syncro Integration and put under a basic Computer Assets Layout
Then after running the script, a new layout is created an populated with the logged asset.
Viewing the newly created asset I can see that the Device field is blank, while the others are populated.
Any info about where I should look to fix it?
Thanks
The text was updated successfully, but these errors were encountered: