This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Feb 19, 2016, 12:31 PM
6 Posts

Desktop Settings when saving Error "Object variable not set"

  • Category: Administration
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator
  • Tags: Desktop,Setting,Error
  • Replies: 4

When I save any Desktop Setting then I get the Error "Object variable not set"

The error occurs in the routine Policy Management / Remove Fields.

Set itemToRem = hPolicy.GetFirstitem("RemParameters")

itemtoRem.saveToDisk = False

 

 

I think the settings are working.

has anyone any idea?

 

 

Feb 19, 2016, 5:09 PM
100 Posts
What is the debugger telling you?

When you turn on the debugger, where does the code crash and can you see which variable is not set properly?

Feb 19, 2016, 5:09 PM
100 Posts
What is the debugger telling you?

When you turn on the debugger, where does the code crash and can you see which variable is not set properly?

Feb 19, 2016, 8:09 PM
82 Posts
things to look at
Set itemToRem = hPolicy.GetFirstitem("RemParameters")  hPolicy is not set

itemtoRem.saveToDisk = False  more likely itemtoRem is nothing because RemParameters does not exist on hPolicy doc

Feb 21, 2016, 7:51 PM
326 Posts
Question

Are you having the issue with editing just old desktop polices?    Is there a issue when you create a new desktop policy?     Since the issue is with the policy document did you try refreshing the design of the document to the latest nab design?  You might be be able to trick it out and run a simple agent against the doc that adds a field RemParameters = "xxxx"   (field RemParameters := "xxx") so it would exist when the save code  runs,  The agent should be run from the view level on the doc in question


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal