Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How Do I Create a Computed Field In a List Definition?

  Asked By: Eliezer    Date: Jun 22    Category: Sharepoint    Views: 1726

I have a custom list definition to track Work Priorities. One of the required fields is 'Status' which is a dropdown choice of Red, Green, Amber, or Black. I created a computed field 'Ranking' that is based on 'Status' Here is the code:

=IF(Status="Red",1,IF(Status="Black",2,IF(Status="Amber",3,IF(Status="Green",4))))

I use this to Sort in a view. This list is in development right now but once the final version has been approbved, I will create a custom list definition to apply to all our team sites.

My question is how do I create this computed field in a custom definition?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How Do I Create a Computed Field In a List Definition? Or get search suggestion and latest updates.




Tagged: