Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Default values for the imported class attribs

Highlighted
AJZ
Acclaimed Contributor

Default values for the imported class attribs

Hi all.

I'm trying to import a SC. Import mapping and SC template are created with some default values. The resulting SC gets it's [Description] string from the template instead of the SC [Description] attribute set up in ini-file. How to get the external class attributes to overwrite default values given by item template or import mapping?
For example: SC template defines the Description as "Set up everything a new employee needs, from desk to email.", mapping maps the ExtDescr to SC.Description, ini-file contains parameter ExtDescr="Test Service Call". Resulting SC Description is "Set up everything..."... Oh, my!
2 REPLIES
AJZ
Acclaimed Contributor

Re: Default values for the imported class attribs

OK, guys
I've found out that it's impossible to overwrite some particular attributes e.g. Description or ID.
I've solved the problem by making use of alternative attributes to pass event info to SD documents such as SC or Incident.

As far as I've solved the problem, I've closed the thread. :o)
AJZ
Acclaimed Contributor

Re: Default values for the imported class attribs

I have found a solution to this question as seen in my reply above.
//Add this to "OnDomLoad" event