You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have the below sample code. I want to enable a field to few projects (3) out of "ALL PROJECTS"(100) selection from the mapping list. How do I mention the field to be available only for a few projects in the script?
@BaseScript FieldBehaviours fieldBehaviours
final String fieldName = 'TextField'
// get field by name and hide it
Hi @Aisha M
You can do this using Custom Field > Search Field > Configure , select only those project in which you want this field to appear, or via field behavior you need to map only 3 project in which you want this field to appear. No need to write script
@Vikrant Yadav Thanks you. How do I ensure the behaviour doesnt hide the field to a few number of projects alone ? Like, I have 100 projects & want the field to be visible in only a few alone. How to call that from the script.
Under Mapping, I want to specify "ALL PROJECTS" , then in the server-side script, I want to exclude the hiding of fields for a few projects alone from the list of "ALL PROJECTS".
@Vikrant Yadav Yes. But the problem is I have close to 200 for the field to be hidden & field available for maybe 6. So, we don't want to manually select 200 projects to hide the field. Hence looking for ways to select all projects at the mapping step & then mention the 6 projects alone for which the field should be available from the script.
In Mapping - "ALL PROJECTS"
In script - Keep the field hidden for ALL PROJECTS except for the 6
Hope I made sense