This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SUPPORT Q&A - Compulsory field entry

Stuart Harwood - Sunday, September 28, 2014 8:48 PM:

Hi there,

Long time reader, first time poster here!

 

We're using Aras Innovator 10 here, and I had a question about setting up forms.

 

The problem we are having, is members of the company not setting a "Team" when starting a DCO. Is there a way I can make the "Team" field in the "Express DCO" form compulsory to fill out?

 

Cheers, 

 


Stu



Stuart Harwood - Thursday, November 20, 2014 8:29 PM:

Ah ha, my account just got approved.

 

For what it's worth Brian Pye (legend!) solved this one for me.. Posted below.. Hope you don't mind Brian!

***
Log in as Administrator and go to Administration | Item Types

 

Search for *dco* and view the Express DCO item type. You don’t actually need to edit it in this case.
Go to Client Events and open the PE_SetTeam method. This is an OOTB method that normally sets the team to “Product Team” but can be modified to anything you want.

 

Look for the code: team.setProperty('name","Product Team")
 
Change “Product Team” to “Engineering (or whatever you want)”.
Save, unlock and close.
 Close the Express DCO item type and you should be done.