Asset Management Suite

 View Only
  • 1.  Create Resource URL Parameters

    Posted May 04, 2016 03:34 PM

    anyone know how to pass a parameter in the EditCreateResource.aspx URL to populate an association.

    I was able to pass to the normal fields, but I'm not able to get a resource association like location.

     

    http://localhost/Altiris/AssetContractCommon/Manager/EditCreateResource.aspx?ResourceTypeGuid=5b6b9b29-4093-4ba8-8858-e0d7f95283c9&defaultsItem=8a163ec6-5c54-42f8-93b6-40a5a638c9ed&Name=TEST&Explanation=TEST1234&



  • 2.  RE: Create Resource URL Parameters

    Posted May 06, 2016 03:53 AM

    I think with Location being a picker you can't pass it in via the Query string.

    Sometimes you can pass in the name of the control and it will fill in the field for you but this isn't a textbox.

    As an alternative you could create a CMDB Rule to assign a Location to an Asset.

    Are you able to give an example of why you want to do it with the EditCreate screen and maybe we can help with another solution.



  • 3.  RE: Create Resource URL Parameters

    Posted May 06, 2016 10:07 AM

    I mostly just want to prepopulate the Location field.

    I guess I could pass the location name to a text field in the form and use a CMDB rule to make the association after the document is saved.

    Not super clean, but it get the job done.