Asset Management Suite

 View Only

Editing Assets with the NS Resource Model and Workflow 

Sep 23, 2011 10:58 AM

This 13-minute video shows two examples of editing Altiris assets using Workflow in conjunction with the NS Resource Model.  Specifically, the first example dynamically updates the serial number of a computer, while the second example adds a new cost item to an asset in the CMDB.  The sample project that was designed for the video is available for download (below) as well.

Keywords:  IIS, ASDK, NSWebService, Create SMP Credentials, webservice generator, ResourceModelService, GetResource, GetResourceWithAllData, SaveResource, Get Model Names In Project, Update Serial Number, resourceGUID, Configurable Collection Filter, Data Class Settings, Cost Items, userEditable, Get Item by Index, Index Of Item In Collection, grid, Form Builder, Get Item by Name and Type, Accounting Code, Initialize Data, GUID, Add Items to Collection, debugger, Terminate Window and Close, depreciable, Dynamic Linked Model

Download for viewing: Right click the link below and choose "save link as"

Statistics
0 Favorited
0 Views
2 Files
0 Shares
0 Downloads
Attachment(s)
zip file
Examples_Using_NS_Resource_Model.zip   1.74 MB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Jul 01, 2014 04:52 PM

Has anyone had success with this workflow?  I tried it and it fails with an authentication problem.

I also tried creating a new project and reuse the web service dll referenced by the project without success.

I then tried numerous combinations of creating a new integration Web Service project for NSResourceWeb service without success.  All combinations typically fail with a 401 error saying anonymous is not authorized.

What are the steps for creating a Web Service Integration Library for the ResourceModel?

http://localhost/Altiris/nswebservice/resourcemodel.asmx?WSDL

Jan 26, 2014 09:16 AM

First off, thank you for your video--Editing Assets with the NS Resource Model and Workflow--it's exactly what I was looking for. I am working through the workflow and have populated all necessary fields to match my environment.

I plugged a random computer GUID into the component "Get Computer ResourceWithAllData", yet it errors out with the following message: Conversion failed when converting from a character string to uniqueidentifier

I have even tried to add the "String to Guid" component just prior. It hasn't produced any favorable results. Any thoughts to fix this? I really appreciate your time.

Related Entries and Links

No Related Resource entered.