Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to enable custom fields to selective projects using Behaviours ?

Aisha M
Contributor
October 15, 2020

I'm looking at the possibility of enabling custom fields to selective fields using Behaviours ? 

I know we can map the projects (to be hidden) to the Behaviour & enable the hide field option. But, it is not a possibility, since I want to hide the field from 300 projects & enable the field for 5 or 6 projects.

Also, I know the custom fields could be limited to certain projects from the field configuration, but I don't want to use that option.

So, is there a way to achieve this using a server side script or something ?

Thank you 

2 answers

0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2020

Hi @Aisha M 

As @Marco Brundel mentioned you should be using field configuration for that.

Ravi

Aisha M
Contributor
October 15, 2020

Hello @Ravi Sagar _Sparxsys_ Thank you for the comment. We are looking at the option of using behaviour instead due to certain internal regulations. Is it more complicated to implement ? 

Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2020

@Aisha M In the behaviour mapping set choose projects to All projects and then use write script to hide the field for all projects except 5 or 6.  Take a look at this script and modify it as per your needs by also checking for project.

Like Marco Brundel likes this
Aisha M
Contributor
October 16, 2020

@Ravi Sagar _Sparxsys_  Thank you . .  Will look into it. :)

 

0 votes
Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2020

Hi @Aisha M ,

What is the reason that you don't want to use the configuration to limited the custom field to certain projects?

greetings, Marco

Aisha M
Contributor
October 15, 2020

@Marco Brundel Hello. Thank you for the comment. It just a preference we have from our team end. Due to certain internal regulations, we want to use behaviors. 

Suggest an answer

Log in or Sign up to answer