The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we default a value for a mandatory field

SOLVED
Go to solution
Highlighted
ramana.vkn
Collector

Can we default a value for a mandatory field

Hi,

In PPM can we default a value for a mandatory field.
E.g, I have a hidden mandatory field with values a, b and c (this field is hidden in step1 and step2), this field will come into picture when we move to step3, can we default value 'b' when we move to step3?
13 REPLIES
sradtke
Regular Collector

Re: Can we default a value for a mandatory field

Hi,

does it mean, that the field is only visible, editable and required in step 3?

Which type of component type do you use for this field?

Do you have the possibility to set a default type and value for this field?

Regards
Sascha
ramana.vkn
Collector

Re: Can we default a value for a mandatory field

Hi Sascha,

You are right, field is only visible, editable and required in step 3.

We are using drop down list, I have enabled 'Default' for value 'b', but when I move to step3, this field is visible, but there is no default value.
sradtke
Regular Collector

Re: Can we default a value for a mandatory field

Hi Ramana,

which attributes are set for this field?
Which version of PPM you are running?

Regards
Sascha
ramana.vkn
Collector

Re: Can we default a value for a mandatory field

Hi Sascha,

I have attached the attributes screen shot.

We are on PPM 7.1 SP6
ramana.vkn
Collector

Re: Can we default a value for a mandatory field

screen shot attached
sradtke
Regular Collector

Re: Can we default a value for a mandatory field

Hi Ramana,

thank you for the screenshot.

Atributes are the same like we use.
Maybe you have a error in your validation?

Do you have this problem only with this field?
ramana.vkn
Collector

Re: Can we default a value for a mandatory field

Hi Sascha,

This is first time we are using this option.
sradtke
Regular Collector

Re: Can we default a value for a mandatory field

Hi Ramana,

attached you will find screenshots of my implementation.
We are running PPM 7.1 SP10

But i couldn't find any bug fix in release notes for SP6-SP11.

ramana.vkn
Collector

Re: Can we default a value for a mandatory field

Hi Sascha,

I am unable to download the doc, it is throwing error, could you please reupload it?
sradtke
Regular Collector

Re: Can we default a value for a mandatory field

Hi Ramana,

maybe there is a problem with the support portal.

I attached you the zip-file again.
ramana.vkn
Collector

Re: Can we default a value for a mandatory field

Still I am having problem downloading it.
sradtke
Regular Collector
Solution

Re: Can we default a value for a mandatory field

Hi Ramana,

did you get my email?

Please try the following,

1.Edit you field and open the validation
2.In the validation, open the entry, which you want to set to "Default"
3.Enable the checkbox for Default and save
4.Check your display settings and status dependencies
5.Create a new request, which use this field and check if it works
ramana.vkn
Collector

Re: Can we default a value for a mandatory field

Thanks Sacha, it worked
//Add this to "OnDomLoad" event