You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I upload an image when creating an asset/model? Whenever I set the "Image" to the path of the file, the logs keeps saying that Image is set to null.
Asset currentComputer = new SnipeSharp.Endpoints.Models.Asset { Company = null, AssetTag = systemName, Model = null, StatusLabel = statusLabel, RtdLocation = null, Name = systemName, Serial = serialNumber, WarrantyMonths = warrantyMonths, CustomFields = customFields, Image = PATHTOFILE, UserCanCheckout = true };
The text was updated successfully, but these errors were encountered:
Hey!
How do I upload an image when creating an asset/model? Whenever I set the "Image" to the path of the file, the logs keeps saying that Image is set to null.
Asset currentComputer = new SnipeSharp.Endpoints.Models.Asset { Company = null, AssetTag = systemName, Model = null, StatusLabel = statusLabel, RtdLocation = null, Name = systemName, Serial = serialNumber, WarrantyMonths = warrantyMonths, CustomFields = customFields, Image = PATHTOFILE, UserCanCheckout = true };
The text was updated successfully, but these errors were encountered: