Jan 03 2020 09:23 PM - edited Jan 03 2020 09:45 PM
I have a Sharepoint List name "Delivery Orders"
But I have add 3 content type to this List.
3 Content Type have the Item Content Type is the Parent Content type so that have Title Column.
I have set the Title Column in 3 Content type to Optional in both the Site Content type and List Content type.
3 Site Content Type -> Title-> "Optional":
3 List Content Type -> DO Number -> "Optional":
But when I finished the Form, it require me to fill the DO Number (that Title Column renamed)
How can I fix that?
I can use PnP PowerShell, if you have script that change the Require Column -> non Require Column, please share to me.
Note that: This List have use 3 Content Type.
Jan 03 2020 10:51 PM
Jan 04 2020 01:14 AM
@Chris Webb. I click on the Column Field but no setting to make it not required.
Can you give me another advise?
Jan 04 2020 07:35 AM
Jan 04 2020 08:09 AM
@Chris Webb No, I can't have blank value, It required. Please see the image above
Jan 04 2020 08:28 AM
Jan 04 2020 08:29 AM
Jan 04 2020 07:37 PM
It matters to me. I want to set the ID of Order Number automatically from Power Apps, so it must be blank from start and fill up later.
I uncheck the "Enforce unique values: ", but nothing change!
It's a bug, maybe, some list I have the same scenarios but it still works, but this list doesn't work.
Jan 04 2020 07:48 PM
Jan 05 2020 04:35 AM
@Chris Webb I use Custom List template, I am sure about that.
Jan 06 2020 10:26 AM
Once you enable content types, the required option moves from the list field to the content type. You'll have to open the content type and edit the required/optional/hidden choice for that field in each content type separately.
To complicate matters here, is the fact that you're DO number looks to be the default Title field. The Title field is an important field and you need to be careful with it as it is the main identifying field and it does behave a little bit differently from other fields. Keep in mind that this is the field people will click to open the item form, so leaving it blank is not a good best practice.
It's fine to rename the Title field. I do it all the time. But the Title field is always required. If you need the DO number to be optional, I would either pick another field to use as the Title field or add a default value like "Enter DO number". That way there is always a value (which fulfills the requirement) and it's a static value so easy to filter or program around.